public static interface AttachDiskRequest.Builder extends LightsailRequest.Builder, CopyableBuilder<AttachDiskRequest.Builder,AttachDiskRequest>
| Modifier and Type | Method and Description |
|---|---|
AttachDiskRequest.Builder |
diskName(String diskName)
The unique Lightsail disk name (e.g.,
my-disk). |
AttachDiskRequest.Builder |
diskPath(String diskPath)
The disk path to expose to the instance (e.g.,
/dev/xvdf). |
AttachDiskRequest.Builder |
instanceName(String instanceName)
The name of the Lightsail instance where you want to utilize the storage disk.
|
AttachDiskRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
AttachDiskRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildAttachDiskRequest.Builder diskName(String diskName)
The unique Lightsail disk name (e.g., my-disk).
diskName - The unique Lightsail disk name (e.g., my-disk).AttachDiskRequest.Builder instanceName(String instanceName)
The name of the Lightsail instance where you want to utilize the storage disk.
instanceName - The name of the Lightsail instance where you want to utilize the storage disk.AttachDiskRequest.Builder diskPath(String diskPath)
The disk path to expose to the instance (e.g., /dev/xvdf).
diskPath - The disk path to expose to the instance (e.g., /dev/xvdf).AttachDiskRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.AttachDiskRequest.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.