public static interface SegmentResponse.Builder extends SdkPojo, CopyableBuilder<SegmentResponse.Builder,SegmentResponse>
Modifier and Type | Method and Description |
---|---|
SegmentResponse.Builder |
applicationId(String applicationId)
The ID of the application that the segment applies to.
|
SegmentResponse.Builder |
creationDate(String creationDate)
The date and time when the segment was created.
|
default SegmentResponse.Builder |
dimensions(Consumer<SegmentDimensions.Builder> dimensions)
The segment dimensions attributes.
|
SegmentResponse.Builder |
dimensions(SegmentDimensions dimensions)
The segment dimensions attributes.
|
SegmentResponse.Builder |
id(String id)
The unique segment ID.
|
default SegmentResponse.Builder |
importDefinition(Consumer<SegmentImportResource.Builder> importDefinition)
The import job settings.
|
SegmentResponse.Builder |
importDefinition(SegmentImportResource importDefinition)
The import job settings.
|
SegmentResponse.Builder |
lastModifiedDate(String lastModifiedDate)
The date and time when the segment was last modified.
|
SegmentResponse.Builder |
name(String name)
The name of the segment.
|
default SegmentResponse.Builder |
segmentGroups(Consumer<SegmentGroupList.Builder> segmentGroups)
A segment group, which consists of zero or more source segments, plus dimensions that are applied to those
source segments.
|
SegmentResponse.Builder |
segmentGroups(SegmentGroupList segmentGroups)
A segment group, which consists of zero or more source segments, plus dimensions that are applied to those
source segments.
|
SegmentResponse.Builder |
segmentType(SegmentType segmentType)
The segment type: DIMENSIONAL - A dynamic segment built from selection criteria based on endpoint data
reported by your app.
|
SegmentResponse.Builder |
segmentType(String segmentType)
The segment type: DIMENSIONAL - A dynamic segment built from selection criteria based on endpoint data
reported by your app.
|
SegmentResponse.Builder |
version(Integer version)
The segment version number.
|
copy
applyMutation, build
SegmentResponse.Builder applicationId(String applicationId)
applicationId
- The ID of the application that the segment applies to.SegmentResponse.Builder creationDate(String creationDate)
creationDate
- The date and time when the segment was created.SegmentResponse.Builder dimensions(SegmentDimensions dimensions)
dimensions
- The segment dimensions attributes.default SegmentResponse.Builder dimensions(Consumer<SegmentDimensions.Builder> dimensions)
SegmentDimensions.Builder
avoiding the need to create one manually via
SegmentDimensions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to dimensions(SegmentDimensions)
.dimensions
- a consumer that will call methods on SegmentDimensions.Builder
dimensions(SegmentDimensions)
SegmentResponse.Builder id(String id)
id
- The unique segment ID.SegmentResponse.Builder importDefinition(SegmentImportResource importDefinition)
importDefinition
- The import job settings.default SegmentResponse.Builder importDefinition(Consumer<SegmentImportResource.Builder> importDefinition)
SegmentImportResource.Builder
avoiding the need to create one manually via
SegmentImportResource.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to importDefinition(SegmentImportResource)
.importDefinition
- a consumer that will call methods on SegmentImportResource.Builder
importDefinition(SegmentImportResource)
SegmentResponse.Builder lastModifiedDate(String lastModifiedDate)
lastModifiedDate
- The date and time when the segment was last modified.SegmentResponse.Builder name(String name)
name
- The name of the segment.SegmentResponse.Builder segmentGroups(SegmentGroupList segmentGroups)
segmentGroups
- A segment group, which consists of zero or more source segments, plus dimensions that are applied to
those source segments.default SegmentResponse.Builder segmentGroups(Consumer<SegmentGroupList.Builder> segmentGroups)
SegmentGroupList.Builder
avoiding the need to create one manually via SegmentGroupList.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to segmentGroups(SegmentGroupList)
.segmentGroups
- a consumer that will call methods on SegmentGroupList.Builder
segmentGroups(SegmentGroupList)
SegmentResponse.Builder segmentType(String segmentType)
segmentType
- The segment type: DIMENSIONAL - A dynamic segment built from selection criteria based on endpoint data
reported by your app. You create this type of segment by using the segment builder in the Amazon
Pinpoint console or by making a POST request to the segments resource. IMPORT - A static segment built
from an imported set of endpoint definitions. You create this type of segment by importing a segment
in the Amazon Pinpoint console or by making a POST request to the jobs/import resource.SegmentType
,
SegmentType
SegmentResponse.Builder segmentType(SegmentType segmentType)
segmentType
- The segment type: DIMENSIONAL - A dynamic segment built from selection criteria based on endpoint data
reported by your app. You create this type of segment by using the segment builder in the Amazon
Pinpoint console or by making a POST request to the segments resource. IMPORT - A static segment built
from an imported set of endpoint definitions. You create this type of segment by importing a segment
in the Amazon Pinpoint console or by making a POST request to the jobs/import resource.SegmentType
,
SegmentType
SegmentResponse.Builder version(Integer version)
version
- The segment version number.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.