Class CfnDBSecurityGroup.Builder
java.lang.Object
software.amazon.awscdk.services.rds.CfnDBSecurityGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBSecurityGroup>
- Enclosing class:
CfnDBSecurityGroup
@Stability(Stable)
public static final class CfnDBSecurityGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBSecurityGroup>
A fluent builder for
CfnDBSecurityGroup
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnDBSecurityGroup.Builder
dbSecurityGroupIngress
(List<? extends Object> dbSecurityGroupIngress) Ingress rules to be applied to the DB security group.dbSecurityGroupIngress
(IResolvable dbSecurityGroupIngress) Ingress rules to be applied to the DB security group.The identifier of an Amazon virtual private cloud (VPC).groupDescription
(String groupDescription) Provides the description of the DB security group.Metadata assigned to an Amazon RDS resource consisting of a key-value pair.
-
Method Details
-
create
@Stability(Stable) public static CfnDBSecurityGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDBSecurityGroup.Builder
.
-
dbSecurityGroupIngress
@Stability(Stable) public CfnDBSecurityGroup.Builder dbSecurityGroupIngress(IResolvable dbSecurityGroupIngress) Ingress rules to be applied to the DB security group.- Parameters:
dbSecurityGroupIngress
- Ingress rules to be applied to the DB security group. This parameter is required.- Returns:
this
- See Also:
-
dbSecurityGroupIngress
@Stability(Stable) public CfnDBSecurityGroup.Builder dbSecurityGroupIngress(List<? extends Object> dbSecurityGroupIngress) Ingress rules to be applied to the DB security group.- Parameters:
dbSecurityGroupIngress
- Ingress rules to be applied to the DB security group. This parameter is required.- Returns:
this
- See Also:
-
groupDescription
Provides the description of the DB security group.- Parameters:
groupDescription
- Provides the description of the DB security group. This parameter is required.- Returns:
this
- See Also:
-
ec2VpcId
The identifier of an Amazon virtual private cloud (VPC).This property indicates the VPC that this DB security group belongs to.
This property is included for backwards compatibility and is no longer recommended for providing security information to an RDS DB instance.
- Parameters:
ec2VpcId
- The identifier of an Amazon virtual private cloud (VPC). This parameter is required.- Returns:
this
- See Also:
-
tags
Metadata assigned to an Amazon RDS resource consisting of a key-value pair.For more information, see Tagging Amazon RDS resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide .
- Parameters:
tags
- Metadata assigned to an Amazon RDS resource consisting of a key-value pair. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDBSecurityGroup>
- Returns:
- a newly built instance of
CfnDBSecurityGroup
.
-