@Generated(value="software.amazon.awssdk:codegen") public class EndpointBatchItem extends Object implements StructuredPojo, ToCopyableBuilder<EndpointBatchItem.Builder,EndpointBatchItem>
Modifier and Type | Class and Description |
---|---|
static interface |
EndpointBatchItem.Builder |
Modifier and Type | Method and Description |
---|---|
String |
address()
The address or token of the endpoint as provided by your push provider (e.g.
|
Map<String,List<String>> |
attributes()
Custom attributes that your app reports to Amazon Pinpoint.
|
static EndpointBatchItem.Builder |
builder() |
ChannelType |
channelType()
The channel type.
|
String |
channelTypeString()
The channel type.
|
EndpointDemographic |
demographic()
The endpoint demographic attributes.
|
String |
effectiveDate()
The last time the endpoint was updated.
|
String |
endpointStatus()
The endpoint status.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique Id for the Endpoint in the batch.
|
EndpointLocation |
location()
The endpoint location attributes.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Map<String,Double> |
metrics()
Custom metrics that your app reports to Amazon Pinpoint.
|
String |
optOut()
Indicates whether a user has opted out of receiving messages with one of the following values:
ALL - User has opted out of all messages.
|
String |
requestId()
The unique ID for the most recent request to update the endpoint.
|
static Class<? extends EndpointBatchItem.Builder> |
serializableBuilderClass() |
EndpointBatchItem.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
EndpointUser |
user()
Custom user-specific attributes that your app reports to Amazon Pinpoint.
|
copy
public String address()
public Map<String,List<String>> attributes()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ChannelType channelType()
If the service returns an enum value that is not available in the current SDK version, channelType
will
return ChannelType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
channelTypeString()
.
ChannelType
public String channelTypeString()
If the service returns an enum value that is not available in the current SDK version, channelType
will
return ChannelType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
channelTypeString()
.
ChannelType
public EndpointDemographic demographic()
public String effectiveDate()
public String endpointStatus()
public String id()
public EndpointLocation location()
public Map<String,Double> metrics()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String optOut()
public String requestId()
public EndpointUser user()
public EndpointBatchItem.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EndpointBatchItem.Builder,EndpointBatchItem>
public static EndpointBatchItem.Builder builder()
public static Class<? extends EndpointBatchItem.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.