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) |
Boolean |
getDeleteOnTermination()
Indicates whether to delete the volume on instance termination.
|
Integer |
getIops()
The number of I/O operations per second (IOPS) that the volume
supports.
|
String |
getSnapshotId()
The snapshot ID.
|
Integer |
getVolumeSize()
The volume size, in gigabytes.
|
String |
getVolumeType()
The volume type.
|
int |
hashCode() |
Boolean |
isDeleteOnTermination()
Indicates whether to delete the volume on instance termination.
|
void |
setDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether to delete the volume on instance termination.
|
void |
setIops(Integer iops)
The number of I/O operations per second (IOPS) that the volume
supports.
|
void |
setSnapshotId(String snapshotId)
The snapshot ID.
|
void |
setVolumeSize(Integer volumeSize)
The volume size, in gigabytes.
|
void |
setVolumeType(String volumeType)
The volume type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Ebs |
withDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether to delete the volume on instance termination.
|
Ebs |
withIops(Integer iops)
The number of I/O operations per second (IOPS) that the volume
supports.
|
Ebs |
withSnapshotId(String snapshotId)
The snapshot ID.
|
Ebs |
withVolumeSize(Integer volumeSize)
The volume size, in gigabytes.
|
Ebs |
withVolumeType(String volumeType)
The volume type.
|
public String getSnapshotId()
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setSnapshotId(String snapshotId)
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
snapshotId
- The snapshot ID.public Integer getVolumeSize()
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
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
.
public void setVolumeSize(Integer volumeSize)
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
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
.
public Ebs withVolumeSize(Integer volumeSize)
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
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
.
public String getVolumeType()
Valid values: standard | io1
Default: standard
Constraints:
Length: 1 - 255
Valid values: standard | io1
Default: standard
public void setVolumeType(String volumeType)
Valid values: standard | io1
Default: standard
Constraints:
Length: 1 - 255
volumeType
- The volume type. Valid values: standard | io1
Default: standard
public Ebs withVolumeType(String volumeType)
Valid values: standard | io1
Default: standard
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
volumeType
- The volume type. Valid values: standard | io1
Default: standard
public Boolean isDeleteOnTermination()
Default: true
Default: true
public void setDeleteOnTermination(Boolean deleteOnTermination)
Default: true
deleteOnTermination
- Indicates whether to delete the volume on instance termination.
Default: true
public Ebs withDeleteOnTermination(Boolean deleteOnTermination)
Default: true
Returns a reference to this object so that method calls can be chained together.
deleteOnTermination
- Indicates whether to delete the volume on instance termination.
Default: true
public Boolean getDeleteOnTermination()
Default: true
Default: true
public Integer getIops()
The maximum ratio of IOPS to volume size is 30.0
Valid Values: Range is 100 to 4000.
Default: None.
Constraints:
Range: 100 - 4000
The maximum ratio of IOPS to volume size is 30.0
Valid Values: Range is 100 to 4000.
Default: None.
public void setIops(Integer iops)
The maximum ratio of IOPS to volume size is 30.0
Valid Values: Range is 100 to 4000.
Default: None.
Constraints:
Range: 100 - 4000
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.
public Ebs withIops(Integer iops)
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
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.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.