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 Details

    • diskName

      AttachDiskRequest.Builder diskName(String 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

      AttachDiskRequest.Builder instanceName(String 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

      AttachDiskRequest.Builder diskPath(String 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

      AttachDiskRequest.Builder autoMounting(Boolean 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 is False.

      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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.