@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 is not 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.