@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EbsInstanceBlockDeviceSpecification extends Object implements Serializable, Cloneable
Describes information used to set up an EBS volume specified in a block device mapping.
Constructor and Description |
---|
EbsInstanceBlockDeviceSpecification() |
Modifier and Type | Method and Description |
---|---|
EbsInstanceBlockDeviceSpecification |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDeleteOnTermination()
Indicates whether the volume is deleted on instance termination.
|
String |
getVolumeId()
The ID of the EBS volume.
|
int |
hashCode() |
Boolean |
isDeleteOnTermination()
Indicates whether the volume is deleted on instance termination.
|
void |
setDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the volume is deleted on instance termination.
|
void |
setVolumeId(String volumeId)
The ID of the EBS volume.
|
String |
toString()
Returns a string representation of this object.
|
EbsInstanceBlockDeviceSpecification |
withDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the volume is deleted on instance termination.
|
EbsInstanceBlockDeviceSpecification |
withVolumeId(String volumeId)
The ID of the EBS volume.
|
public void setDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the volume is deleted on instance termination.
deleteOnTermination
- Indicates whether the volume is deleted on instance termination.public Boolean getDeleteOnTermination()
Indicates whether the volume is deleted on instance termination.
public EbsInstanceBlockDeviceSpecification withDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the volume is deleted on instance termination.
deleteOnTermination
- Indicates whether the volume is deleted on instance termination.public Boolean isDeleteOnTermination()
Indicates whether the volume is deleted on instance termination.
public void setVolumeId(String volumeId)
The ID of the EBS volume.
volumeId
- The ID of the EBS volume.public String getVolumeId()
The ID of the EBS volume.
public EbsInstanceBlockDeviceSpecification withVolumeId(String volumeId)
The ID of the EBS volume.
volumeId
- The ID of the EBS volume.public String toString()
toString
in class Object
Object.toString()
public EbsInstanceBlockDeviceSpecification clone()