Interface AuthorizeClusterSecurityGroupIngressResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AuthorizeClusterSecurityGroupIngressResponse.Builder,
,AuthorizeClusterSecurityGroupIngressResponse> RedshiftResponse.Builder
,SdkBuilder<AuthorizeClusterSecurityGroupIngressResponse.Builder,
,AuthorizeClusterSecurityGroupIngressResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AuthorizeClusterSecurityGroupIngressResponse
public static interface AuthorizeClusterSecurityGroupIngressResponse.Builder
extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<AuthorizeClusterSecurityGroupIngressResponse.Builder,AuthorizeClusterSecurityGroupIngressResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclusterSecurityGroup
(Consumer<ClusterSecurityGroup.Builder> clusterSecurityGroup) Sets the value of the ClusterSecurityGroup property for this object.clusterSecurityGroup
(ClusterSecurityGroup clusterSecurityGroup) Sets the value of the ClusterSecurityGroup property for this object.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
-
clusterSecurityGroup
AuthorizeClusterSecurityGroupIngressResponse.Builder clusterSecurityGroup(ClusterSecurityGroup clusterSecurityGroup) Sets the value of the ClusterSecurityGroup property for this object.- Parameters:
clusterSecurityGroup
- The new value for the ClusterSecurityGroup property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterSecurityGroup
default AuthorizeClusterSecurityGroupIngressResponse.Builder clusterSecurityGroup(Consumer<ClusterSecurityGroup.Builder> clusterSecurityGroup) Sets the value of the ClusterSecurityGroup property for this object. This is a convenience method that creates an instance of theClusterSecurityGroup.Builder
avoiding the need to create one manually viaClusterSecurityGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclusterSecurityGroup(ClusterSecurityGroup)
.- Parameters:
clusterSecurityGroup
- 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:
-