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
@Stability(Stable) public static CfnLabel.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
description
The label description.- Parameters:
description
- The label description. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
build
-