public static interface CreateDiskRequest.Builder extends LightsailRequest.Builder, CopyableBuilder<CreateDiskRequest.Builder,CreateDiskRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateDiskRequest.Builder |
availabilityZone(String availabilityZone)
The Availability Zone where you want to create the disk (e.g.,
us-east-2a). |
CreateDiskRequest.Builder |
diskName(String diskName)
The unique Lightsail disk name (e.g.,
my-disk). |
CreateDiskRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateDiskRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateDiskRequest.Builder |
sizeInGb(Integer sizeInGb)
The size of the disk in GB (e.g.,
32). |
buildrequestOverrideConfigcopyapply, buildCreateDiskRequest.Builder diskName(String diskName)
The unique Lightsail disk name (e.g., my-disk).
diskName - The unique Lightsail disk name (e.g., my-disk).CreateDiskRequest.Builder availabilityZone(String availabilityZone)
The Availability Zone where you want to create the disk (e.g., us-east-2a). Choose the same
Availability Zone as the Lightsail instance where you want to create the disk.
Use the GetRegions operation to list the Availability Zones where Lightsail is currently available.
availabilityZone - The Availability Zone where you want to create the disk (e.g., us-east-2a). Choose the
same Availability Zone as the Lightsail instance where you want to create the disk.
Use the GetRegions operation to list the Availability Zones where Lightsail is currently available.
CreateDiskRequest.Builder sizeInGb(Integer sizeInGb)
The size of the disk in GB (e.g., 32).
sizeInGb - The size of the disk in GB (e.g., 32).CreateDiskRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateDiskRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.