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
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 snapshots that were modified.resources(Collection<String> resources) A list of the snapshots that were modified.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
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
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
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
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 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:
 
 
 -