@Stability(value=Stable) public static final class CfnDBSecurityGroupIngressProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDBSecurityGroupIngressProps>
CfnDBSecurityGroupIngressProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDBSecurityGroupIngressProps |
build()
Builds the configured instance.
|
CfnDBSecurityGroupIngressProps.Builder |
cidrip(String cidrip)
Sets the value of
CfnDBSecurityGroupIngressProps.getCidrip() |
CfnDBSecurityGroupIngressProps.Builder |
dbSecurityGroupName(String dbSecurityGroupName)
Sets the value of
CfnDBSecurityGroupIngressProps.getDbSecurityGroupName() |
CfnDBSecurityGroupIngressProps.Builder |
ec2SecurityGroupId(String ec2SecurityGroupId)
Sets the value of
CfnDBSecurityGroupIngressProps.getEc2SecurityGroupId() |
CfnDBSecurityGroupIngressProps.Builder |
ec2SecurityGroupName(String ec2SecurityGroupName)
Sets the value of
CfnDBSecurityGroupIngressProps.getEc2SecurityGroupName() |
CfnDBSecurityGroupIngressProps.Builder |
ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId)
Sets the value of
CfnDBSecurityGroupIngressProps.getEc2SecurityGroupOwnerId() |
@Stability(value=Stable) public CfnDBSecurityGroupIngressProps.Builder dbSecurityGroupName(String dbSecurityGroupName)
CfnDBSecurityGroupIngressProps.getDbSecurityGroupName()dbSecurityGroupName - The name of the DB security group to add authorization to. This parameter is required.this@Stability(value=Stable) public CfnDBSecurityGroupIngressProps.Builder cidrip(String cidrip)
CfnDBSecurityGroupIngressProps.getCidrip()cidrip - The IP range to authorize.this@Stability(value=Stable) public CfnDBSecurityGroupIngressProps.Builder ec2SecurityGroupId(String ec2SecurityGroupId)
CfnDBSecurityGroupIngressProps.getEc2SecurityGroupId()ec2SecurityGroupId - Id of the EC2 security group to authorize.
For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.this@Stability(value=Stable) public CfnDBSecurityGroupIngressProps.Builder ec2SecurityGroupName(String ec2SecurityGroupName)
CfnDBSecurityGroupIngressProps.getEc2SecurityGroupName()ec2SecurityGroupName - Name of the EC2 security group to authorize.
For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.this@Stability(value=Stable) public CfnDBSecurityGroupIngressProps.Builder ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId)
CfnDBSecurityGroupIngressProps.getEc2SecurityGroupOwnerId()ec2SecurityGroupOwnerId - AWS account number of the owner of the EC2 security group specified in the `EC2SecurityGroupName` parameter.
The AWS access key ID isn't an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.this@Stability(value=Stable) public CfnDBSecurityGroupIngressProps build()
build in interface software.amazon.jsii.Builder<CfnDBSecurityGroupIngressProps>CfnDBSecurityGroupIngressPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.