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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTapesResponse.Buildermarker(String marker)A string that indicates the position at which to begin returning the next list of tapes.ListTapesResponse.BuildertapeInfos(Collection<TapeInfo> tapeInfos)Sets the value of the TapeInfos property for this object.ListTapesResponse.BuildertapeInfos(Consumer<TapeInfo.Builder>... tapeInfos)Sets the value of the TapeInfos property for this object.ListTapesResponse.BuildertapeInfos(TapeInfo... tapeInfos)Sets the value of the TapeInfos property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
tapeInfos
ListTapesResponse.Builder tapeInfos(Collection<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
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
ListTapesResponse.Builder tapeInfos(Consumer<TapeInfo.Builder>... tapeInfos)
Sets the value of the TapeInfos property for this object. This is a convenience method that creates an instance of theTapeInfo.Builderavoiding the need to create one manually viaTapeInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tapeInfos(List.) - Parameters:
tapeInfos- a consumer that will call methods onTapeInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tapeInfos(java.util.Collection)
-
marker
ListTapesResponse.Builder marker(String 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.
-
-