Class CfnLabel.Builder
java.lang.Object
software.amazon.awscdk.services.frauddetector.CfnLabel.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLabel>
- Enclosing class:
CfnLabel
@Stability(Stable)
public static final class CfnLabel.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLabel>
A fluent builder for
CfnLabel
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnLabel.Builder
description
(String description) The label description.The label name.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnLabel.Builder
.
-
name
The label name.Pattern:
^[0-9a-z_-]+$
- Parameters:
name
- The label name. This parameter is required.- Returns:
this
-
description
The label description.- Parameters:
description
- The label description. This parameter is required.- Returns:
this
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags
- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this
-
build
-