Class CfnResolverRuleAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.route53resolver.CfnResolverRuleAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResolverRuleAssociation>
- Enclosing class:
CfnResolverRuleAssociation
@Stability(Stable)
public static final class CfnResolverRuleAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResolverRuleAssociation>
A fluent builder for
CfnResolverRuleAssociation
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The name of an association between a Resolver rule and a VPC.resolverRuleId
(String resolverRuleId) The ID of the Resolver rule that you associated with the VPC that is specified byVPCId
.The ID of the VPC that you associated the Resolver rule with.
-
Method Details
-
create
@Stability(Stable) public static CfnResolverRuleAssociation.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnResolverRuleAssociation.Builder
.
-
resolverRuleId
The ID of the Resolver rule that you associated with the VPC that is specified byVPCId
.- 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
The ID of the VPC that you associated the Resolver rule with.- Parameters:
vpcId
- The ID of the VPC that you associated the Resolver rule with. This parameter is required.- Returns:
this
-
name
The name of an association between a Resolver rule and a VPC.- Parameters:
name
- The name of an association between a Resolver rule and a VPC. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResolverRuleAssociation>
- Returns:
- a newly built instance of
CfnResolverRuleAssociation
.
-