Interface GetAutoSnapshotsResponse.Builder

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

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

    • resourceName

      GetAutoSnapshotsResponse.Builder resourceName(String resourceName)

      The name of the source instance or disk for the automatic snapshots.

      Parameters:
      resourceName - The name of the source instance or disk for the automatic snapshots.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      GetAutoSnapshotsResponse.Builder resourceType(String resourceType)

      The resource type of the automatic snapshot. The possible values are Instance, and Disk.

      Parameters:
      resourceType - The resource type of the automatic snapshot. The possible values are Instance, and Disk.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceType

      GetAutoSnapshotsResponse.Builder resourceType(ResourceType resourceType)

      The resource type of the automatic snapshot. The possible values are Instance, and Disk.

      Parameters:
      resourceType - The resource type of the automatic snapshot. The possible values are Instance, and Disk.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • autoSnapshots

      An array of objects that describe the automatic snapshots that are available for the specified source instance or disk.

      Parameters:
      autoSnapshots - An array of objects that describe the automatic snapshots that are available for the specified source instance or disk.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoSnapshots

      GetAutoSnapshotsResponse.Builder autoSnapshots(AutoSnapshotDetails... autoSnapshots)

      An array of objects that describe the automatic snapshots that are available for the specified source instance or disk.

      Parameters:
      autoSnapshots - An array of objects that describe the automatic snapshots that are available for the specified source instance or disk.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoSnapshots

      An array of objects that describe the automatic snapshots that are available for the specified source instance or disk.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to autoSnapshots(List<AutoSnapshotDetails>).

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