Interface CreateSegmentRequest.Builder

  • Method Details

    • description

      CreateSegmentRequest.Builder description(String description)

      An optional description for this segment.

      Parameters:
      description - An optional description for this segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      A name for the segment.

      Parameters:
      name - A name for the segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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. For more information about pattern syntax, see Segment rule pattern syntax.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Assigns one or more tags (key-value pairs) to the segment.

      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 Amazon Web Services and are interpreted strictly as strings of characters.

      You can associate as many as 50 tags with a segment.

      For more information, see Tagging Amazon Web Services resources.

      Parameters:
      tags - Assigns one or more tags (key-value pairs) to the segment.

      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 Amazon Web Services and are interpreted strictly as strings of characters.

      You can associate as many as 50 tags with a segment.

      For more information, see Tagging Amazon Web Services resources.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateSegmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.