@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachedDisk extends Object implements Serializable, Cloneable, StructuredPojo
Describes a block storage disk that is attached to an instance, and is included in an automatic snapshot.
| Constructor and Description |
|---|
AttachedDisk() |
| Modifier and Type | Method and Description |
|---|---|
AttachedDisk |
clone() |
boolean |
equals(Object obj) |
String |
getPath()
The path of the disk (
/dev/xvdf). |
Integer |
getSizeInGb()
The size of the disk in GB.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPath(String path)
The path of the disk (
/dev/xvdf). |
void |
setSizeInGb(Integer sizeInGb)
The size of the disk in GB.
|
String |
toString()
Returns a string representation of this object.
|
AttachedDisk |
withPath(String path)
The path of the disk (
/dev/xvdf). |
AttachedDisk |
withSizeInGb(Integer sizeInGb)
The size of the disk in GB.
|
public void setPath(String path)
The path of the disk (/dev/xvdf).
path - The path of the disk (/dev/xvdf).public String getPath()
The path of the disk (/dev/xvdf).
/dev/xvdf).public AttachedDisk withPath(String path)
The path of the disk (/dev/xvdf).
path - The path of the disk (/dev/xvdf).public void setSizeInGb(Integer sizeInGb)
The size of the disk in GB.
sizeInGb - The size of the disk in GB.public Integer getSizeInGb()
The size of the disk in GB.
public AttachedDisk withSizeInGb(Integer sizeInGb)
The size of the disk in GB.
sizeInGb - The size of the disk in GB.public String toString()
toString in class ObjectObject.toString()public AttachedDisk clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.