@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EbsVolume extends Object implements Serializable, Cloneable, StructuredPojo
EBS block device that's attached to an EC2 instance.
Constructor and Description |
---|
EbsVolume() |
Modifier and Type | Method and Description |
---|---|
EbsVolume |
clone() |
boolean |
equals(Object obj) |
String |
getDevice()
The device name that is exposed to the instance, such as /dev/sdh.
|
String |
getVolumeId()
The volume identifier of the EBS volume.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDevice(String device)
The device name that is exposed to the instance, such as /dev/sdh.
|
void |
setVolumeId(String volumeId)
The volume identifier of the EBS volume.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
EbsVolume |
withDevice(String device)
The device name that is exposed to the instance, such as /dev/sdh.
|
EbsVolume |
withVolumeId(String volumeId)
The volume identifier of the EBS volume.
|
public void setDevice(String device)
The device name that is exposed to the instance, such as /dev/sdh.
device
- The device name that is exposed to the instance, such as /dev/sdh.public String getDevice()
The device name that is exposed to the instance, such as /dev/sdh.
public EbsVolume withDevice(String device)
The device name that is exposed to the instance, such as /dev/sdh.
device
- The device name that is exposed to the instance, such as /dev/sdh.public void setVolumeId(String volumeId)
The volume identifier of the EBS volume.
volumeId
- The volume identifier of the EBS volume.public String getVolumeId()
The volume identifier of the EBS volume.
public EbsVolume withVolumeId(String volumeId)
The volume identifier of the EBS volume.
volumeId
- The volume identifier of the EBS volume.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.