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