Interface BatchModifyClusterSnapshotsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchModifyClusterSnapshotsResponse.Builder,BatchModifyClusterSnapshotsResponse>,RedshiftResponse.Builder,SdkBuilder<BatchModifyClusterSnapshotsResponse.Builder,BatchModifyClusterSnapshotsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchModifyClusterSnapshotsResponse
public static interface BatchModifyClusterSnapshotsResponse.Builder extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<BatchModifyClusterSnapshotsResponse.Builder,BatchModifyClusterSnapshotsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchModifyClusterSnapshotsResponse.Buildererrors(Collection<SnapshotErrorMessage> errors)A list of any errors returned.BatchModifyClusterSnapshotsResponse.Buildererrors(Consumer<SnapshotErrorMessage.Builder>... errors)A list of any errors returned.BatchModifyClusterSnapshotsResponse.Buildererrors(SnapshotErrorMessage... errors)A list of any errors returned.BatchModifyClusterSnapshotsResponse.Builderresources(String... resources)A list of the snapshots that were modified.BatchModifyClusterSnapshotsResponse.Builderresources(Collection<String> resources)A list of the snapshots that were modified.-
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
BatchModifyClusterSnapshotsResponse.Builder resources(Collection<String> resources)
A list of the snapshots that were modified.
- Parameters:
resources- A list of the snapshots that were modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
BatchModifyClusterSnapshotsResponse.Builder resources(String... resources)
A list of the snapshots that were modified.
- Parameters:
resources- A list of the snapshots that were modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchModifyClusterSnapshotsResponse.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
BatchModifyClusterSnapshotsResponse.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
BatchModifyClusterSnapshotsResponse.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)
-
-