StructuredPojo
, ToCopyableBuilder<EndpointResponse.Builder,EndpointResponse>
@Generated("software.amazon.awssdk:codegen") public class EndpointResponse extends Object implements StructuredPojo, ToCopyableBuilder<EndpointResponse.Builder,EndpointResponse>
Modifier and Type | Class | Description |
---|---|---|
static interface |
EndpointResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
address() |
The address or token of the endpoint as provided by your push provider (e.g.
|
String |
applicationId() |
The ID of the application associated with the endpoint.
|
Map<String,List<String>> |
attributes() |
Custom attributes that your app reports to Amazon Pinpoint.
|
static EndpointResponse.Builder |
builder() |
|
String |
channelType() |
The channel type.
|
String |
cohortId() |
A number from 0 - 99 that represents the cohort the endpoint is assigned to.
|
String |
creationDate() |
The last time the endpoint was created.
|
EndpointDemographic |
demographic() |
The endpoint demographic attributes.
|
String |
effectiveDate() |
The last time the endpoint was updated.
|
String |
endpointStatus() |
The endpoint status.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
id() |
The unique ID that you assigned to the endpoint.
|
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 receives all messages.
|
String |
requestId() |
The unique ID for the most recent request to update the endpoint.
|
static Class<? extends EndpointResponse.Builder> |
serializableBuilderClass() |
|
String |
shardId() |
The ShardId of endpoint
|
EndpointResponse.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.
|
public String address()
public String applicationId()
public Map<String,List<String>> attributes()
public String channelType()
ChannelType
public String cohortId()
public String creationDate()
public EndpointDemographic demographic()
public String effectiveDate()
public String endpointStatus()
public String id()
public EndpointLocation location()
public Map<String,Double> metrics()
public String optOut()
public String requestId()
public EndpointUser user()
public String shardId()
public EndpointResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EndpointResponse.Builder,EndpointResponse>
public static EndpointResponse.Builder builder()
public static Class<? extends EndpointResponse.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.