@Generated(value="software.amazon.awssdk:codegen") public final class EndpointResponse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EndpointResponse.Builder,EndpointResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
EndpointResponse.Builder |
Modifier and Type | Method and Description |
---|---|
String |
address()
The address of the endpoint as provided by your push provider.
|
String |
applicationId()
The ID of the application that is associated with the endpoint.
|
Map<String,List<String>> |
attributes()
Custom attributes that describe the endpoint by associating a name with an array of values.
|
static EndpointResponse.Builder |
builder() |
ChannelType |
channelType()
The channel type.
|
String |
channelTypeAsString()
The channel type.
|
String |
cohortId()
A number from 0-99 that represents the cohort the endpoint is assigned to.
|
String |
creationDate()
The date and time when the endpoint was created, shown in ISO 8601 format.
|
EndpointDemographic |
demographic()
The endpoint demographic attributes.
|
String |
effectiveDate()
The date and time when the endpoint was last updated, shown in ISO 8601 format.
|
String |
endpointStatus()
Unused.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique ID that you assigned to the endpoint.
|
EndpointLocation |
location()
The endpoint location attributes.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EndpointResponse.Builder> |
serializableBuilderClass() |
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.
|
copy
public String address()
public String applicationId()
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
channelTypeAsString()
.
ChannelType
public String channelTypeAsString()
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
channelTypeAsString()
.
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()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String optOut()
public String requestId()
public EndpointUser user()
public EndpointResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EndpointResponse.Builder,EndpointResponse>
public static EndpointResponse.Builder builder()
public static Class<? extends EndpointResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.