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