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 ofPoolInfo
objects, where each object describes a single custom tape pool.poolInfos
(Consumer<PoolInfo.Builder>... poolInfos) An array ofPoolInfo
objects, where each object describes a single custom tape pool.An array ofPoolInfo
objects, where each object describes a single custom tape pool.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
-
poolInfos
An array of
PoolInfo
objects, where each object describes a single custom tape pool. If there are no custom tape pools, thePoolInfos
is an empty array.- Parameters:
poolInfos
- An array ofPoolInfo
objects, where each object describes a single custom tape pool. If there are no custom tape pools, thePoolInfos
is an empty array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolInfos
An array of
PoolInfo
objects, where each object describes a single custom tape pool. If there are no custom tape pools, thePoolInfos
is an empty array.- Parameters:
poolInfos
- An array ofPoolInfo
objects, where each object describes a single custom tape pool. If there are no custom tape pools, thePoolInfos
is 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 thePoolInfo
objects, where each object describes a single custom tape pool. If there are no custom tape pools, thePoolInfos
is an empty array.PoolInfo.Builder
avoiding the need to create one manually viaPoolInfo.builder()
.When the
Consumer
completes,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.
-