Class CfnSegmentPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.evidently.CfnSegmentPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSegmentPropsMixin>
- Enclosing class:
CfnSegmentPropsMixin
@Stability(Stable)
public static final class CfnSegmentPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSegmentPropsMixin>
A fluent builder for
CfnSegmentPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnSegmentPropsMixin.Buildercreate()static CfnSegmentPropsMixin.Buildercreate(CfnPropertyMixinOptions options) description(String description) An optional description for this segment.A name for the segment.The pattern to use for the segment.Assigns one or more tags (key-value pairs) to the feature.
-
Method Details
-
create
@Stability(Stable) public static CfnSegmentPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSegmentPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSegmentPropsMixin.Builder.
-
description
An optional description for this segment.- Parameters:
description- An optional description for this segment. This parameter is required.- Returns:
this- See Also:
-
name
A name for the segment.- Parameters:
name- A name for the segment. This parameter is required.- Returns:
this- See Also:
-
pattern
The pattern to use for the segment.For more information about pattern syntax, see Segment rule pattern syntax .
- Parameters:
pattern- The pattern to use for the segment. This parameter is required.- Returns:
this- See Also:
-
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 .
- Parameters:
tags- Assigns one or more tags (key-value pairs) to the feature. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSegmentPropsMixin>- Returns:
- a newly built instance of
CfnSegmentPropsMixin.
-