Interface BatchDeleteClusterSnapshotsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchDeleteClusterSnapshotsResponse.Builder,
,BatchDeleteClusterSnapshotsResponse> RedshiftResponse.Builder
,SdkBuilder<BatchDeleteClusterSnapshotsResponse.Builder,
,BatchDeleteClusterSnapshotsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchDeleteClusterSnapshotsResponse
public static interface BatchDeleteClusterSnapshotsResponse.Builder
extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<BatchDeleteClusterSnapshotsResponse.Builder,BatchDeleteClusterSnapshotsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors
(Collection<SnapshotErrorMessage> errors) A list of any errors returned.errors
(Consumer<SnapshotErrorMessage.Builder>... errors) A list of any errors returned.errors
(SnapshotErrorMessage... errors) A list of any errors returned.A list of the snapshot identifiers that were deleted.resources
(Collection<String> resources) A list of the snapshot identifiers that were deleted.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.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
-
resources
A list of the snapshot identifiers that were deleted.
- Parameters:
resources
- A list of the snapshot identifiers that were deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
A list of the snapshot identifiers that were deleted.
- Parameters:
resources
- A list of the snapshot identifiers that were deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of any errors returned.
- Parameters:
errors
- A list of any errors returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of any errors returned.
- Parameters:
errors
- A list of any errors returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDeleteClusterSnapshotsResponse.Builder errors(Consumer<SnapshotErrorMessage.Builder>... errors) A list of any errors returned.
This is a convenience method that creates an instance of theSnapshotErrorMessage.Builder
avoiding the need to create one manually viaSnapshotErrorMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<SnapshotErrorMessage>)
.- Parameters:
errors
- a consumer that will call methods onSnapshotErrorMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-