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(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
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- See Also:
-
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- See Also:
-
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.
- Parameters:
name- The name of an association between a Resolver rule and a VPC. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResolverRuleAssociation>- Returns:
- a newly built instance of
CfnResolverRuleAssociation.
-