Class VolumeSpecification
- All Implemented Interfaces:
Serializable
,Cloneable
EBS volume specifications such as volume type, IOPS, and size(GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getIops()
The number of I/O operations per second (IOPS) that the volume supports.The volume size, in gibibytes (GiB).The volume type.int
hashCode()
void
The number of I/O operations per second (IOPS) that the volume supports.void
setSizeInGB
(Integer sizeInGB) The volume size, in gibibytes (GiB).void
setVolumeType
(String volumeType) The volume type.toString()
Returns a string representation of this object; useful for testing and debugging.The number of I/O operations per second (IOPS) that the volume supports.withSizeInGB
(Integer sizeInGB) The volume size, in gibibytes (GiB).withVolumeType
(String volumeType) The volume type.
-
Constructor Details
-
VolumeSpecification
public VolumeSpecification()
-
-
Method Details
-
setVolumeType
The volume type. Volume types supported are gp2, io1, standard.
- Parameters:
volumeType
- The volume type. Volume types supported are gp2, io1, standard.
-
getVolumeType
The volume type. Volume types supported are gp2, io1, standard.
- Returns:
- The volume type. Volume types supported are gp2, io1, standard.
-
withVolumeType
The volume type. Volume types supported are gp2, io1, standard.
- Parameters:
volumeType
- The volume type. Volume types supported are gp2, io1, standard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIops
The number of I/O operations per second (IOPS) that the volume supports.
- Parameters:
iops
- The number of I/O operations per second (IOPS) that the volume supports.
-
getIops
The number of I/O operations per second (IOPS) that the volume supports.
- Returns:
- The number of I/O operations per second (IOPS) that the volume supports.
-
withIops
The number of I/O operations per second (IOPS) that the volume supports.
- Parameters:
iops
- The number of I/O operations per second (IOPS) that the volume supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSizeInGB
The volume size, in gibibytes (GiB). This can be a number from 1 – 1024. If the volume type is EBS-optimized, the minimum value is 10.
- Parameters:
sizeInGB
- The volume size, in gibibytes (GiB). This can be a number from 1 – 1024. If the volume type is EBS-optimized, the minimum value is 10.
-
getSizeInGB
The volume size, in gibibytes (GiB). This can be a number from 1 – 1024. If the volume type is EBS-optimized, the minimum value is 10.
- Returns:
- The volume size, in gibibytes (GiB). This can be a number from 1 – 1024. If the volume type is EBS-optimized, the minimum value is 10.
-
withSizeInGB
The volume size, in gibibytes (GiB). This can be a number from 1 – 1024. If the volume type is EBS-optimized, the minimum value is 10.
- Parameters:
sizeInGB
- The volume size, in gibibytes (GiB). This can be a number from 1 – 1024. If the volume type is EBS-optimized, the minimum value is 10.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-