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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnClusterProps.getName()
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
-
tags
Sets the value ofCfnClusterProps.getTags()
- Parameters:
tags
- The tags associated with the cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnClusterProps>
- Returns:
- a new instance of
CfnClusterProps
- Throws:
NullPointerException
- if any required attribute was not provided
-