Package com.amazonaws.services.ec2.model
Class EbsInstanceBlockDevice
java.lang.Object
com.amazonaws.services.ec2.model.EbsInstanceBlockDevice
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a parameter used to set up an EBS volume in a block device mapping.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The time stamp when the attachment initiated.Indicates whether the volume is deleted on instance termination.The attachment state.The ID of the EBS volume.int
hashCode()
Indicates whether the volume is deleted on instance termination.void
setAttachTime
(Date attachTime) The time stamp when the attachment initiated.void
setDeleteOnTermination
(Boolean deleteOnTermination) Indicates whether the volume is deleted on instance termination.void
setStatus
(AttachmentStatus status) The attachment state.void
The attachment state.void
setVolumeId
(String volumeId) The ID of the EBS volume.toString()
Returns a string representation of this object; useful for testing and debugging.withAttachTime
(Date attachTime) The time stamp when the attachment initiated.withDeleteOnTermination
(Boolean deleteOnTermination) Indicates whether the volume is deleted on instance termination.withStatus
(AttachmentStatus status) The attachment state.withStatus
(String status) The attachment state.withVolumeId
(String volumeId) The ID of the EBS volume.
-
Constructor Details
-
EbsInstanceBlockDevice
public EbsInstanceBlockDevice()
-
-
Method Details
-
setVolumeId
The ID of the EBS volume.
- Parameters:
volumeId
- The ID of the EBS volume.
-
getVolumeId
The ID of the EBS volume.
- Returns:
- The ID of the EBS volume.
-
withVolumeId
The ID of the EBS volume.
- Parameters:
volumeId
- The ID of the EBS volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
The attachment state.
- Parameters:
status
- The attachment state.- See Also:
-
getStatus
The attachment state.
- Returns:
- The attachment state.
- See Also:
-
withStatus
The attachment state.
- Parameters:
status
- The attachment state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStatus
The attachment state.
- Parameters:
status
- The attachment state.- See Also:
-
withStatus
The attachment state.
- Parameters:
status
- The attachment state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAttachTime
The time stamp when the attachment initiated.
- Parameters:
attachTime
- The time stamp when the attachment initiated.
-
getAttachTime
The time stamp when the attachment initiated.
- Returns:
- The time stamp when the attachment initiated.
-
withAttachTime
The time stamp when the attachment initiated.
- Parameters:
attachTime
- The time stamp when the attachment initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeleteOnTermination
Indicates whether the volume is deleted on instance termination.
- Parameters:
deleteOnTermination
- Indicates whether the volume is deleted on instance termination.
-
getDeleteOnTermination
Indicates whether the volume is deleted on instance termination.
- Returns:
- Indicates whether the volume is deleted on instance termination.
-
withDeleteOnTermination
Indicates whether the volume is deleted on instance termination.
- Parameters:
deleteOnTermination
- Indicates whether the volume is deleted on instance termination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isDeleteOnTermination
Indicates whether the volume is deleted on instance termination.
- Returns:
- Indicates whether the volume is deleted on instance termination.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-