Interface ListTapePoolsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTapePoolsResponse.Builder,,ListTapePoolsResponse> SdkBuilder<ListTapePoolsResponse.Builder,,ListTapePoolsResponse> SdkPojo,SdkResponse.Builder,StorageGatewayResponse.Builder
- Enclosing class:
ListTapePoolsResponse
-
Method Summary
Modifier and TypeMethodDescriptionA string that indicates the position at which to begin the returned list of tape pools.poolInfos(Collection<PoolInfo> poolInfos) An array ofPoolInfoobjects, where each object describes a single custom tape pool.poolInfos(Consumer<PoolInfo.Builder>... poolInfos) An array ofPoolInfoobjects, where each object describes a single custom tape pool.An array ofPoolInfoobjects, where each object describes a single custom tape pool.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
-
poolInfos
An array of
PoolInfoobjects, where each object describes a single custom tape pool. If there are no custom tape pools, thePoolInfosis an empty array.- Parameters:
poolInfos- An array ofPoolInfoobjects, where each object describes a single custom tape pool. If there are no custom tape pools, thePoolInfosis an empty array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolInfos
An array of
PoolInfoobjects, where each object describes a single custom tape pool. If there are no custom tape pools, thePoolInfosis an empty array.- Parameters:
poolInfos- An array ofPoolInfoobjects, where each object describes a single custom tape pool. If there are no custom tape pools, thePoolInfosis an empty array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolInfos
An array of
This is a convenience method that creates an instance of thePoolInfoobjects, where each object describes a single custom tape pool. If there are no custom tape pools, thePoolInfosis an empty array.PoolInfo.Builderavoiding the need to create one manually viaPoolInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topoolInfos(List<PoolInfo>).- Parameters:
poolInfos- a consumer that will call methods onPoolInfo.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 the returned list of tape pools. Use the marker in your next request to continue pagination of tape pools. If there are no more tape pools to list, this element does not appear in the response body.
- Parameters:
marker- A string that indicates the position at which to begin the returned list of tape pools. Use the marker in your next request to continue pagination of tape pools. If there are no more tape pools 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.
-