@Generated(value="software.amazon.awssdk:codegen") public final class PublicEndpoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PublicEndpoint.Builder,PublicEndpoint>
Modifier and Type | Class and Description |
---|---|
static interface |
PublicEndpoint.Builder |
Modifier and Type | Method and Description |
---|---|
String |
address()
The unique identifier for the recipient.
|
Map<String,List<String>> |
attributes()
Custom attributes that your app reports to Amazon Pinpoint.
|
static PublicEndpoint.Builder |
builder() |
ChannelType |
channelType()
The channel type.
|
String |
channelTypeAsString()
The channel type.
|
EndpointDemographic |
demographic()
The endpoint demographic attributes.
|
String |
effectiveDate()
The date and time when the endpoint was last updated, in ISO 8601 format.
|
String |
endpointStatus()
The status of the endpoint.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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()
A unique identifier that is generated each time the endpoint is updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PublicEndpoint.Builder> |
serializableBuilderClass() |
PublicEndpoint.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
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 EndpointDemographic demographic()
public String effectiveDate()
public String endpointStatus()
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 PublicEndpoint.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PublicEndpoint.Builder,PublicEndpoint>
public static PublicEndpoint.Builder builder()
public static Class<? extends PublicEndpoint.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.