Class CfnDBSecurityGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.rds.CfnDBSecurityGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBSecurityGroupMixinProps>
- Enclosing interface:
CfnDBSecurityGroupMixinProps
@Stability(Stable)
public static final class CfnDBSecurityGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBSecurityGroupMixinProps>
A builder for
CfnDBSecurityGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dbSecurityGroupIngress(List<? extends Object> dbSecurityGroupIngress) Sets the value ofCfnDBSecurityGroupMixinProps.getDbSecurityGroupIngress()dbSecurityGroupIngress(IResolvable dbSecurityGroupIngress) Sets the value ofCfnDBSecurityGroupMixinProps.getDbSecurityGroupIngress()Sets the value ofCfnDBSecurityGroupMixinProps.getEc2VpcId()groupDescription(String groupDescription) Sets the value ofCfnDBSecurityGroupMixinProps.getGroupDescription()Sets the value ofCfnDBSecurityGroupMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dbSecurityGroupIngress
@Stability(Stable) public CfnDBSecurityGroupMixinProps.Builder dbSecurityGroupIngress(IResolvable dbSecurityGroupIngress) Sets the value ofCfnDBSecurityGroupMixinProps.getDbSecurityGroupIngress()- Parameters:
dbSecurityGroupIngress- Ingress rules to be applied to the DB security group.- Returns:
this
-
dbSecurityGroupIngress
@Stability(Stable) public CfnDBSecurityGroupMixinProps.Builder dbSecurityGroupIngress(List<? extends Object> dbSecurityGroupIngress) Sets the value ofCfnDBSecurityGroupMixinProps.getDbSecurityGroupIngress()- Parameters:
dbSecurityGroupIngress- Ingress rules to be applied to the DB security group.- Returns:
this
-
ec2VpcId
Sets the value ofCfnDBSecurityGroupMixinProps.getEc2VpcId()- Parameters:
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.
- Returns:
this
-
groupDescription
@Stability(Stable) public CfnDBSecurityGroupMixinProps.Builder groupDescription(String groupDescription) Sets the value ofCfnDBSecurityGroupMixinProps.getGroupDescription()- Parameters:
groupDescription- Provides the description of the DB security group.- Returns:
this
-
tags
Sets the value ofCfnDBSecurityGroupMixinProps.getTags()- Parameters:
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 .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDBSecurityGroupMixinProps>- Returns:
- a new instance of
CfnDBSecurityGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-