public static interface AttachDiskRequest.Builder extends LightsailRequest.Builder, SdkPojo, 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AttachDiskRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
buildoverrideConfigurationcopyapplyMutation, 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.AttachDiskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.