Interface DescribeTapesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeTapesResponse.Builder,,DescribeTapesResponse> SdkBuilder<DescribeTapesResponse.Builder,,DescribeTapesResponse> SdkPojo,SdkResponse.Builder,StorageGatewayResponse.Builder
- Enclosing class:
DescribeTapesResponse
@Mutable
@NotThreadSafe
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 subsequentDescribeTapescall 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaTape.builder().When the
Consumercompletes,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
DescribeTapescall 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 subsequentDescribeTapescall 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.
-