public static interface BatchModifyClusterSnapshotsResponse.Builder extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<BatchModifyClusterSnapshotsResponse.Builder,BatchModifyClusterSnapshotsResponse>
Modifier and Type | Method and Description |
---|---|
BatchModifyClusterSnapshotsResponse.Builder |
errors(Collection<SnapshotErrorMessage> errors)
A list of any errors returned.
|
BatchModifyClusterSnapshotsResponse.Builder |
errors(Consumer<SnapshotErrorMessage.Builder>... errors)
A list of any errors returned.
|
BatchModifyClusterSnapshotsResponse.Builder |
errors(SnapshotErrorMessage... errors)
A list of any errors returned.
|
BatchModifyClusterSnapshotsResponse.Builder |
resources(Collection<String> resources)
A list of the snapshots that were modified.
|
BatchModifyClusterSnapshotsResponse.Builder |
resources(String... resources)
A list of the snapshots that were modified.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
BatchModifyClusterSnapshotsResponse.Builder resources(Collection<String> resources)
A list of the snapshots that were modified.
resources
- A list of the snapshots that were modified.BatchModifyClusterSnapshotsResponse.Builder resources(String... resources)
A list of the snapshots that were modified.
resources
- A list of the snapshots that were modified.BatchModifyClusterSnapshotsResponse.Builder errors(Collection<SnapshotErrorMessage> errors)
A list of any errors returned.
errors
- A list of any errors returned.BatchModifyClusterSnapshotsResponse.Builder errors(SnapshotErrorMessage... errors)
A list of any errors returned.
errors
- A list of any errors returned.BatchModifyClusterSnapshotsResponse.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.