com.amazonaws.services.ec2.model
Class EbsInstanceBlockDeviceSpecification

java.lang.Object
  extended by com.amazonaws.services.ec2.model.EbsInstanceBlockDeviceSpecification
All Implemented Interfaces:
java.io.Serializable

public class EbsInstanceBlockDeviceSpecification
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
EbsInstanceBlockDeviceSpecification()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Boolean getDeleteOnTermination()
          Indicates whether the volume is deleted on instance termination.
 java.lang.String getVolumeId()
          The ID of the Amazon EBS volume.
 int hashCode()
           
 java.lang.Boolean isDeleteOnTermination()
          Indicates whether the volume is deleted on instance termination.
 void setDeleteOnTermination(java.lang.Boolean deleteOnTermination)
          Indicates whether the volume is deleted on instance termination.
 void setVolumeId(java.lang.String volumeId)
          The ID of the Amazon EBS volume.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 EbsInstanceBlockDeviceSpecification withDeleteOnTermination(java.lang.Boolean deleteOnTermination)
          Indicates whether the volume is deleted on instance termination.
 EbsInstanceBlockDeviceSpecification withVolumeId(java.lang.String volumeId)
          The ID of the Amazon EBS volume.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EbsInstanceBlockDeviceSpecification

public EbsInstanceBlockDeviceSpecification()
Method Detail

getVolumeId

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

Returns:
The ID of the Amazon EBS volume.

setVolumeId

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

Parameters:
volumeId - The ID of the Amazon EBS volume.

withVolumeId

public EbsInstanceBlockDeviceSpecification withVolumeId(java.lang.String volumeId)
The ID of the Amazon EBS volume.

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

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

isDeleteOnTermination

public java.lang.Boolean isDeleteOnTermination()
Indicates whether the volume is deleted on instance termination.

Returns:
Indicates whether the volume is deleted on instance termination.

setDeleteOnTermination

public void setDeleteOnTermination(java.lang.Boolean deleteOnTermination)
Indicates whether the volume is deleted on instance termination.

Parameters:
deleteOnTermination - Indicates whether the volume is deleted on instance termination.

withDeleteOnTermination

public EbsInstanceBlockDeviceSpecification withDeleteOnTermination(java.lang.Boolean deleteOnTermination)
Indicates whether the volume is deleted on instance termination.

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

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

getDeleteOnTermination

public java.lang.Boolean getDeleteOnTermination()
Indicates whether the volume is deleted on instance termination.

Returns:
Indicates whether the volume is deleted on instance termination.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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