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
Modifier and TypeMethodDescriptionA string that indicates the position at which to begin returning the next list of tapes.tapeInfos
(Collection<TapeInfo> tapeInfos) Sets the value of the TapeInfos property for this object.tapeInfos
(Consumer<TapeInfo.Builder>... tapeInfos) Sets the value of the TapeInfos property for this object.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 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
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 theTapeInfo.Builder
avoiding the need to create one manually viaTapeInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totapeInfos(List<TapeInfo>)
.- 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:
-
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.
-