CopyableBuilder<EndpointBatchItem.Builder,EndpointBatchItem>
, SdkBuilder<EndpointBatchItem.Builder,EndpointBatchItem>
public static interface EndpointBatchItem.Builder extends CopyableBuilder<EndpointBatchItem.Builder,EndpointBatchItem>
Modifier and Type | Method | Description |
---|---|---|
EndpointBatchItem.Builder |
address(String address) |
The address or token of the endpoint as provided by your push provider (e.g.
|
EndpointBatchItem.Builder |
attributes(Map<String,? extends Collection<String>> attributes) |
Custom attributes that your app reports to Amazon Pinpoint.
|
EndpointBatchItem.Builder |
channelType(String channelType) |
The channel type.
|
EndpointBatchItem.Builder |
channelType(ChannelType channelType) |
The channel type.
|
EndpointBatchItem.Builder |
demographic(EndpointDemographic demographic) |
The endpoint demographic attributes.
|
EndpointBatchItem.Builder |
effectiveDate(String effectiveDate) |
The last time the endpoint was updated.
|
EndpointBatchItem.Builder |
endpointStatus(String endpointStatus) |
The endpoint status.
|
EndpointBatchItem.Builder |
id(String id) |
The unique Id for the Endpoint in the batch.
|
EndpointBatchItem.Builder |
location(EndpointLocation location) |
The endpoint location attributes.
|
EndpointBatchItem.Builder |
metrics(Map<String,Double> metrics) |
Custom metrics that your app reports to Amazon Pinpoint.
|
EndpointBatchItem.Builder |
optOut(String optOut) |
Indicates whether a user has opted out of receiving messages with one of the following values:
ALL – User receives all messages.
|
EndpointBatchItem.Builder |
requestId(String requestId) |
The unique ID for the most recent request to update the endpoint.
|
EndpointBatchItem.Builder |
user(EndpointUser user) |
Custom user-specific attributes that your app reports to Amazon Pinpoint.
|
copy
apply, build
EndpointBatchItem.Builder address(String address)
address
- The address or token of the endpoint as provided by your push provider (e.g. DeviceToken or
RegistrationId).EndpointBatchItem.Builder attributes(Map<String,? extends Collection<String>> attributes)
attributes
- Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection
criteria when you create a segment.EndpointBatchItem.Builder channelType(String channelType)
channelType
- The channel type.
Valid values: APNS, GCMChannelType
EndpointBatchItem.Builder channelType(ChannelType channelType)
channelType
- The channel type.
Valid values: APNS, GCMChannelType
EndpointBatchItem.Builder demographic(EndpointDemographic demographic)
demographic
- The endpoint demographic attributes.EndpointBatchItem.Builder effectiveDate(String effectiveDate)
effectiveDate
- The last time the endpoint was updated. Provided in ISO 8601 format.EndpointBatchItem.Builder endpointStatus(String endpointStatus)
endpointStatus
- The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE if a delivery fails.
Will be set to ACTIVE if the address is updated.EndpointBatchItem.Builder id(String id)
id
- The unique Id for the Endpoint in the batch.EndpointBatchItem.Builder location(EndpointLocation location)
location
- The endpoint location attributes.EndpointBatchItem.Builder metrics(Map<String,Double> metrics)
metrics
- Custom metrics that your app reports to Amazon Pinpoint.EndpointBatchItem.Builder optOut(String optOut)
optOut
- Indicates whether a user has opted out of receiving messages with one of the following values:
ALL – User receives all messages. NONE – User receives no messages.EndpointBatchItem.Builder requestId(String requestId)
requestId
- The unique ID for the most recent request to update the endpoint.EndpointBatchItem.Builder user(EndpointUser user)
user
- Custom user-specific attributes that your app reports to Amazon Pinpoint.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.