@Stability(value=Stable) public static final class CfnLabelProps.Builder extends Object implements software.amazon.jsii.Builder<CfnLabelProps>
CfnLabelProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnLabelProps |
build()
Builds the configured instance.
|
CfnLabelProps.Builder |
description(String description)
Sets the value of
CfnLabelProps.getDescription() |
CfnLabelProps.Builder |
name(String name)
Sets the value of
CfnLabelProps.getName() |
CfnLabelProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnLabelProps.getTags() |
@Stability(value=Stable) public CfnLabelProps.Builder name(String name)
CfnLabelProps.getName()name - The label name. This parameter is required.
Pattern: ^[0-9a-z_-]+$this@Stability(value=Stable) public CfnLabelProps.Builder description(String description)
CfnLabelProps.getDescription()description - The label description.this@Stability(value=Stable) public CfnLabelProps.Builder tags(List<? extends CfnTag> tags)
CfnLabelProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnLabelProps build()
build in interface software.amazon.jsii.Builder<CfnLabelProps>CfnLabelPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.