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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchDeleteClusterSnapshotsResponse.Buildererrors(Collection<SnapshotErrorMessage> errors)A list of any errors returned.BatchDeleteClusterSnapshotsResponse.Buildererrors(Consumer<SnapshotErrorMessage.Builder>... errors)A list of any errors returned.BatchDeleteClusterSnapshotsResponse.Buildererrors(SnapshotErrorMessage... errors)A list of any errors returned.BatchDeleteClusterSnapshotsResponse.Builderresources(String... resources)A list of the snapshot identifiers that were deleted.BatchDeleteClusterSnapshotsResponse.Builderresources(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 Detail
-
resources
BatchDeleteClusterSnapshotsResponse.Builder resources(Collection<String> 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
BatchDeleteClusterSnapshotsResponse.Builder resources(String... 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
BatchDeleteClusterSnapshotsResponse.Builder errors(Collection<SnapshotErrorMessage> 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(SnapshotErrorMessage... 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.Builderavoiding the need to create one manually viaSnapshotErrorMessage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - 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:
#errors(java.util.Collection)
-
-