Interface ListTapePoolsResponse.Builder

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

public static interface ListTapePoolsResponse.Builder extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<ListTapePoolsResponse.Builder,ListTapePoolsResponse>
  • Method Details

    • poolInfos

      An array of PoolInfo objects, where each object describes a single custom tape pool. If there are no custom tape pools, the PoolInfos is an empty array.

      Parameters:
      poolInfos - An array of PoolInfo objects, where each object describes a single custom tape pool. If there are no custom tape pools, the PoolInfos is an empty array.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • poolInfos

      ListTapePoolsResponse.Builder poolInfos(PoolInfo... poolInfos)

      An array of PoolInfo objects, where each object describes a single custom tape pool. If there are no custom tape pools, the PoolInfos is an empty array.

      Parameters:
      poolInfos - An array of PoolInfo objects, where each object describes a single custom tape pool. If there are no custom tape pools, the PoolInfos is an empty array.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • poolInfos

      An array of PoolInfo objects, where each object describes a single custom tape pool. If there are no custom tape pools, the PoolInfos is an empty array.

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

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

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

      A string that indicates the position at which to begin the returned list of tape pools. Use the marker in your next request to continue pagination of tape pools. If there are no more tape pools to list, this element does not appear in the response body.

      Parameters:
      marker - A string that indicates the position at which to begin the returned list of tape pools. Use the marker in your next request to continue pagination of tape pools. If there are no more tape pools to list, this element does not appear in the response body.
      Returns:
      Returns a reference to this object so that method calls can be chained together.