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 CopySnapshotResult
clone()
boolean
equals(Object obj)
String
getSnapshotId()
The ID of the new snapshot.int
hashCode()
void
setSnapshotId(String snapshotId)
The ID of the new snapshot.String
toString()
Returns a string representation of this object; useful for testing and debugging.CopySnapshotResult
withSnapshotId(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CopySnapshotResult clone()
-
-