@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceBlockDeviceMapping extends Object implements Serializable, Cloneable, StructuredPojo
The description of a block device mapping.
| Constructor and Description |
|---|
InstanceBlockDeviceMapping() |
| Modifier and Type | Method and Description |
|---|---|
InstanceBlockDeviceMapping |
clone() |
boolean |
equals(Object obj) |
String |
getDeviceName()
The block device name.
|
EbsInstanceBlockDevice |
getEbs()
The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS) volumes when the instance is
launched.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDeviceName(String deviceName)
The block device name.
|
void |
setEbs(EbsInstanceBlockDevice ebs)
The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS) volumes when the instance is
launched.
|
String |
toString()
Returns a string representation of this object.
|
InstanceBlockDeviceMapping |
withDeviceName(String deviceName)
The block device name.
|
InstanceBlockDeviceMapping |
withEbs(EbsInstanceBlockDevice ebs)
The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS) volumes when the instance is
launched.
|
public void setDeviceName(String deviceName)
The block device name.
deviceName - The block device name.public String getDeviceName()
The block device name.
public InstanceBlockDeviceMapping withDeviceName(String deviceName)
The block device name.
deviceName - The block device name.public void setEbs(EbsInstanceBlockDevice ebs)
The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS) volumes when the instance is launched.
ebs - The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS) volumes when the
instance is launched.public EbsInstanceBlockDevice getEbs()
The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS) volumes when the instance is launched.
public InstanceBlockDeviceMapping withEbs(EbsInstanceBlockDevice ebs)
The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS) volumes when the instance is launched.
ebs - The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS) volumes when the
instance is launched.public String toString()
toString in class ObjectObject.toString()public InstanceBlockDeviceMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.