com.amazonaws.services.ec2.model
Class EbsInstanceBlockDevice

java.lang.Object
  extended by com.amazonaws.services.ec2.model.EbsInstanceBlockDevice

public class EbsInstanceBlockDevice
extends Object

An EBS volume backed block device which is attached to an instance.


Constructor Summary
EbsInstanceBlockDevice()
           
 
Method Summary
 boolean equals(Object obj)
           
 Date getAttachTime()
          The time at which the EBS volume was attached to the associated instance.
 Boolean getDeleteOnTermination()
          Specifies whether the Amazon EBS volume is deleted on instance termination.
 String getStatus()
          The status of the EBS volume.
 String getVolumeId()
          The ID of the EBS volume.
 int hashCode()
           
 Boolean isDeleteOnTermination()
          Specifies whether the Amazon EBS volume is deleted on instance termination.
 void setAttachTime(Date attachTime)
          The time at which the EBS volume was attached to the associated instance.
 void setDeleteOnTermination(Boolean deleteOnTermination)
          Specifies whether the Amazon EBS volume is deleted on instance termination.
 void setStatus(String status)
          The status of the EBS volume.
 void setVolumeId(String volumeId)
          The ID of the EBS volume.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 EbsInstanceBlockDevice withAttachTime(Date attachTime)
          The time at which the EBS volume was attached to the associated instance.
 EbsInstanceBlockDevice withDeleteOnTermination(Boolean deleteOnTermination)
          Specifies whether the Amazon EBS volume is deleted on instance termination.
 EbsInstanceBlockDevice withStatus(String status)
          The status of the EBS volume.
 EbsInstanceBlockDevice withVolumeId(String volumeId)
          The ID of the EBS volume.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EbsInstanceBlockDevice

public EbsInstanceBlockDevice()
Method Detail

getVolumeId

public String getVolumeId()
The ID of the EBS volume.

Returns:
The ID of the EBS volume.

setVolumeId

public void setVolumeId(String volumeId)
The ID of the EBS volume.

Parameters:
volumeId - The ID of the EBS volume.

withVolumeId

public EbsInstanceBlockDevice withVolumeId(String volumeId)
The ID of the EBS volume.

Returns a reference to this object so that method calls can be chained together.

Parameters:
volumeId - The ID of the EBS volume.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatus

public String getStatus()
The status of the EBS volume.

Returns:
The status of the EBS volume.

setStatus

public void setStatus(String status)
The status of the EBS volume.

Parameters:
status - The status of the EBS volume.

withStatus

public EbsInstanceBlockDevice withStatus(String status)
The status of the EBS volume.

Returns a reference to this object so that method calls can be chained together.

Parameters:
status - The status of the EBS volume.
Returns:
A reference to this updated object so that method calls can be chained together.

getAttachTime

public Date getAttachTime()
The time at which the EBS volume was attached to the associated instance.

Returns:
The time at which the EBS volume was attached to the associated instance.

setAttachTime

public void setAttachTime(Date attachTime)
The time at which the EBS volume was attached to the associated instance.

Parameters:
attachTime - The time at which the EBS volume was attached to the associated instance.

withAttachTime

public EbsInstanceBlockDevice withAttachTime(Date attachTime)
The time at which the EBS volume was attached to the associated instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attachTime - The time at which the EBS volume was attached to the associated instance.
Returns:
A reference to this updated object so that method calls can be chained together.

isDeleteOnTermination

public Boolean isDeleteOnTermination()
Specifies whether the Amazon EBS volume is deleted on instance termination.

Returns:
Specifies whether the Amazon EBS volume is deleted on instance termination.

setDeleteOnTermination

public void setDeleteOnTermination(Boolean deleteOnTermination)
Specifies whether the Amazon EBS volume is deleted on instance termination.

Parameters:
deleteOnTermination - Specifies whether the Amazon EBS volume is deleted on instance termination.

withDeleteOnTermination

public EbsInstanceBlockDevice withDeleteOnTermination(Boolean deleteOnTermination)
Specifies whether the Amazon EBS volume is deleted on instance termination.

Returns a reference to this object so that method calls can be chained together.

Parameters:
deleteOnTermination - Specifies whether the Amazon EBS volume is deleted on instance termination.
Returns:
A reference to this updated object so that method calls can be chained together.

getDeleteOnTermination

public Boolean getDeleteOnTermination()
Specifies whether the Amazon EBS volume is deleted on instance termination.

Returns:
Specifies whether the Amazon EBS volume is deleted on instance termination.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.