Class InstanceBlockDeviceMappingSpecification
- All Implemented Interfaces:
Serializable,Cloneable
Describes a block device mapping entry.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe device name exposed to the instance (for example,/dev/sdhorxvdh).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.inthashCode()voidsetDeviceName(String deviceName) The device name exposed to the instance (for example,/dev/sdhorxvdh).voidParameters used to automatically set up EBS volumes when the instance is launched.voidsetNoDevice(String noDevice) suppress the specified device included in the block device mapping.voidsetVirtualName(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/sdhorxvdh).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/sdhorxvdh).- Parameters:
deviceName- The device name exposed to the instance (for example,/dev/sdhorxvdh).
-
getDeviceName
The device name exposed to the instance (for example,
/dev/sdhorxvdh).- Returns:
- The device name exposed to the instance (for example,
/dev/sdhorxvdh).
-
withDeviceName
The device name exposed to the instance (for example,
/dev/sdhorxvdh).- Parameters:
deviceName- The device name exposed to the instance (for example,/dev/sdhorxvdh).- 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
-