@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceBlockDeviceMapping extends Object implements Serializable, Cloneable, StructuredPojo
Defines block device mappings for the instance used to configure your image.
Constructor and Description |
---|
InstanceBlockDeviceMapping() |
Modifier and Type | Method and Description |
---|---|
InstanceBlockDeviceMapping |
clone() |
boolean |
equals(Object obj) |
String |
getDeviceName()
The device to which these mappings apply.
|
EbsInstanceBlockDeviceSpecification |
getEbs()
Use to manage EBS specific configuration for this mapping.
|
String |
getNoDevice()
Use to remove a mapping from the parent image.
|
String |
getVirtualName()
Use to manage instance ephemeral devices.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeviceName(String deviceName)
The device to which these mappings apply.
|
void |
setEbs(EbsInstanceBlockDeviceSpecification ebs)
Use to manage EBS specific configuration for this mapping.
|
void |
setNoDevice(String noDevice)
Use to remove a mapping from the parent image.
|
void |
setVirtualName(String virtualName)
Use to manage instance ephemeral devices.
|
String |
toString()
Returns a string representation of this object.
|
InstanceBlockDeviceMapping |
withDeviceName(String deviceName)
The device to which these mappings apply.
|
InstanceBlockDeviceMapping |
withEbs(EbsInstanceBlockDeviceSpecification ebs)
Use to manage EBS specific configuration for this mapping.
|
InstanceBlockDeviceMapping |
withNoDevice(String noDevice)
Use to remove a mapping from the parent image.
|
InstanceBlockDeviceMapping |
withVirtualName(String virtualName)
Use to manage instance ephemeral devices.
|
public void setDeviceName(String deviceName)
The device to which these mappings apply.
deviceName
- The device to which these mappings apply.public String getDeviceName()
The device to which these mappings apply.
public InstanceBlockDeviceMapping withDeviceName(String deviceName)
The device to which these mappings apply.
deviceName
- The device to which these mappings apply.public void setEbs(EbsInstanceBlockDeviceSpecification ebs)
Use to manage EBS specific configuration for this mapping.
ebs
- Use to manage EBS specific configuration for this mapping.public EbsInstanceBlockDeviceSpecification getEbs()
Use to manage EBS specific configuration for this mapping.
public InstanceBlockDeviceMapping withEbs(EbsInstanceBlockDeviceSpecification ebs)
Use to manage EBS specific configuration for this mapping.
ebs
- Use to manage EBS specific configuration for this mapping.public void setVirtualName(String virtualName)
Use to manage instance ephemeral devices.
virtualName
- Use to manage instance ephemeral devices.public String getVirtualName()
Use to manage instance ephemeral devices.
public InstanceBlockDeviceMapping withVirtualName(String virtualName)
Use to manage instance ephemeral devices.
virtualName
- Use to manage instance ephemeral devices.public void setNoDevice(String noDevice)
Use to remove a mapping from the parent image.
noDevice
- Use to remove a mapping from the parent image.public String getNoDevice()
Use to remove a mapping from the parent image.
public InstanceBlockDeviceMapping withNoDevice(String noDevice)
Use to remove a mapping from the parent image.
noDevice
- Use to remove a mapping from the parent image.public String toString()
toString
in class Object
Object.toString()
public InstanceBlockDeviceMapping clone()
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.