Interface ListTapePoolsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTapePoolsResponse.Builder,ListTapePoolsResponse>,SdkBuilder<ListTapePoolsResponse.Builder,ListTapePoolsResponse>,SdkPojo,SdkResponse.Builder,StorageGatewayResponse.Builder
- Enclosing class:
- ListTapePoolsResponse
public static interface ListTapePoolsResponse.Builder extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<ListTapePoolsResponse.Builder,ListTapePoolsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTapePoolsResponse.Buildermarker(String marker)A string that indicates the position at which to begin the returned list of tape pools.ListTapePoolsResponse.BuilderpoolInfos(Collection<PoolInfo> poolInfos)An array ofPoolInfoobjects, where each object describes a single custom tape pool.ListTapePoolsResponse.BuilderpoolInfos(Consumer<PoolInfo.Builder>... poolInfos)An array ofPoolInfoobjects, where each object describes a single custom tape pool.ListTapePoolsResponse.BuilderpoolInfos(PoolInfo... poolInfos)An array ofPoolInfoobjects, 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 Detail
-
poolInfos
ListTapePoolsResponse.Builder poolInfos(Collection<PoolInfo> 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
ListTapePoolsResponse.Builder poolInfos(PoolInfo... 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
ListTapePoolsResponse.Builder poolInfos(Consumer<PoolInfo.Builder>... 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 to#poolInfos(List.) - 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:
#poolInfos(java.util.Collection)
-
marker
ListTapePoolsResponse.Builder marker(String 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.
-
-