Package com.amazonaws.services.ec2.model
Class CopySnapshotResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.CopySnapshotResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CopySnapshotResult extends Object implements Serializable, Cloneable
Contains the output of CopySnapshot.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CopySnapshotResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CopySnapshotResultclone()booleanequals(Object obj)StringgetSnapshotId()The ID of the new snapshot.inthashCode()voidsetSnapshotId(String snapshotId)The ID of the new snapshot.StringtoString()Returns a string representation of this object; useful for testing and debugging.CopySnapshotResultwithSnapshotId(String snapshotId)The ID of the new snapshot.
-
-
-
Method Detail
-
setSnapshotId
public void setSnapshotId(String snapshotId)
The ID of the new snapshot.
- Parameters:
snapshotId- The ID of the new snapshot.
-
getSnapshotId
public String getSnapshotId()
The ID of the new snapshot.
- Returns:
- The ID of the new snapshot.
-
withSnapshotId
public CopySnapshotResult withSnapshotId(String snapshotId)
The ID of the new snapshot.
- Parameters:
snapshotId- The ID of the new snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CopySnapshotResult clone()
-
-