Interface AttachDiskRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AttachDiskRequest.Builder,
,AttachDiskRequest> LightsailRequest.Builder
,SdkBuilder<AttachDiskRequest.Builder,
,AttachDiskRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AttachDiskRequest
public static interface AttachDiskRequest.Builder
extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<AttachDiskRequest.Builder,AttachDiskRequest>
-
Method Summary
Modifier and TypeMethodDescriptionautoMounting
(Boolean autoMounting) A Boolean value used to determine the automatic mounting of a storage volume to a virtual computer.The unique Lightsail disk name (my-disk
).The disk path to expose to the instance (/dev/xvdf
).instanceName
(String instanceName) The name of the Lightsail instance where you want to utilize the storage disk.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
diskName
The unique Lightsail disk name (
my-disk
).- Parameters:
diskName
- The unique Lightsail disk name (my-disk
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceName
The name of the Lightsail instance where you want to utilize the storage disk.
- Parameters:
instanceName
- The name of the Lightsail instance where you want to utilize the storage disk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diskPath
The disk path to expose to the instance (
/dev/xvdf
).- Parameters:
diskPath
- The disk path to expose to the instance (/dev/xvdf
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoMounting
A Boolean value used to determine the automatic mounting of a storage volume to a virtual computer. The default value is
False
.This value only applies to Lightsail for Research resources.
- Parameters:
autoMounting
- A Boolean value used to determine the automatic mounting of a storage volume to a virtual computer. The default value isFalse
.This value only applies to Lightsail for Research resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AttachDiskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AttachDiskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-