public class EbsInstanceBlockDeviceSpecification extends Object implements Serializable, Cloneable
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; useful for testing and
debugging.
|
EbsInstanceBlockDeviceSpecification |
withDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the volume is deleted on instance termination.
|
EbsInstanceBlockDeviceSpecification |
withVolumeId(String volumeId)
The ID of the EBS volume.
|
public String getVolumeId()
public void setVolumeId(String volumeId)
volumeId
- The ID of the EBS volume.public EbsInstanceBlockDeviceSpecification withVolumeId(String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId
- The ID of the EBS volume.public Boolean isDeleteOnTermination()
public void setDeleteOnTermination(Boolean deleteOnTermination)
deleteOnTermination
- Indicates whether the volume is deleted on instance termination.public EbsInstanceBlockDeviceSpecification withDeleteOnTermination(Boolean deleteOnTermination)
Returns a reference to this object so that method calls can be chained together.
deleteOnTermination
- Indicates whether the volume is deleted on instance termination.public Boolean getDeleteOnTermination()
public String toString()
toString
in class Object
Object.toString()
public EbsInstanceBlockDeviceSpecification clone()
Copyright © 2015. All rights reserved.