com.amazonaws.services.autoscaling.model
Class Ebs

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

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

The Ebs data type.

See Also:
Serialized Form

Constructor Summary
Ebs()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Boolean getDeleteOnTermination()
          Indicates whether to delete the volume on instance termination.
 java.lang.Integer getIops()
          The number of I/O operations per second (IOPS) that the volume supports.
 java.lang.String getSnapshotId()
          The snapshot ID.
 java.lang.Integer getVolumeSize()
          The volume size, in gigabytes.
 java.lang.String getVolumeType()
          The volume type.
 int hashCode()
           
 java.lang.Boolean isDeleteOnTermination()
          Indicates whether to delete the volume on instance termination.
 void setDeleteOnTermination(java.lang.Boolean deleteOnTermination)
          Indicates whether to delete the volume on instance termination.
 void setIops(java.lang.Integer iops)
          The number of I/O operations per second (IOPS) that the volume supports.
 void setSnapshotId(java.lang.String snapshotId)
          The snapshot ID.
 void setVolumeSize(java.lang.Integer volumeSize)
          The volume size, in gigabytes.
 void setVolumeType(java.lang.String volumeType)
          The volume type.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Ebs withDeleteOnTermination(java.lang.Boolean deleteOnTermination)
          Indicates whether to delete the volume on instance termination.
 Ebs withIops(java.lang.Integer iops)
          The number of I/O operations per second (IOPS) that the volume supports.
 Ebs withSnapshotId(java.lang.String snapshotId)
          The snapshot ID.
 Ebs withVolumeSize(java.lang.Integer volumeSize)
          The volume size, in gigabytes.
 Ebs withVolumeType(java.lang.String volumeType)
          The volume type.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Ebs

public Ebs()
Method Detail

getSnapshotId

public java.lang.String getSnapshotId()
The snapshot ID.

Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Returns:
The snapshot ID.

setSnapshotId

public void setSnapshotId(java.lang.String snapshotId)
The snapshot ID.

Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
snapshotId - The snapshot ID.

withSnapshotId

public Ebs withSnapshotId(java.lang.String snapshotId)
The snapshot ID.

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

Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
snapshotId - The snapshot ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getVolumeSize

public java.lang.Integer getVolumeSize()
The volume size, in gigabytes.

Valid values: If the volume type is io1, the minimum size of the volume is 10.

Default: If you're creating the volume from a snapshot, and you don't specify a volume size, the default is the snapshot size.

Required: Required when the volume type is io1.

Constraints:
Range: 1 - 1024

Returns:
The volume size, in gigabytes.

Valid values: If the volume type is io1, the minimum size of the volume is 10.

Default: If you're creating the volume from a snapshot, and you don't specify a volume size, the default is the snapshot size.

Required: Required when the volume type is io1.


setVolumeSize

public void setVolumeSize(java.lang.Integer volumeSize)
The volume size, in gigabytes.

Valid values: If the volume type is io1, the minimum size of the volume is 10.

Default: If you're creating the volume from a snapshot, and you don't specify a volume size, the default is the snapshot size.

Required: Required when the volume type is io1.

Constraints:
Range: 1 - 1024

Parameters:
volumeSize - The volume size, in gigabytes.

Valid values: If the volume type is io1, the minimum size of the volume is 10.

Default: If you're creating the volume from a snapshot, and you don't specify a volume size, the default is the snapshot size.

Required: Required when the volume type is io1.


withVolumeSize

public Ebs withVolumeSize(java.lang.Integer volumeSize)
The volume size, in gigabytes.

Valid values: If the volume type is io1, the minimum size of the volume is 10.

Default: If you're creating the volume from a snapshot, and you don't specify a volume size, the default is the snapshot size.

Required: Required when the volume type is io1.

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

Constraints:
Range: 1 - 1024

Parameters:
volumeSize - The volume size, in gigabytes.

Valid values: If the volume type is io1, the minimum size of the volume is 10.

Default: If you're creating the volume from a snapshot, and you don't specify a volume size, the default is the snapshot size.

Required: Required when the volume type is io1.

Returns:
A reference to this updated object so that method calls can be chained together.

getVolumeType

public java.lang.String getVolumeType()
The volume type.

Valid values: standard | io1

Default: standard

Constraints:
Length: 1 - 255

Returns:
The volume type.

Valid values: standard | io1

Default: standard


setVolumeType

public void setVolumeType(java.lang.String volumeType)
The volume type.

Valid values: standard | io1

Default: standard

Constraints:
Length: 1 - 255

Parameters:
volumeType - The volume type.

Valid values: standard | io1

Default: standard


withVolumeType

public Ebs withVolumeType(java.lang.String volumeType)
The volume type.

Valid values: standard | io1

Default: standard

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

Constraints:
Length: 1 - 255

Parameters:
volumeType - The volume type.

Valid values: standard | io1

Default: standard

Returns:
A reference to this updated object so that method calls can be chained together.

isDeleteOnTermination

public java.lang.Boolean isDeleteOnTermination()
Indicates whether to delete the volume on instance termination.

Default: true

Returns:
Indicates whether to delete the volume on instance termination.

Default: true


setDeleteOnTermination

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

Default: true

Parameters:
deleteOnTermination - Indicates whether to delete the volume on instance termination.

Default: true


withDeleteOnTermination

public Ebs withDeleteOnTermination(java.lang.Boolean deleteOnTermination)
Indicates whether to delete the volume on instance termination.

Default: true

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

Parameters:
deleteOnTermination - Indicates whether to delete the volume on instance termination.

Default: true

Returns:
A reference to this updated object so that method calls can be chained together.

getDeleteOnTermination

public java.lang.Boolean getDeleteOnTermination()
Indicates whether to delete the volume on instance termination.

Default: true

Returns:
Indicates whether to delete the volume on instance termination.

Default: true


getIops

public java.lang.Integer getIops()
The number of I/O operations per second (IOPS) that the volume supports.

The maximum ratio of IOPS to volume size is 30.0

Valid Values: Range is 100 to 4000.

Default: None.

Constraints:
Range: 100 - 4000

Returns:
The number of I/O operations per second (IOPS) that the volume supports.

The maximum ratio of IOPS to volume size is 30.0

Valid Values: Range is 100 to 4000.

Default: None.


setIops

public void setIops(java.lang.Integer iops)
The number of I/O operations per second (IOPS) that the volume supports.

The maximum ratio of IOPS to volume size is 30.0

Valid Values: Range is 100 to 4000.

Default: None.

Constraints:
Range: 100 - 4000

Parameters:
iops - The number of I/O operations per second (IOPS) that the volume supports.

The maximum ratio of IOPS to volume size is 30.0

Valid Values: Range is 100 to 4000.

Default: None.


withIops

public Ebs withIops(java.lang.Integer iops)
The number of I/O operations per second (IOPS) that the volume supports.

The maximum ratio of IOPS to volume size is 30.0

Valid Values: Range is 100 to 4000.

Default: None.

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

Constraints:
Range: 100 - 4000

Parameters:
iops - The number of I/O operations per second (IOPS) that the volume supports.

The maximum ratio of IOPS to volume size is 30.0

Valid Values: Range is 100 to 4000.

Default: None.

Returns:
A reference to this updated object so that method calls can be chained together.

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.