Class CfnLabelProps.Builder
java.lang.Object
software.amazon.awscdk.services.frauddetector.CfnLabelProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLabelProps>
- Enclosing interface:
CfnLabelProps
@Stability(Stable)
public static final class CfnLabelProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLabelProps>
A builder for
CfnLabelProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnLabelProps.getDescription()
Sets the value ofCfnLabelProps.getName()
Sets the value ofCfnLabelProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnLabelProps.getName()
- Parameters:
name
- The label name. This parameter is required. Pattern:^[0-9a-z_-]+$
- Returns:
this
-
description
Sets the value ofCfnLabelProps.getDescription()
- Parameters:
description
- The label description.- Returns:
this
-
tags
Sets the value ofCfnLabelProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLabelProps>
- Returns:
- a new instance of
CfnLabelProps
- Throws:
NullPointerException
- if any required attribute was not provided
-