@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DiskSnapshotInfo extends Object implements Serializable, Cloneable, StructuredPojo
Describes a disk snapshot.
Constructor and Description |
---|
DiskSnapshotInfo() |
Modifier and Type | Method and Description |
---|---|
DiskSnapshotInfo |
clone() |
boolean |
equals(Object obj) |
Integer |
getSizeInGb()
The size of the disk in GB (
32 ). |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSizeInGb(Integer sizeInGb)
The size of the disk in GB (
32 ). |
String |
toString()
Returns a string representation of this object.
|
DiskSnapshotInfo |
withSizeInGb(Integer sizeInGb)
The size of the disk in GB (
32 ). |
public void setSizeInGb(Integer sizeInGb)
The size of the disk in GB (32
).
sizeInGb
- The size of the disk in GB (32
).public Integer getSizeInGb()
The size of the disk in GB (32
).
32
).public DiskSnapshotInfo withSizeInGb(Integer sizeInGb)
The size of the disk in GB (32
).
sizeInGb
- The size of the disk in GB (32
).public String toString()
toString
in class Object
Object.toString()
public DiskSnapshotInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.