Class CfnOutpostResolverMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.route53resolver.CfnOutpostResolverMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOutpostResolverMixinProps>
- Enclosing interface:
CfnOutpostResolverMixinProps
@Stability(Stable)
public static final class CfnOutpostResolverMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOutpostResolverMixinProps>
A builder for
CfnOutpostResolverMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instanceCount(Number instanceCount) Sets the value ofCfnOutpostResolverMixinProps.getInstanceCount()Sets the value ofCfnOutpostResolverMixinProps.getName()outpostArn(String outpostArn) Sets the value ofCfnOutpostResolverMixinProps.getOutpostArn()preferredInstanceType(String preferredInstanceType) Sets the value ofCfnOutpostResolverMixinProps.getPreferredInstanceType()Sets the value ofCfnOutpostResolverMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceCount
Sets the value ofCfnOutpostResolverMixinProps.getInstanceCount()- Parameters:
instanceCount- Amazon EC2 instance count for the Resolver on the Outpost.- Returns:
this
-
name
Sets the value ofCfnOutpostResolverMixinProps.getName()- Parameters:
name- Name of the Resolver.- Returns:
this
-
outpostArn
Sets the value ofCfnOutpostResolverMixinProps.getOutpostArn()- Parameters:
outpostArn- The ARN (Amazon Resource Name) for the Outpost.- Returns:
this
-
preferredInstanceType
@Stability(Stable) public CfnOutpostResolverMixinProps.Builder preferredInstanceType(String preferredInstanceType) Sets the value ofCfnOutpostResolverMixinProps.getPreferredInstanceType()- Parameters:
preferredInstanceType- The Amazon EC2 instance type. If you specify this, you must also specify a value for theOutpostArn.- Returns:
this
-
tags
Sets the value ofCfnOutpostResolverMixinProps.getTags()- Parameters:
tags- A key value pair that helps you identify a RouteĀ 53 Resolver .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOutpostResolverMixinProps>- Returns:
- a new instance of
CfnOutpostResolverMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-