Class CfnResolverRuleAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.route53resolver.CfnResolverRuleAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResolverRuleAssociationMixinProps>
- Enclosing interface:
CfnResolverRuleAssociationMixinProps
@Stability(Stable)
public static final class CfnResolverRuleAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResolverRuleAssociationMixinProps>
A builder for
CfnResolverRuleAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnResolverRuleAssociationMixinProps.getName()resolverRuleId(String resolverRuleId) Sets the value ofCfnResolverRuleAssociationMixinProps.getResolverRuleId()resolverRuleId(IResolverRuleRef resolverRuleId) Sets the value ofCfnResolverRuleAssociationMixinProps.getResolverRuleId()Sets the value ofCfnResolverRuleAssociationMixinProps.getVpcId()Sets the value ofCfnResolverRuleAssociationMixinProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnResolverRuleAssociationMixinProps.getName()- Parameters:
name- The name of an association between a Resolver rule and a VPC. The name can be up to 64 characters long and can contain letters (a-z, A-Z), numbers (0-9), hyphens (-), underscores (_), and spaces. The name cannot consist of only numbers.- Returns:
this
-
resolverRuleId
@Stability(Stable) public CfnResolverRuleAssociationMixinProps.Builder resolverRuleId(String resolverRuleId) Sets the value ofCfnResolverRuleAssociationMixinProps.getResolverRuleId()- Parameters:
resolverRuleId- The ID of the Resolver rule that you associated with the VPC that is specified byVPCId.- Returns:
this
-
resolverRuleId
@Stability(Stable) public CfnResolverRuleAssociationMixinProps.Builder resolverRuleId(IResolverRuleRef resolverRuleId) Sets the value ofCfnResolverRuleAssociationMixinProps.getResolverRuleId()- Parameters:
resolverRuleId- The ID of the Resolver rule that you associated with the VPC that is specified byVPCId.- Returns:
this
-
vpcId
Sets the value ofCfnResolverRuleAssociationMixinProps.getVpcId()- Parameters:
vpcId- The ID of the VPC that you associated the Resolver rule with.- Returns:
this
-
vpcId
Sets the value ofCfnResolverRuleAssociationMixinProps.getVpcId()- Parameters:
vpcId- The ID of the VPC that you associated the Resolver rule with.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResolverRuleAssociationMixinProps>- Returns:
- a new instance of
CfnResolverRuleAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-