Class CfnLabelMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.frauddetector.CfnLabelMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLabelMixinProps>
- Enclosing interface:
CfnLabelMixinProps
@Stability(Stable)
public static final class CfnLabelMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLabelMixinProps>
A builder for
CfnLabelMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnLabelMixinProps.getDescription()Sets the value ofCfnLabelMixinProps.getName()Sets the value ofCfnLabelMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnLabelMixinProps.getDescription()- Parameters:
description- The label description.- Returns:
this
-
name
Sets the value ofCfnLabelMixinProps.getName()- Parameters:
name- The label name. Pattern:^[0-9a-z_-]+$- Returns:
this
-
tags
Sets the value ofCfnLabelMixinProps.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnLabelMixinProps>- Returns:
- a new instance of
CfnLabelMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-