|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.autoscaling.model.BlockDeviceMapping
public class BlockDeviceMapping
The BlockDeviceMapping
data type.
Constructor Summary | |
---|---|
BlockDeviceMapping()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDeviceName()
The name of the device within Amazon EC2 (for example, /dev/sdh or xvdh). |
Ebs |
getEbs()
The Elastic Block Storage volume information. |
java.lang.Boolean |
getNoDevice()
Suppresses the device mapping. |
java.lang.String |
getVirtualName()
The virtual name associated with the device. |
int |
hashCode()
|
java.lang.Boolean |
isNoDevice()
Suppresses the device mapping. |
void |
setDeviceName(java.lang.String deviceName)
The name of the device within Amazon EC2 (for example, /dev/sdh or xvdh). |
void |
setEbs(Ebs ebs)
The Elastic Block Storage volume information. |
void |
setNoDevice(java.lang.Boolean noDevice)
Suppresses the device mapping. |
void |
setVirtualName(java.lang.String virtualName)
The virtual name associated with the device. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
BlockDeviceMapping |
withDeviceName(java.lang.String deviceName)
The name of the device within Amazon EC2 (for example, /dev/sdh or xvdh). |
BlockDeviceMapping |
withEbs(Ebs ebs)
The Elastic Block Storage volume information. |
BlockDeviceMapping |
withNoDevice(java.lang.Boolean noDevice)
Suppresses the device mapping. |
BlockDeviceMapping |
withVirtualName(java.lang.String virtualName)
The virtual name associated with the device. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BlockDeviceMapping()
Method Detail |
---|
public java.lang.String getVirtualName()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setVirtualName(java.lang.String virtualName)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
virtualName
- The virtual name associated with the device.public BlockDeviceMapping withVirtualName(java.lang.String virtualName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
virtualName
- The virtual name associated with the device.
public java.lang.String getDeviceName()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setDeviceName(java.lang.String deviceName)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
deviceName
- The name of the device within Amazon EC2 (for example, /dev/sdh or
xvdh).public BlockDeviceMapping withDeviceName(java.lang.String deviceName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
deviceName
- The name of the device within Amazon EC2 (for example, /dev/sdh or
xvdh).
public Ebs getEbs()
public void setEbs(Ebs ebs)
ebs
- The Elastic Block Storage volume information.public BlockDeviceMapping withEbs(Ebs ebs)
Returns a reference to this object so that method calls can be chained together.
ebs
- The Elastic Block Storage volume information.
public java.lang.Boolean isNoDevice()
NoDevice
is set
to true
for the root device, the instance might fail the
EC2 health check. Auto Scaling launches a replacement instance if the
instance fails the health check.
NoDevice
is set
to true
for the root device, the instance might fail the
EC2 health check. Auto Scaling launches a replacement instance if the
instance fails the health check.public void setNoDevice(java.lang.Boolean noDevice)
NoDevice
is set
to true
for the root device, the instance might fail the
EC2 health check. Auto Scaling launches a replacement instance if the
instance fails the health check.
noDevice
- Suppresses the device mapping. NoDevice
is set
to true
for the root device, the instance might fail the
EC2 health check. Auto Scaling launches a replacement instance if the
instance fails the health check.public BlockDeviceMapping withNoDevice(java.lang.Boolean noDevice)
NoDevice
is set
to true
for the root device, the instance might fail the
EC2 health check. Auto Scaling launches a replacement instance if the
instance fails the health check.Returns a reference to this object so that method calls can be chained together.
noDevice
- Suppresses the device mapping. NoDevice
is set
to true
for the root device, the instance might fail the
EC2 health check. Auto Scaling launches a replacement instance if the
instance fails the health check.public java.lang.Boolean getNoDevice()
NoDevice
is set
to true
for the root device, the instance might fail the
EC2 health check. Auto Scaling launches a replacement instance if the
instance fails the health check.
NoDevice
is set
to true
for the root device, the instance might fail the
EC2 health check. Auto Scaling launches a replacement instance if the
instance fails the health check.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |