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