Class CfnSegmentMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.evidently.CfnSegmentMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSegmentMixinProps>
- Enclosing interface:
CfnSegmentMixinProps
@Stability(Stable)
public static final class CfnSegmentMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSegmentMixinProps>
A builder for
CfnSegmentMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnSegmentMixinProps.getDescription()Sets the value ofCfnSegmentMixinProps.getName()Sets the value ofCfnSegmentMixinProps.getPattern()Sets the value ofCfnSegmentMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnSegmentMixinProps.getDescription()- Parameters:
description- An optional description for this segment.- Returns:
this
-
name
Sets the value ofCfnSegmentMixinProps.getName()- Parameters:
name- A name for the segment.- Returns:
this
-
pattern
Sets the value ofCfnSegmentMixinProps.getPattern()- Parameters:
pattern- The pattern to use for the segment. For more information about pattern syntax, see Segment rule pattern syntax .- Returns:
this
-
tags
Sets the value ofCfnSegmentMixinProps.getTags()- Parameters:
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 .
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSegmentMixinProps>- Returns:
- a new instance of
CfnSegmentMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-