public static interface CreateDiskFromSnapshotRequest.Builder extends LightsailRequest.Builder, CopyableBuilder<CreateDiskFromSnapshotRequest.Builder,CreateDiskFromSnapshotRequest>
Modifier and Type | Method and Description |
---|---|
CreateDiskFromSnapshotRequest.Builder |
availabilityZone(String availabilityZone)
The Availability Zone where you want to create the disk (e.g.,
us-east-2a ). |
CreateDiskFromSnapshotRequest.Builder |
diskName(String diskName)
The unique Lightsail disk name (e.g.,
my-disk ). |
CreateDiskFromSnapshotRequest.Builder |
diskSnapshotName(String diskSnapshotName)
The name of the disk snapshot (e.g.,
my-snapshot ) from which to create the new storage disk. |
CreateDiskFromSnapshotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateDiskFromSnapshotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateDiskFromSnapshotRequest.Builder |
sizeInGb(Integer sizeInGb)
The size of the disk in GB (e.g.,
32 ). |
build
overrideConfiguration
copy
applyMutation, build
CreateDiskFromSnapshotRequest.Builder diskName(String diskName)
The unique Lightsail disk name (e.g., my-disk
).
diskName
- The unique Lightsail disk name (e.g., my-disk
).CreateDiskFromSnapshotRequest.Builder diskSnapshotName(String diskSnapshotName)
The name of the disk snapshot (e.g., my-snapshot
) from which to create the new storage disk.
diskSnapshotName
- The name of the disk snapshot (e.g., my-snapshot
) from which to create the new storage
disk.CreateDiskFromSnapshotRequest.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.
CreateDiskFromSnapshotRequest.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
).CreateDiskFromSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateDiskFromSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.