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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AttachDiskRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
AttachDiskRequest.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.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AttachDiskRequest.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.