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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceStorageInfo.Builderdisks(Collection<DiskInfo> disks)Describes the disks that are available for the instance type.InstanceStorageInfo.Builderdisks(Consumer<DiskInfo.Builder>... disks)Describes the disks that are available for the instance type.InstanceStorageInfo.Builderdisks(DiskInfo... disks)Describes the disks that are available for the instance type.InstanceStorageInfo.BuilderencryptionSupport(String encryptionSupport)Indicates whether data is encrypted at rest.InstanceStorageInfo.BuilderencryptionSupport(InstanceStorageEncryptionSupport encryptionSupport)Indicates whether data is encrypted at rest.InstanceStorageInfo.BuildernvmeSupport(String nvmeSupport)Indicates whether non-volatile memory express (NVMe) is supported.InstanceStorageInfo.BuildernvmeSupport(EphemeralNvmeSupport nvmeSupport)Indicates whether non-volatile memory express (NVMe) is supported.InstanceStorageInfo.BuildertotalSizeInGB(Long totalSizeInGB)The total size of the disks, in GB.-
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, sdkFields
-
-
-
-
Method Detail
-
totalSizeInGB
InstanceStorageInfo.Builder totalSizeInGB(Long 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
InstanceStorageInfo.Builder disks(Collection<DiskInfo> 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
InstanceStorageInfo.Builder disks(DiskInfo... 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
InstanceStorageInfo.Builder disks(Consumer<DiskInfo.Builder>... 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 to#disks(List.) - 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:
#disks(java.util.Collection)
-
nvmeSupport
InstanceStorageInfo.Builder nvmeSupport(String 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:
EphemeralNvmeSupport,EphemeralNvmeSupport
-
nvmeSupport
InstanceStorageInfo.Builder nvmeSupport(EphemeralNvmeSupport 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:
EphemeralNvmeSupport,EphemeralNvmeSupport
-
encryptionSupport
InstanceStorageInfo.Builder encryptionSupport(String 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:
InstanceStorageEncryptionSupport,InstanceStorageEncryptionSupport
-
encryptionSupport
InstanceStorageInfo.Builder encryptionSupport(InstanceStorageEncryptionSupport 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:
InstanceStorageEncryptionSupport,InstanceStorageEncryptionSupport
-
-