public static interface BatchDeleteClusterSnapshotsResponse.Builder extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<BatchDeleteClusterSnapshotsResponse.Builder,BatchDeleteClusterSnapshotsResponse>
Modifier and Type | Method and Description |
---|---|
BatchDeleteClusterSnapshotsResponse.Builder |
errors(Collection<SnapshotErrorMessage> errors)
A list of any errors returned.
|
BatchDeleteClusterSnapshotsResponse.Builder |
errors(Consumer<SnapshotErrorMessage.Builder>... errors)
A list of any errors returned.
|
BatchDeleteClusterSnapshotsResponse.Builder |
errors(SnapshotErrorMessage... errors)
A list of any errors returned.
|
BatchDeleteClusterSnapshotsResponse.Builder |
resources(Collection<String> resources)
A list of the snapshot identifiers that were deleted.
|
BatchDeleteClusterSnapshotsResponse.Builder |
resources(String... resources)
A list of the snapshot identifiers that were deleted.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
BatchDeleteClusterSnapshotsResponse.Builder resources(Collection<String> resources)
A list of the snapshot identifiers that were deleted.
resources
- A list of the snapshot identifiers that were deleted.BatchDeleteClusterSnapshotsResponse.Builder resources(String... resources)
A list of the snapshot identifiers that were deleted.
resources
- A list of the snapshot identifiers that were deleted.BatchDeleteClusterSnapshotsResponse.Builder errors(Collection<SnapshotErrorMessage> errors)
A list of any errors returned.
errors
- A list of any errors returned.BatchDeleteClusterSnapshotsResponse.Builder errors(SnapshotErrorMessage... errors)
A list of any errors returned.
errors
- A list of any errors returned.BatchDeleteClusterSnapshotsResponse.Builder errors(Consumer<SnapshotErrorMessage.Builder>... errors)
A list of any errors returned.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #errors(List)
.errors
- a consumer that will call methods on List.Builder
#errors(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.