Interface DescribeTapesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeTapesResponse.Builder,
,DescribeTapesResponse> SdkBuilder<DescribeTapesResponse.Builder,
,DescribeTapesResponse> SdkPojo
,SdkResponse.Builder
,StorageGatewayResponse.Builder
- Enclosing class:
DescribeTapesResponse
public static interface DescribeTapesResponse.Builder
extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<DescribeTapesResponse.Builder,DescribeTapesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn opaque string that can be used as part of a subsequentDescribeTapes
call to retrieve the next page of results.tapes
(Collection<Tape> tapes) An array of virtual tape descriptions.tapes
(Consumer<Tape.Builder>... tapes) An array of virtual tape descriptions.An array of virtual tape descriptions.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
-
tapes
An array of virtual tape descriptions.
- Parameters:
tapes
- An array of virtual tape descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tapes
An array of virtual tape descriptions.
- Parameters:
tapes
- An array of virtual tape descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tapes
An array of virtual tape descriptions.
This is a convenience method that creates an instance of theTape.Builder
avoiding the need to create one manually viaTape.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totapes(List<Tape>)
.- Parameters:
tapes
- a consumer that will call methods onTape.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
An opaque string that can be used as part of a subsequent
DescribeTapes
call to retrieve the next page of results.If a response does not contain a marker, then there are no more results to be retrieved.
- Parameters:
marker
- An opaque string that can be used as part of a subsequentDescribeTapes
call to retrieve the next page of results.If a response does not contain a marker, then there are no more results to be retrieved.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-