Interface GetSegmentDefinitionResponse.Builder

  • Method Details

    • segmentDefinitionName

      GetSegmentDefinitionResponse.Builder segmentDefinitionName(String segmentDefinitionName)

      The name of the segment definition.

      Parameters:
      segmentDefinitionName - The name of the segment definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • displayName

      GetSegmentDefinitionResponse.Builder displayName(String displayName)

      The display name of the segment definition.

      Parameters:
      displayName - The display name of the segment definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GetSegmentDefinitionResponse.Builder description(String description)

      The description of the segment definition.

      Parameters:
      description - The description of the segment definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • segmentGroups

      GetSegmentDefinitionResponse.Builder segmentGroups(SegmentGroup segmentGroups)

      The segment criteria associated with this definition.

      Parameters:
      segmentGroups - The segment criteria associated with this definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • segmentGroups

      default GetSegmentDefinitionResponse.Builder segmentGroups(Consumer<SegmentGroup.Builder> segmentGroups)

      The segment criteria associated with this definition.

      This is a convenience method that creates an instance of the SegmentGroup.Builder avoiding the need to create one manually via SegmentGroup.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to segmentGroups(SegmentGroup).

      Parameters:
      segmentGroups - a consumer that will call methods on SegmentGroup.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • segmentDefinitionArn

      GetSegmentDefinitionResponse.Builder segmentDefinitionArn(String segmentDefinitionArn)

      The arn of the segment definition.

      Parameters:
      segmentDefinitionArn - The arn of the segment definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The timestamp of when the segment definition was created.

      Parameters:
      createdAt - The timestamp of when the segment definition was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags used to organize, track, or control access for this resource.

      Parameters:
      tags - The tags used to organize, track, or control access for this resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.