Interface CfnLabelProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLabelProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:56.842Z")
@Stability(Stable)
public interface CfnLabelProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnLabel
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.frauddetector.*; CfnLabelProps cfnLabelProps = CfnLabelProps.builder() .name("name") // the properties below are optional .description("description") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLabelProps
static final class
An implementation forCfnLabelProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnLabelProps.Builder
builder()
default String
The label description.getName()
The label name.getTags()
An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The label name.Pattern:
^[0-9a-z_-]+$
-
getDescription
The label description. -
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
builder
- Returns:
- a
CfnLabelProps.Builder
ofCfnLabelProps
-