public class BlockDeviceMapping extends Object implements Serializable
The BlockDeviceMapping
data type.
Constructor and Description |
---|
BlockDeviceMapping() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDeviceName()
The name of the device within Amazon EC2.
|
Ebs |
getEbs()
The Elastic Block Storage volume information.
|
String |
getVirtualName()
The virtual name associated with the device.
|
int |
hashCode() |
void |
setDeviceName(String deviceName)
The name of the device within Amazon EC2.
|
void |
setEbs(Ebs ebs)
The Elastic Block Storage volume information.
|
void |
setVirtualName(String virtualName)
The virtual name associated with the device.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BlockDeviceMapping |
withDeviceName(String deviceName)
The name of the device within Amazon EC2.
|
BlockDeviceMapping |
withEbs(Ebs ebs)
The Elastic Block Storage volume information.
|
BlockDeviceMapping |
withVirtualName(String virtualName)
The virtual name associated with the device.
|
public String getVirtualName()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setVirtualName(String virtualName)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
virtualName
- The virtual name associated with the device.public BlockDeviceMapping withVirtualName(String virtualName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
virtualName
- The virtual name associated with the device.public String getDeviceName()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setDeviceName(String deviceName)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
deviceName
- The name of the device within Amazon EC2.public BlockDeviceMapping withDeviceName(String deviceName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
deviceName
- The name of the device within Amazon EC2.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 String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.