@Stability(value=Stable) public static final class CfnDBSecurityGroup.IngressProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDBSecurityGroup.IngressProperty>
CfnDBSecurityGroup.IngressProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDBSecurityGroup.IngressProperty |
build()
Builds the configured instance.
|
CfnDBSecurityGroup.IngressProperty.Builder |
cidrip(String cidrip)
Sets the value of
CfnDBSecurityGroup.IngressProperty.getCidrip() |
CfnDBSecurityGroup.IngressProperty.Builder |
ec2SecurityGroupId(String ec2SecurityGroupId)
Sets the value of
CfnDBSecurityGroup.IngressProperty.getEc2SecurityGroupId() |
CfnDBSecurityGroup.IngressProperty.Builder |
ec2SecurityGroupName(String ec2SecurityGroupName)
Sets the value of
CfnDBSecurityGroup.IngressProperty.getEc2SecurityGroupName() |
CfnDBSecurityGroup.IngressProperty.Builder |
ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId)
Sets the value of
CfnDBSecurityGroup.IngressProperty.getEc2SecurityGroupOwnerId() |
@Stability(value=Stable) public CfnDBSecurityGroup.IngressProperty.Builder cidrip(String cidrip)
CfnDBSecurityGroup.IngressProperty.getCidrip()cidrip - The IP range to authorize.this@Stability(value=Stable) public CfnDBSecurityGroup.IngressProperty.Builder ec2SecurityGroupId(String ec2SecurityGroupId)
CfnDBSecurityGroup.IngressProperty.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 CfnDBSecurityGroup.IngressProperty.Builder ec2SecurityGroupName(String ec2SecurityGroupName)
CfnDBSecurityGroup.IngressProperty.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 CfnDBSecurityGroup.IngressProperty.Builder ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId)
CfnDBSecurityGroup.IngressProperty.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 CfnDBSecurityGroup.IngressProperty build()
build in interface software.amazon.jsii.Builder<CfnDBSecurityGroup.IngressProperty>CfnDBSecurityGroup.IngressPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.