Interface InstanceStorageInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceStorageInfo.Builder,,InstanceStorageInfo> SdkBuilder<InstanceStorageInfo.Builder,,InstanceStorageInfo> SdkPojo
- Enclosing class:
InstanceStorageInfo
public static interface InstanceStorageInfo.Builder
extends SdkPojo, CopyableBuilder<InstanceStorageInfo.Builder,InstanceStorageInfo>
-
Method Summary
Modifier and TypeMethodDescriptiondisks(Collection<DiskInfo> disks) Describes the disks that are available for the instance type.disks(Consumer<DiskInfo.Builder>... disks) Describes the disks that are available for the instance type.Describes the disks that are available for the instance type.encryptionSupport(String encryptionSupport) Indicates whether data is encrypted at rest.encryptionSupport(InstanceStorageEncryptionSupport encryptionSupport) Indicates whether data is encrypted at rest.nvmeSupport(String nvmeSupport) Indicates whether non-volatile memory express (NVMe) is supported.nvmeSupport(EphemeralNvmeSupport nvmeSupport) Indicates whether non-volatile memory express (NVMe) is supported.totalSizeInGB(Long totalSizeInGB) The total size of the disks, in GB.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
totalSizeInGB
The total size of the disks, in GB.
- Parameters:
totalSizeInGB- The total size of the disks, in GB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disks
Describes the disks that are available for the instance type.
- Parameters:
disks- Describes the disks that are available for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disks
Describes the disks that are available for the instance type.
- Parameters:
disks- Describes the disks that are available for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disks
Describes the disks that are available for the instance type.
This is a convenience method that creates an instance of theDiskInfo.Builderavoiding the need to create one manually viaDiskInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todisks(List<DiskInfo>).- Parameters:
disks- a consumer that will call methods onDiskInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nvmeSupport
Indicates whether non-volatile memory express (NVMe) is supported.
- Parameters:
nvmeSupport- Indicates whether non-volatile memory express (NVMe) is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nvmeSupport
Indicates whether non-volatile memory express (NVMe) is supported.
- Parameters:
nvmeSupport- Indicates whether non-volatile memory express (NVMe) is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionSupport
Indicates whether data is encrypted at rest.
- Parameters:
encryptionSupport- Indicates whether data is encrypted at rest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionSupport
Indicates whether data is encrypted at rest.
- Parameters:
encryptionSupport- Indicates whether data is encrypted at rest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-