public static final class CfnClusterSecurityGroupIngressProps.Builder
extends java.lang.Object
CfnClusterSecurityGroupIngressProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnClusterSecurityGroupIngressProps |
build()
Builds the configured instance.
|
CfnClusterSecurityGroupIngressProps.Builder |
cidrip(java.lang.String cidrip)
Sets the value of
CfnClusterSecurityGroupIngressProps.getCidrip() |
CfnClusterSecurityGroupIngressProps.Builder |
clusterSecurityGroupName(java.lang.String clusterSecurityGroupName)
Sets the value of
CfnClusterSecurityGroupIngressProps.getClusterSecurityGroupName() |
CfnClusterSecurityGroupIngressProps.Builder |
ec2SecurityGroupName(java.lang.String ec2SecurityGroupName)
Sets the value of
CfnClusterSecurityGroupIngressProps.getEc2SecurityGroupName() |
CfnClusterSecurityGroupIngressProps.Builder |
ec2SecurityGroupOwnerId(java.lang.String ec2SecurityGroupOwnerId)
Sets the value of
CfnClusterSecurityGroupIngressProps.getEc2SecurityGroupOwnerId() |
public CfnClusterSecurityGroupIngressProps.Builder clusterSecurityGroupName(java.lang.String clusterSecurityGroupName)
CfnClusterSecurityGroupIngressProps.getClusterSecurityGroupName()
clusterSecurityGroupName
- The name of the security group to which the ingress rule is added. This parameter is required.this
public CfnClusterSecurityGroupIngressProps.Builder cidrip(java.lang.String cidrip)
CfnClusterSecurityGroupIngressProps.getCidrip()
cidrip
- The IP range to be added the Amazon Redshift security group.this
public CfnClusterSecurityGroupIngressProps.Builder ec2SecurityGroupName(java.lang.String ec2SecurityGroupName)
CfnClusterSecurityGroupIngressProps.getEc2SecurityGroupName()
ec2SecurityGroupName
- The EC2 security group to be added the Amazon Redshift security group.this
public CfnClusterSecurityGroupIngressProps.Builder ec2SecurityGroupOwnerId(java.lang.String ec2SecurityGroupOwnerId)
CfnClusterSecurityGroupIngressProps.getEc2SecurityGroupOwnerId()
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: 111122223333
Conditional. If you specify the EC2SecurityGroupName
property, you must specify this property.
this
public CfnClusterSecurityGroupIngressProps build()
CfnClusterSecurityGroupIngressProps
java.lang.NullPointerException
- if any required attribute was not provided