Class CfnResolverRuleAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53resolver.CfnResolverRuleAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResolverRuleAssociationProps>
- Enclosing interface:
- CfnResolverRuleAssociationProps
@Stability(Stable)
public static final class CfnResolverRuleAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResolverRuleAssociationProps>
A builder for
CfnResolverRuleAssociationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnResolverRuleAssociationProps.getName()resolverRuleId(String resolverRuleId) Sets the value ofCfnResolverRuleAssociationProps.getResolverRuleId()Sets the value ofCfnResolverRuleAssociationProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resolverRuleId
@Stability(Stable) public CfnResolverRuleAssociationProps.Builder resolverRuleId(String resolverRuleId) Sets the value ofCfnResolverRuleAssociationProps.getResolverRuleId()- Parameters:
resolverRuleId- The ID of the Resolver rule that you associated with the VPC that is specified byVPCId. This parameter is required.- Returns:
this
-
vpcId
Sets the value ofCfnResolverRuleAssociationProps.getVpcId()- Parameters:
vpcId- The ID of the VPC that you associated the Resolver rule with. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnResolverRuleAssociationProps.getName()- Parameters:
name- The name of an association between a Resolver rule and a VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResolverRuleAssociationProps>- Returns:
- a new instance of
CfnResolverRuleAssociationProps - Throws:
NullPointerException- if any required attribute was not provided
-