Class CfnClusterSecurityGroupIngressMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.redshift.mixins.CfnClusterSecurityGroupIngressMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterSecurityGroupIngressMixinProps>
- Enclosing interface:
CfnClusterSecurityGroupIngressMixinProps
@Stability(Stable)
public static final class CfnClusterSecurityGroupIngressMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterSecurityGroupIngressMixinProps>
A builder for
CfnClusterSecurityGroupIngressMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnClusterSecurityGroupIngressMixinProps.getCidrip()clusterSecurityGroupName(String clusterSecurityGroupName) Sets the value ofCfnClusterSecurityGroupIngressMixinProps.getClusterSecurityGroupName()ec2SecurityGroupName(String ec2SecurityGroupName) Sets the value ofCfnClusterSecurityGroupIngressMixinProps.getEc2SecurityGroupName()ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId) Sets the value ofCfnClusterSecurityGroupIngressMixinProps.getEc2SecurityGroupOwnerId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cidrip
Sets the value ofCfnClusterSecurityGroupIngressMixinProps.getCidrip()- Parameters:
cidrip- The IP range to be added the Amazon Redshift security group.- Returns:
this
-
clusterSecurityGroupName
@Stability(Stable) public CfnClusterSecurityGroupIngressMixinProps.Builder clusterSecurityGroupName(String clusterSecurityGroupName) Sets the value ofCfnClusterSecurityGroupIngressMixinProps.getClusterSecurityGroupName()- Parameters:
clusterSecurityGroupName- The name of the security group to which the ingress rule is added.- Returns:
this
-
ec2SecurityGroupName
@Stability(Stable) public CfnClusterSecurityGroupIngressMixinProps.Builder ec2SecurityGroupName(String ec2SecurityGroupName) Sets the value ofCfnClusterSecurityGroupIngressMixinProps.getEc2SecurityGroupName()- Parameters:
ec2SecurityGroupName- The EC2 security group to be added the Amazon Redshift security group.- Returns:
this
-
ec2SecurityGroupOwnerId
@Stability(Stable) public CfnClusterSecurityGroupIngressMixinProps.Builder ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId) Sets the value ofCfnClusterSecurityGroupIngressMixinProps.getEc2SecurityGroupOwnerId()- Parameters:
ec2SecurityGroupOwnerId- The AWS account number of the owner of the security group specified by the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.Example:
111122223333Conditional. If you specify the
EC2SecurityGroupNameproperty, you must specify this property.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterSecurityGroupIngressMixinProps>- Returns:
- a new instance of
CfnClusterSecurityGroupIngressMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-