Interface CreateClusterSecurityGroupResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<CreateClusterSecurityGroupResponse.Builder,,- CreateClusterSecurityGroupResponse> - RedshiftResponse.Builder,- SdkBuilder<CreateClusterSecurityGroupResponse.Builder,,- CreateClusterSecurityGroupResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- CreateClusterSecurityGroupResponse
@Mutable
@NotThreadSafe
public static interface CreateClusterSecurityGroupResponse.Builder
extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<CreateClusterSecurityGroupResponse.Builder,CreateClusterSecurityGroupResponse> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
clusterSecurityGroupCreateClusterSecurityGroupResponse.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.
 
- 
clusterSecurityGroupdefault CreateClusterSecurityGroupResponse.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.Builderavoiding the need to create one manually viaClusterSecurityGroup.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclusterSecurityGroup(ClusterSecurityGroup).- Parameters:
- clusterSecurityGroup- a consumer that will call methods on- ClusterSecurityGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-