public class Ebs extends Object implements Serializable
The Ebs data type.
Constructor and Description |
---|
Ebs() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getSnapshotId()
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
public void setSnapshotId(String snapshotId)
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
snapshotId
- The snapshot ID.public Ebs withSnapshotId(String snapshotId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
snapshotId
- The snapshot ID.public Integer getVolumeSize()
Constraints:
Range: 1 - 1024
public void setVolumeSize(Integer volumeSize)
Constraints:
Range: 1 - 1024
volumeSize
- The volume size, in gigabytes.public Ebs withVolumeSize(Integer volumeSize)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 1024
volumeSize
- The volume size, in gigabytes.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.