public static interface SegmentResponse.Builder extends CopyableBuilder<SegmentResponse.Builder,SegmentResponse>
Modifier and Type | Method and Description |
---|---|
SegmentResponse.Builder |
applicationId(String applicationId)
The ID of the application to which the segment applies.
|
SegmentResponse.Builder |
creationDate(String creationDate)
The date the segment was created in ISO 8601 format.
|
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 the segment was last updated in ISO 8601 format.
|
SegmentResponse.Builder |
name(String name)
The name of segment
|
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
apply, build
SegmentResponse.Builder applicationId(String applicationId)
applicationId
- The ID of the application to which the segment applies.SegmentResponse.Builder creationDate(String creationDate)
creationDate
- The date the segment was created in ISO 8601 format.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 the segment was last updated in ISO 8601 format.SegmentResponse.Builder name(String name)
name
- The name of segmentSegmentResponse.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.