Class CfnGlobalResolverProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53globalresolver.CfnGlobalResolverProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGlobalResolverProps>
- Enclosing interface:
CfnGlobalResolverProps
@Stability(Stable)
public static final class CfnGlobalResolverProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGlobalResolverProps>
A builder for
CfnGlobalResolverProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clientToken(String clientToken) Sets the value ofCfnGlobalResolverProps.getClientToken()description(String description) Sets the value ofCfnGlobalResolverProps.getDescription()ipAddressType(String ipAddressType) Sets the value ofCfnGlobalResolverProps.getIpAddressType()Sets the value ofCfnGlobalResolverProps.getName()observabilityRegion(String observabilityRegion) Sets the value ofCfnGlobalResolverProps.getObservabilityRegion()Sets the value ofCfnGlobalResolverProps.getRegions()Sets the value ofCfnGlobalResolverProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnGlobalResolverProps.getName()- Parameters:
name- the value to be set. This parameter is required.- Returns:
this
-
regions
Sets the value ofCfnGlobalResolverProps.getRegions()- Parameters:
regions- the value to be set. This parameter is required.- Returns:
this
-
clientToken
Sets the value ofCfnGlobalResolverProps.getClientToken()- Parameters:
clientToken- the value to be set.- Returns:
this
-
description
Sets the value ofCfnGlobalResolverProps.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
ipAddressType
Sets the value ofCfnGlobalResolverProps.getIpAddressType()- Parameters:
ipAddressType- the value to be set.- Returns:
this
-
observabilityRegion
@Stability(Stable) public CfnGlobalResolverProps.Builder observabilityRegion(String observabilityRegion) Sets the value ofCfnGlobalResolverProps.getObservabilityRegion()- Parameters:
observabilityRegion- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnGlobalResolverProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGlobalResolverProps>- Returns:
- a new instance of
CfnGlobalResolverProps - Throws:
NullPointerException- if any required attribute was not provided
-