Interface GetDiskResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetDiskResponse.Builder,GetDiskResponse>, LightsailResponse.Builder, SdkBuilder<GetDiskResponse.Builder,GetDiskResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetDiskResponse

public static interface GetDiskResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetDiskResponse.Builder,GetDiskResponse>
  • Method Details

    • disk

      An object containing information about the disk.

      Parameters:
      disk - An object containing information about the disk.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • disk

      An object containing information about the disk.

      This is a convenience method that creates an instance of the Disk.Builder avoiding the need to create one manually via Disk.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to disk(Disk).

      Parameters:
      disk - a consumer that will call methods on Disk.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: