Class CfnControlPanelProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53recoverycontrol.CfnControlPanelProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnControlPanelProps>
- Enclosing interface:
CfnControlPanelProps
@Stability(Stable)
public static final class CfnControlPanelProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnControlPanelProps>
A builder for
CfnControlPanelProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.clusterArn
(String clusterArn) Sets the value ofCfnControlPanelProps.getClusterArn()
Sets the value ofCfnControlPanelProps.getName()
Sets the value ofCfnControlPanelProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnControlPanelProps.getName()
- Parameters:
name
- The name of the control panel. This parameter is required. You can use any non-white space character in the name.- Returns:
this
-
clusterArn
Sets the value ofCfnControlPanelProps.getClusterArn()
- Parameters:
clusterArn
- The Amazon Resource Name (ARN) of the cluster for the control panel.- Returns:
this
-
tags
Sets the value ofCfnControlPanelProps.getTags()
- Parameters:
tags
- The value for a tag.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnControlPanelProps>
- Returns:
- a new instance of
CfnControlPanelProps
- Throws:
NullPointerException
- if any required attribute was not provided
-