Interface ListTapesResponse.Builder

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

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

    • tapeInfos

      Sets the value of the TapeInfos property for this object.
      Parameters:
      tapeInfos - The new value for the TapeInfos property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tapeInfos

      ListTapesResponse.Builder tapeInfos(TapeInfo... tapeInfos)
      Sets the value of the TapeInfos property for this object.
      Parameters:
      tapeInfos - The new value for the TapeInfos property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tapeInfos

      Sets the value of the TapeInfos property for this object. This is a convenience method that creates an instance of the TapeInfo.Builder avoiding the need to create one manually via TapeInfo.builder().

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

      Parameters:
      tapeInfos - a consumer that will call methods on TapeInfo.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 returning the next list of tapes. Use the marker in your next request to continue pagination of tapes. If there are no more tapes to list, this element does not appear in the response body.

      Parameters:
      marker - A string that indicates the position at which to begin returning the next list of tapes. Use the marker in your next request to continue pagination of tapes. If there are no more tapes 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.