Class InstanceBlockDeviceMappingSpecification
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a block device mapping entry.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The device name exposed to the instance (for example,/dev/sdh
orxvdh
).getEbs()
Parameters used to automatically set up EBS volumes when the instance is launched.suppress the specified device included in the block device mapping.The virtual device name.int
hashCode()
void
setDeviceName
(String deviceName) The device name exposed to the instance (for example,/dev/sdh
orxvdh
).void
Parameters used to automatically set up EBS volumes when the instance is launched.void
setNoDevice
(String noDevice) suppress the specified device included in the block device mapping.void
setVirtualName
(String virtualName) The virtual device name.toString()
Returns a string representation of this object; useful for testing and debugging.withDeviceName
(String deviceName) The device name exposed to the instance (for example,/dev/sdh
orxvdh
).Parameters used to automatically set up EBS volumes when the instance is launched.withNoDevice
(String noDevice) suppress the specified device included in the block device mapping.withVirtualName
(String virtualName) The virtual device name.
-
Constructor Details
-
InstanceBlockDeviceMappingSpecification
public InstanceBlockDeviceMappingSpecification()
-
-
Method Details
-
setDeviceName
The device name exposed to the instance (for example,
/dev/sdh
orxvdh
).- Parameters:
deviceName
- The device name exposed to the instance (for example,/dev/sdh
orxvdh
).
-
getDeviceName
The device name exposed to the instance (for example,
/dev/sdh
orxvdh
).- Returns:
- The device name exposed to the instance (for example,
/dev/sdh
orxvdh
).
-
withDeviceName
The device name exposed to the instance (for example,
/dev/sdh
orxvdh
).- Parameters:
deviceName
- The device name exposed to the instance (for example,/dev/sdh
orxvdh
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEbs
Parameters used to automatically set up EBS volumes when the instance is launched.
- Parameters:
ebs
- Parameters used to automatically set up EBS volumes when the instance is launched.
-
getEbs
Parameters used to automatically set up EBS volumes when the instance is launched.
- Returns:
- Parameters used to automatically set up EBS volumes when the instance is launched.
-
withEbs
Parameters used to automatically set up EBS volumes when the instance is launched.
- Parameters:
ebs
- Parameters used to automatically set up EBS volumes when the instance is launched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVirtualName
The virtual device name.
- Parameters:
virtualName
- The virtual device name.
-
getVirtualName
The virtual device name.
- Returns:
- The virtual device name.
-
withVirtualName
The virtual device name.
- Parameters:
virtualName
- The virtual device name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNoDevice
suppress the specified device included in the block device mapping.
- Parameters:
noDevice
- suppress the specified device included in the block device mapping.
-
getNoDevice
suppress the specified device included in the block device mapping.
- Returns:
- suppress the specified device included in the block device mapping.
-
withNoDevice
suppress the specified device included in the block device mapping.
- Parameters:
noDevice
- suppress the specified device included in the block device mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-