com.amazonaws.services.ec2.model
Class CreateSnapshotResult
java.lang.Object
com.amazonaws.services.ec2.model.CreateSnapshotResult
- All Implemented Interfaces:
- Serializable
public class CreateSnapshotResult
- extends Object
- implements Serializable
- See Also:
- Serialized Form
CreateSnapshotResult
public CreateSnapshotResult()
getSnapshot
public Snapshot getSnapshot()
- Returns:
setSnapshot
public void setSnapshot(Snapshot snapshot)
- Parameters:
snapshot
-
withSnapshot
public CreateSnapshotResult withSnapshot(Snapshot snapshot)
Returns a reference to this object so that method calls can be chained together.
- Parameters:
snapshot
-
- Returns:
- A reference to this updated 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 class Object
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2016. All rights reserved.