Package com.amazonaws.services.ec2.model
Class CreateSnapshotResult
java.lang.Object
com.amazonaws.services.ec2.model.CreateSnapshotResult
- All Implemented Interfaces:
Serializable
,Cloneable
A simple result wrapper around the Snapshot object that was sent over the
wire.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Describes a snapshot.int
hashCode()
void
setSnapshot
(Snapshot snapshot) Describes a snapshot.toString()
Returns a string representation of this object; useful for testing and debugging.withSnapshot
(Snapshot snapshot) Describes a snapshot.
-
Constructor Details
-
CreateSnapshotResult
public CreateSnapshotResult()
-
-
Method Details
-
setSnapshot
Describes a snapshot.
- Parameters:
snapshot
- Describes a snapshot.
-
getSnapshot
Describes a snapshot.
- Returns:
- Describes a snapshot.
-
withSnapshot
Describes a snapshot.
- Parameters:
snapshot
- Describes a 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
-