com.amazonaws.services.autoscaling.model
Class Ebs

java.lang.Object
  extended by com.amazonaws.services.autoscaling.model.Ebs

public class Ebs
extends Object

The Ebs data type.


Constructor Summary
Ebs()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getSnapshotId()
          The snapshot ID.
 Integer getVolumeSize()
          The volume size, in gigabytes.
 int hashCode()
           
 void setSnapshotId(String snapshotId)
          The snapshot ID.
 void setVolumeSize(Integer volumeSize)
          The volume size, in gigabytes.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Ebs withSnapshotId(String snapshotId)
          The snapshot ID.
 Ebs withVolumeSize(Integer volumeSize)
          The volume size, in gigabytes.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Ebs

public Ebs()
Method Detail

getSnapshotId

public String getSnapshotId()
The snapshot ID.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The snapshot ID.

setSnapshotId

public void setSnapshotId(String snapshotId)
The snapshot ID.

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
snapshotId - The snapshot ID.

withSnapshotId

public Ebs withSnapshotId(String snapshotId)
The snapshot ID.

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

Constraints:
Length: 1 - 255
Pattern: [ -퟿-�𐀀-􏿿\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 Integer getVolumeSize()
The volume size, in gigabytes.

Constraints:
Range: 1 - 1024

Returns:
The volume size, in gigabytes.

setVolumeSize

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

Constraints:
Range: 1 - 1024

Parameters:
volumeSize - The volume size, in gigabytes.

withVolumeSize

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

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.
Returns:
A reference to this updated object so that method calls can be chained together.

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.