Interface CfnSegmentProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnSegmentProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:56.743Z") @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();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      A name for the segment.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      An optional description for this segment.
    • getPattern

      @Stability(Stable) @Nullable default String getPattern()
      The pattern to use for the segment.

      For more information about pattern syntax, see Segment rule pattern syntax .

    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> 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 .

    • builder

      @Stability(Stable) static CfnSegmentProps.Builder builder()
      Returns:
      a CfnSegmentProps.Builder of CfnSegmentProps