Interface DescribeClusterSecurityGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeClusterSecurityGroupsResponse.Builder,,DescribeClusterSecurityGroupsResponse> RedshiftResponse.Builder,SdkBuilder<DescribeClusterSecurityGroupsResponse.Builder,,DescribeClusterSecurityGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeClusterSecurityGroupsResponse
public static interface DescribeClusterSecurityGroupsResponse.Builder
extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeClusterSecurityGroupsResponse.Builder,DescribeClusterSecurityGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclusterSecurityGroups(Collection<ClusterSecurityGroup> clusterSecurityGroups) A list of ClusterSecurityGroup instances.clusterSecurityGroups(Consumer<ClusterSecurityGroup.Builder>... clusterSecurityGroups) A list of ClusterSecurityGroup instances.clusterSecurityGroups(ClusterSecurityGroup... clusterSecurityGroups) A list of ClusterSecurityGroup 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
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 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
Markerparameter and retrying the command. If theMarkerfield 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 theMarkerparameter and retrying the command. If theMarkerfield 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.
-
clusterSecurityGroups
DescribeClusterSecurityGroupsResponse.Builder clusterSecurityGroups(Collection<ClusterSecurityGroup> clusterSecurityGroups) A list of ClusterSecurityGroup instances.
- Parameters:
clusterSecurityGroups- A list of ClusterSecurityGroup instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterSecurityGroups
DescribeClusterSecurityGroupsResponse.Builder clusterSecurityGroups(ClusterSecurityGroup... clusterSecurityGroups) A list of ClusterSecurityGroup instances.
- Parameters:
clusterSecurityGroups- A list of ClusterSecurityGroup instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterSecurityGroups
DescribeClusterSecurityGroupsResponse.Builder clusterSecurityGroups(Consumer<ClusterSecurityGroup.Builder>... clusterSecurityGroups) A list of ClusterSecurityGroup instances.
This is a convenience method that creates an instance of theClusterSecurityGroup.Builderavoiding the need to create one manually viaClusterSecurityGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclusterSecurityGroups(List<ClusterSecurityGroup>).- Parameters:
clusterSecurityGroups- a consumer that will call methods onClusterSecurityGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-