public static interface InstanceStorageInfo.Builder extends SdkPojo, CopyableBuilder<InstanceStorageInfo.Builder,InstanceStorageInfo>
Modifier and Type | Method and Description |
---|---|
InstanceStorageInfo.Builder |
disks(Collection<DiskInfo> disks)
Describes the disks that are available for the instance type.
|
InstanceStorageInfo.Builder |
disks(Consumer<DiskInfo.Builder>... disks)
Describes the disks that are available for the instance type.
|
InstanceStorageInfo.Builder |
disks(DiskInfo... disks)
Describes the disks that are available for the instance type.
|
InstanceStorageInfo.Builder |
encryptionSupport(InstanceStorageEncryptionSupport encryptionSupport)
Indicates whether data is encrypted at rest.
|
InstanceStorageInfo.Builder |
encryptionSupport(String encryptionSupport)
Indicates whether data is encrypted at rest.
|
InstanceStorageInfo.Builder |
nvmeSupport(EphemeralNvmeSupport nvmeSupport)
Indicates whether non-volatile memory express (NVMe) is supported.
|
InstanceStorageInfo.Builder |
nvmeSupport(String nvmeSupport)
Indicates whether non-volatile memory express (NVMe) is supported.
|
InstanceStorageInfo.Builder |
totalSizeInGB(Long totalSizeInGB)
The total size of the disks, in GB.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
InstanceStorageInfo.Builder totalSizeInGB(Long totalSizeInGB)
The total size of the disks, in GB.
totalSizeInGB
- The total size of the disks, in GB.InstanceStorageInfo.Builder disks(Collection<DiskInfo> disks)
Describes the disks that are available for the instance type.
disks
- Describes the disks that are available for the instance type.InstanceStorageInfo.Builder disks(DiskInfo... disks)
Describes the disks that are available for the instance type.
disks
- Describes the disks that are available for the instance type.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.Builder
avoiding the need to create one manually
via DiskInfo.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and its
result is passed to #disks(List
.
disks
- a consumer that will call methods on
DiskInfo.Builder
#disks(java.util.Collection)
InstanceStorageInfo.Builder nvmeSupport(String nvmeSupport)
Indicates whether non-volatile memory express (NVMe) is supported.
nvmeSupport
- Indicates whether non-volatile memory express (NVMe) is supported.EphemeralNvmeSupport
,
EphemeralNvmeSupport
InstanceStorageInfo.Builder nvmeSupport(EphemeralNvmeSupport nvmeSupport)
Indicates whether non-volatile memory express (NVMe) is supported.
nvmeSupport
- Indicates whether non-volatile memory express (NVMe) is supported.EphemeralNvmeSupport
,
EphemeralNvmeSupport
InstanceStorageInfo.Builder encryptionSupport(String encryptionSupport)
Indicates whether data is encrypted at rest.
encryptionSupport
- Indicates whether data is encrypted at rest.InstanceStorageEncryptionSupport
,
InstanceStorageEncryptionSupport
InstanceStorageInfo.Builder encryptionSupport(InstanceStorageEncryptionSupport encryptionSupport)
Indicates whether data is encrypted at rest.
encryptionSupport
- Indicates whether data is encrypted at rest.InstanceStorageEncryptionSupport
,
InstanceStorageEncryptionSupport
Copyright © 2023. All rights reserved.