Interface SegmentResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SegmentResponse.Builder,
,SegmentResponse> SdkBuilder<SegmentResponse.Builder,
,SegmentResponse> SdkPojo
- Enclosing class:
SegmentResponse
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The unique identifier for the application that the segment is associated with.The Amazon Resource Name (ARN) of the segment.creationDate
(String creationDate) The date and time when the segment was created.default SegmentResponse.Builder
dimensions
(Consumer<SegmentDimensions.Builder> dimensions) The dimension settings for the segment.dimensions
(SegmentDimensions dimensions) The dimension settings for the segment.The unique identifier for the segment.default SegmentResponse.Builder
importDefinition
(Consumer<SegmentImportResource.Builder> importDefinition) The settings for the import job that's associated with the segment.importDefinition
(SegmentImportResource importDefinition) The settings for the import job that's associated with the segment.lastModifiedDate
(String lastModifiedDate) The date and time when the segment was last modified.The name of the segment.default SegmentResponse.Builder
segmentGroups
(Consumer<SegmentGroupList.Builder> segmentGroups) A list of one or more segment groups that apply to the segment.segmentGroups
(SegmentGroupList segmentGroups) A list of one or more segment groups that apply to the segment.segmentType
(String segmentType) The segment type.segmentType
(SegmentType segmentType) The segment type.A string-to-string map of key-value pairs that identifies the tags that are associated with the segment.The version number of the segment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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.
-
dimensions
The dimension settings for the segment.
This is a convenience method that creates an instance of theSegmentDimensions.Builder
avoiding the need to create one manually viaSegmentDimensions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todimensions(SegmentDimensions)
.- Parameters:
dimensions
- a consumer that will call methods onSegmentDimensions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-
importDefinition
default SegmentResponse.Builder importDefinition(Consumer<SegmentImportResource.Builder> importDefinition) The settings for the import job that's associated with the segment.
This is a convenience method that creates an instance of theSegmentImportResource.Builder
avoiding the need to create one manually viaSegmentImportResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimportDefinition(SegmentImportResource)
.- Parameters:
importDefinition
- a consumer that will call methods onSegmentImportResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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.
-
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.
This is a convenience method that creates an instance of theSegmentGroupList.Builder
avoiding the need to create one manually viaSegmentGroupList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosegmentGroups(SegmentGroupList)
.- Parameters:
segmentGroups
- a consumer that will call methods onSegmentGroupList.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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:
-
-
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
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.
-