Interface DescribeClusterDbRevisionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeClusterDbRevisionsResponse.Builder,,DescribeClusterDbRevisionsResponse> RedshiftResponse.Builder,SdkBuilder<DescribeClusterDbRevisionsResponse.Builder,,DescribeClusterDbRevisionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeClusterDbRevisionsResponse
public static interface DescribeClusterDbRevisionsResponse.Builder
extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeClusterDbRevisionsResponse.Builder,DescribeClusterDbRevisionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclusterDbRevisions(Collection<ClusterDbRevision> clusterDbRevisions) A list of revisions.clusterDbRevisions(Consumer<ClusterDbRevision.Builder>... clusterDbRevisions) A list of revisions.clusterDbRevisions(ClusterDbRevision... clusterDbRevisions) A list of revisions.A string representing the starting point for the next set of revisions.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
-
marker
A string representing the starting point for the next set of revisions. If a value is returned in a response, you can retrieve the next set of revisions by providing the value in the
markerparameter and retrying the command. If themarkerfield is empty, all revisions have already been returned.- Parameters:
marker- A string representing the starting point for the next set of revisions. If a value is returned in a response, you can retrieve the next set of revisions by providing the value in themarkerparameter and retrying the command. If themarkerfield is empty, all revisions have already been returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterDbRevisions
DescribeClusterDbRevisionsResponse.Builder clusterDbRevisions(Collection<ClusterDbRevision> clusterDbRevisions) A list of revisions.
- Parameters:
clusterDbRevisions- A list of revisions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterDbRevisions
DescribeClusterDbRevisionsResponse.Builder clusterDbRevisions(ClusterDbRevision... clusterDbRevisions) A list of revisions.
- Parameters:
clusterDbRevisions- A list of revisions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterDbRevisions
DescribeClusterDbRevisionsResponse.Builder clusterDbRevisions(Consumer<ClusterDbRevision.Builder>... clusterDbRevisions) A list of revisions.
This is a convenience method that creates an instance of theClusterDbRevision.Builderavoiding the need to create one manually viaClusterDbRevision.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclusterDbRevisions(List<ClusterDbRevision>).- Parameters:
clusterDbRevisions- a consumer that will call methods onClusterDbRevision.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-