Class CfnClusterProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53recoverycontrol.CfnClusterProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterProps>
- Enclosing interface:
CfnClusterProps
@Stability(Stable)
public static final class CfnClusterProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterProps>
A builder for
CfnClusterProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnClusterProps.getName()networkType(String networkType) Sets the value ofCfnClusterProps.getNetworkType()Sets the value ofCfnClusterProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnClusterProps.getName()- Parameters:
name- Name of the cluster. This parameter is required. You can use any non-white space character in the name except the following: & > < ' (single quote) " (double quote) ; (semicolon).- Returns:
this
-
networkType
Sets the value ofCfnClusterProps.getNetworkType()- Parameters:
networkType- The network-type can either be IPV4 or DUALSTACK.- Returns:
this
-
tags
Sets the value ofCfnClusterProps.getTags()- Parameters:
tags- The tags associated with the cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterProps>- Returns:
- a new instance of
CfnClusterProps - Throws:
NullPointerException- if any required attribute was not provided
-