com.amazonaws.services.ec2.model
Class EbsInstanceBlockDeviceSpecification

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

public class EbsInstanceBlockDeviceSpecification
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
EbsInstanceBlockDeviceSpecification()
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getDeleteOnTermination()
          Indicates whether the volume is deleted on instance termination.
 String getVolumeId()
          The ID of the Amazon 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 Amazon 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 Amazon EBS volume.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EbsInstanceBlockDeviceSpecification

public EbsInstanceBlockDeviceSpecification()
Method Detail

getVolumeId

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

Returns:
The ID of the Amazon EBS volume.

setVolumeId

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

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

withVolumeId

public EbsInstanceBlockDeviceSpecification withVolumeId(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 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(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(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 Boolean getDeleteOnTermination()
Indicates whether the volume is deleted on instance termination.

Returns:
Indicates whether the 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 © 2016. All rights reserved.