@Generated(value="software.amazon.awssdk:codegen") public final class AppInstanceUserEndpoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AppInstanceUserEndpoint.Builder,AppInstanceUserEndpoint>
An endpoint under an Amazon Chime AppInstanceUser that receives messages for a user. For push
notifications, the endpoint is a mobile device used to receive mobile push notifications for a user.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AppInstanceUserEndpoint.Builder |
| Modifier and Type | Method and Description |
|---|---|
AllowMessages |
allowMessages()
Boolean that controls whether the
AppInstanceUserEndpoint is opted in to receive messages. |
String |
allowMessagesAsString()
Boolean that controls whether the
AppInstanceUserEndpoint is opted in to receive messages. |
String |
appInstanceUserArn()
The ARN of the
AppInstanceUser. |
static AppInstanceUserEndpoint.Builder |
builder() |
Instant |
createdTimestamp()
The time at which an
AppInstanceUserEndpoint was created. |
EndpointAttributes |
endpointAttributes()
The attributes of an
Endpoint. |
String |
endpointId()
The unique identifier of the
AppInstanceUserEndpoint. |
EndpointState |
endpointState()
A read-only field that represents the state of an
AppInstanceUserEndpoint. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedTimestamp()
The time at which an
AppInstanceUserEndpoint was last updated. |
String |
name()
The name of the
AppInstanceUserEndpoint. |
String |
resourceArn()
The ARN of the resource to which the endpoint belongs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AppInstanceUserEndpoint.Builder> |
serializableBuilderClass() |
AppInstanceUserEndpoint.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
AppInstanceUserEndpointType |
type()
The type of the
AppInstanceUserEndpoint. |
String |
typeAsString()
The type of the
AppInstanceUserEndpoint. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String appInstanceUserArn()
The ARN of the AppInstanceUser.
AppInstanceUser.public final String endpointId()
The unique identifier of the AppInstanceUserEndpoint.
AppInstanceUserEndpoint.public final String name()
The name of the AppInstanceUserEndpoint.
AppInstanceUserEndpoint.public final AppInstanceUserEndpointType type()
The type of the AppInstanceUserEndpoint.
If the service returns an enum value that is not available in the current SDK version, type will return
AppInstanceUserEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from typeAsString().
AppInstanceUserEndpoint.AppInstanceUserEndpointTypepublic final String typeAsString()
The type of the AppInstanceUserEndpoint.
If the service returns an enum value that is not available in the current SDK version, type will return
AppInstanceUserEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from typeAsString().
AppInstanceUserEndpoint.AppInstanceUserEndpointTypepublic final String resourceArn()
The ARN of the resource to which the endpoint belongs.
public final EndpointAttributes endpointAttributes()
The attributes of an Endpoint.
Endpoint.public final Instant createdTimestamp()
The time at which an AppInstanceUserEndpoint was created.
AppInstanceUserEndpoint was created.public final Instant lastUpdatedTimestamp()
The time at which an AppInstanceUserEndpoint was last updated.
AppInstanceUserEndpoint was last updated.public final AllowMessages allowMessages()
Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages.
ALL indicates the endpoint will receive all messages. NONE indicates the endpoint will
receive no messages.
If the service returns an enum value that is not available in the current SDK version, allowMessages
will return AllowMessages.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
allowMessagesAsString().
AppInstanceUserEndpoint is opted in to receive messages.
ALL indicates the endpoint will receive all messages. NONE indicates the
endpoint will receive no messages.AllowMessagespublic final String allowMessagesAsString()
Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages.
ALL indicates the endpoint will receive all messages. NONE indicates the endpoint will
receive no messages.
If the service returns an enum value that is not available in the current SDK version, allowMessages
will return AllowMessages.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
allowMessagesAsString().
AppInstanceUserEndpoint is opted in to receive messages.
ALL indicates the endpoint will receive all messages. NONE indicates the
endpoint will receive no messages.AllowMessagespublic final EndpointState endpointState()
A read-only field that represents the state of an AppInstanceUserEndpoint. Supported values:
ACTIVE: The AppInstanceUserEndpoint is active and able to receive messages. When
ACTIVE, the EndpointStatusReason remains empty.
INACTIVE: The AppInstanceUserEndpoint is inactive and can't receive message. When
INACTIVE, the corresponding reason will be conveyed through EndpointStatusReason.
INVALID_DEVICE_TOKEN indicates that an AppInstanceUserEndpoint is INACTIVE
due to invalid device token
INVALID_PINPOINT_ARN indicates that an AppInstanceUserEndpoint is INACTIVE
due to an invalid pinpoint ARN that was input through the ResourceArn field.
AppInstanceUserEndpoint. Supported
values:
ACTIVE: The AppInstanceUserEndpoint is active and able to receive messages.
When ACTIVE, the EndpointStatusReason remains empty.
INACTIVE: The AppInstanceUserEndpoint is inactive and can't receive message.
When INACTIVE, the corresponding reason will be conveyed through
EndpointStatusReason.
INVALID_DEVICE_TOKEN indicates that an AppInstanceUserEndpoint is
INACTIVE due to invalid device token
INVALID_PINPOINT_ARN indicates that an AppInstanceUserEndpoint is
INACTIVE due to an invalid pinpoint ARN that was input through the ResourceArn
field.
public AppInstanceUserEndpoint.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AppInstanceUserEndpoint.Builder,AppInstanceUserEndpoint>public static AppInstanceUserEndpoint.Builder builder()
public static Class<? extends AppInstanceUserEndpoint.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.