Package com.amazonaws.services.ec2.model
Class CopySnapshotResult
java.lang.Object
com.amazonaws.services.ec2.model.CopySnapshotResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of CopySnapshot.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID of the new snapshot.int
hashCode()
void
setSnapshotId
(String snapshotId) The ID of the new snapshot.toString()
Returns a string representation of this object; useful for testing and debugging.withSnapshotId
(String snapshotId) The ID of the new snapshot.
-
Constructor Details
-
CopySnapshotResult
public CopySnapshotResult()
-
-
Method Details
-
setSnapshotId
The ID of the new snapshot.
- Parameters:
snapshotId
- The ID of the new snapshot.
-
getSnapshotId
The ID of the new snapshot.
- Returns:
- The ID of the new snapshot.
-
withSnapshotId
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-