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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-