@Stability(value=Stable) public static final class CfnSegmentProps.Builder extends Object implements software.amazon.jsii.Builder<CfnSegmentProps>
CfnSegmentProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnSegmentProps |
build()
Builds the configured instance.
|
CfnSegmentProps.Builder |
description(String description)
Sets the value of
CfnSegmentProps.getDescription() |
CfnSegmentProps.Builder |
name(String name)
Sets the value of
CfnSegmentProps.getName() |
CfnSegmentProps.Builder |
pattern(String pattern)
Sets the value of
CfnSegmentProps.getPattern() |
CfnSegmentProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnSegmentProps.getTags() |
@Stability(value=Stable) public CfnSegmentProps.Builder name(String name)
CfnSegmentProps.getName()name - A name for the segment. This parameter is required.this@Stability(value=Stable) public CfnSegmentProps.Builder description(String description)
CfnSegmentProps.getDescription()description - An optional description for this segment.this@Stability(value=Stable) public CfnSegmentProps.Builder pattern(String pattern)
CfnSegmentProps.getPattern()pattern - The pattern to use for the segment.
For more information about pattern syntax, see Segment rule pattern syntax .this@Stability(value=Stable) public CfnSegmentProps.Builder tags(List<? extends CfnTag> tags)
CfnSegmentProps.getTags()tags - Assigns one or more tags (key-value pairs) to the feature.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with a feature.
For more information, see Tagging AWS resources .
this@Stability(value=Stable) public CfnSegmentProps build()
build in interface software.amazon.jsii.Builder<CfnSegmentProps>CfnSegmentPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.