Interface DescribeClusterSubnetGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeClusterSubnetGroupsResponse.Builder,
,DescribeClusterSubnetGroupsResponse> RedshiftResponse.Builder
,SdkBuilder<DescribeClusterSubnetGroupsResponse.Builder,
,DescribeClusterSubnetGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeClusterSubnetGroupsResponse
public static interface DescribeClusterSubnetGroupsResponse.Builder
extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeClusterSubnetGroupsResponse.Builder,DescribeClusterSubnetGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclusterSubnetGroups
(Collection<ClusterSubnetGroup> clusterSubnetGroups) A list of ClusterSubnetGroup instances.clusterSubnetGroups
(Consumer<ClusterSubnetGroup.Builder>... clusterSubnetGroups) A list of ClusterSubnetGroup instances.clusterSubnetGroups
(ClusterSubnetGroup... clusterSubnetGroups) A list of ClusterSubnetGroup instances.A value that indicates the starting point for the next set of response records in a subsequent request.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
-
marker
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.- Parameters:
marker
- A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in theMarker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterSubnetGroups
DescribeClusterSubnetGroupsResponse.Builder clusterSubnetGroups(Collection<ClusterSubnetGroup> clusterSubnetGroups) A list of ClusterSubnetGroup instances.
- Parameters:
clusterSubnetGroups
- A list of ClusterSubnetGroup instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterSubnetGroups
DescribeClusterSubnetGroupsResponse.Builder clusterSubnetGroups(ClusterSubnetGroup... clusterSubnetGroups) A list of ClusterSubnetGroup instances.
- Parameters:
clusterSubnetGroups
- A list of ClusterSubnetGroup instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterSubnetGroups
DescribeClusterSubnetGroupsResponse.Builder clusterSubnetGroups(Consumer<ClusterSubnetGroup.Builder>... clusterSubnetGroups) A list of ClusterSubnetGroup instances.
This is a convenience method that creates an instance of theClusterSubnetGroup.Builder
avoiding the need to create one manually viaClusterSubnetGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclusterSubnetGroups(List<ClusterSubnetGroup>)
.- Parameters:
clusterSubnetGroups
- a consumer that will call methods onClusterSubnetGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-