Interface SegmentResponse.Builder

    • Method Detail

      • applicationId

        SegmentResponse.Builder applicationId​(String applicationId)

        The unique identifier for the application that the segment is associated with.

        Parameters:
        applicationId - The unique identifier for the application that the segment is associated with.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        SegmentResponse.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the segment.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the segment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDate

        SegmentResponse.Builder creationDate​(String creationDate)

        The date and time when the segment was created.

        Parameters:
        creationDate - The date and time when the segment was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dimensions

        SegmentResponse.Builder dimensions​(SegmentDimensions dimensions)

        The dimension settings for the segment.

        Parameters:
        dimensions - The dimension settings for the segment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        SegmentResponse.Builder id​(String id)

        The unique identifier for the segment.

        Parameters:
        id - The unique identifier for the segment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • importDefinition

        SegmentResponse.Builder importDefinition​(SegmentImportResource importDefinition)

        The settings for the import job that's associated with the segment.

        Parameters:
        importDefinition - The settings for the import job that's associated with the segment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedDate

        SegmentResponse.Builder lastModifiedDate​(String lastModifiedDate)

        The date and time when the segment was last modified.

        Parameters:
        lastModifiedDate - The date and time when the segment was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        SegmentResponse.Builder name​(String name)

        The name of the segment.

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

        SegmentResponse.Builder segmentGroups​(SegmentGroupList segmentGroups)

        A list of one or more segment groups that apply to the segment. Each segment group consists of zero or more base segments and the dimensions that are applied to those base segments.

        Parameters:
        segmentGroups - A list of one or more segment groups that apply to the segment. Each segment group consists of zero or more base segments and the dimensions that are applied to those base segments.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • segmentType

        SegmentResponse.Builder segmentType​(String segmentType)

        The segment type. Valid values are:

        • DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.

        • IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.

        Parameters:
        segmentType - The segment type. Valid values are:

        • DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.

        • IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SegmentType, SegmentType
      • segmentType

        SegmentResponse.Builder segmentType​(SegmentType segmentType)

        The segment type. Valid values are:

        • DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.

        • IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.

        Parameters:
        segmentType - The segment type. Valid values are:

        • DIMENSIONAL - A dynamic segment, which is a segment that uses selection criteria that you specify and is based on endpoint data that's reported by your app. Dynamic segments can change over time.

        • IMPORT - A static segment, which is a segment that uses selection criteria that you specify and is based on endpoint definitions that you import from a file. Imported segments are static; they don't change over time.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SegmentType, SegmentType
      • tags

        SegmentResponse.Builder tags​(Map<String,​String> tags)

        A string-to-string map of key-value pairs that identifies the tags that are associated with the segment. Each tag consists of a required tag key and an associated tag value.

        Parameters:
        tags - A string-to-string map of key-value pairs that identifies the tags that are associated with the segment. Each tag consists of a required tag key and an associated tag value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • version

        SegmentResponse.Builder version​(Integer version)

        The version number of the segment.

        Parameters:
        version - The version number of the segment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.