Interface CfnSegmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSegmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-11T18:01:16.342Z")
@Stability(Stable)
public interface CfnSegmentProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSegment
.
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.evidently.*; CfnSegmentProps cfnSegmentProps = CfnSegmentProps.builder() .name("name") // the properties below are optional .description("description") .pattern("pattern") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSegmentProps
static final class
An implementation forCfnSegmentProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
A name for the segment.- See Also:
-
getDescription
An optional description for this segment.- See Also:
-
getPattern
The pattern to use for the segment.For more information about pattern syntax, see Segment rule pattern syntax .
- See Also:
-
getTags
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 .
- See Also:
-
builder
- Returns:
- a
CfnSegmentProps.Builder
ofCfnSegmentProps
-