Interface ListVaultsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListVaultsResponse.Builder,
,ListVaultsResponse> GlacierResponse.Builder
,SdkBuilder<ListVaultsResponse.Builder,
,ListVaultsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListVaultsResponse
public static interface ListVaultsResponse.Builder
extends GlacierResponse.Builder, SdkPojo, CopyableBuilder<ListVaultsResponse.Builder,ListVaultsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe vault ARN at which to continue pagination of the results.vaultList
(Collection<DescribeVaultOutput> vaultList) List of vaults.vaultList
(Consumer<DescribeVaultOutput.Builder>... vaultList) List of vaults.vaultList
(DescribeVaultOutput... vaultList) List of vaults.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.glacier.model.GlacierResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
vaultList
List of vaults.
- Parameters:
vaultList
- List of vaults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vaultList
List of vaults.
- Parameters:
vaultList
- List of vaults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vaultList
List of vaults.
This is a convenience method that creates an instance of theDescribeVaultOutput.Builder
avoiding the need to create one manually viaDescribeVaultOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovaultList(List<DescribeVaultOutput>)
.- Parameters:
vaultList
- a consumer that will call methods onDescribeVaultOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
The vault ARN at which to continue pagination of the results. You use the marker in another List Vaults request to obtain more vaults in the list.
- Parameters:
marker
- The vault ARN at which to continue pagination of the results. You use the marker in another List Vaults request to obtain more vaults in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-