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 Details

    • create

      @Stability(Stable) public static CfnResolverRuleAssociation.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnResolverRuleAssociation.Builder.
    • resolverRuleId

      @Stability(Stable) public CfnResolverRuleAssociation.Builder resolverRuleId(String resolverRuleId)
      The ID of the Resolver rule that you associated with the VPC that is specified by VPCId .

      Parameters:
      resolverRuleId - The ID of the Resolver rule that you associated with the VPC that is specified by VPCId . This parameter is required.
      Returns:
      this
    • vpcId

      @Stability(Stable) public CfnResolverRuleAssociation.Builder vpcId(String 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

      @Stability(Stable) public CfnResolverRuleAssociation.Builder name(String 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

      @Stability(Stable) public CfnResolverRuleAssociation build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnResolverRuleAssociation>
      Returns:
      a newly built instance of CfnResolverRuleAssociation.