Interface VolumeSpecification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VolumeSpecification.Builder,VolumeSpecification>,SdkBuilder<VolumeSpecification.Builder,VolumeSpecification>,SdkPojo
- Enclosing class:
- VolumeSpecification
public static interface VolumeSpecification.Builder extends SdkPojo, CopyableBuilder<VolumeSpecification.Builder,VolumeSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VolumeSpecification.Builderiops(Integer iops)The number of I/O operations per second (IOPS) that the volume supports.VolumeSpecification.BuildersizeInGB(Integer sizeInGB)The volume size, in gibibytes (GiB).VolumeSpecification.Builderthroughput(Integer throughput)The throughput, in mebibyte per second (MiB/s).VolumeSpecification.BuildervolumeType(String volumeType)The volume type.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
volumeType
VolumeSpecification.Builder volumeType(String volumeType)
The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.
- Parameters:
volumeType- The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iops
VolumeSpecification.Builder iops(Integer iops)
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.
-
sizeInGB
VolumeSpecification.Builder sizeInGB(Integer 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.
- 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.
-
throughput
VolumeSpecification.Builder throughput(Integer throughput)
The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.
- Parameters:
throughput- The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-