Class InstanceBlockDeviceMapping
java.lang.Object
com.amazonaws.services.ec2.model.InstanceBlockDeviceMapping
- All Implemented Interfaces:
Serializable, Cloneable
Describes a block device mapping.
- 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.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.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.
-
Constructor Details
-
InstanceBlockDeviceMapping
public InstanceBlockDeviceMapping()
-
-
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.
-
toString
-
equals
-
hashCode
-
clone
-