@Generated(value="software.amazon.awssdk:codegen") public final class EndpointState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EndpointState.Builder,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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EndpointState.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EndpointState.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends EndpointState.Builder> |
serializableBuilderClass() |
EndpointStatus |
status()
Enum that indicates the Status of an
AppInstanceUserEndpoint. |
String |
statusAsString()
Enum that indicates the Status of an
AppInstanceUserEndpoint. |
EndpointStatusReason |
statusReason()
The reason for the
EndpointStatus. |
String |
statusReasonAsString()
The reason for the
EndpointStatus. |
EndpointState.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final EndpointStatus status()
Enum that indicates the Status of an AppInstanceUserEndpoint.
If the service returns an enum value that is not available in the current SDK version, status will
return EndpointStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
AppInstanceUserEndpoint.EndpointStatuspublic final String statusAsString()
Enum that indicates the Status of an AppInstanceUserEndpoint.
If the service returns an enum value that is not available in the current SDK version, status will
return EndpointStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
AppInstanceUserEndpoint.EndpointStatuspublic final EndpointStatusReason statusReason()
The reason for the EndpointStatus.
If the service returns an enum value that is not available in the current SDK version, statusReason will
return EndpointStatusReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusReasonAsString().
EndpointStatus.EndpointStatusReasonpublic final String statusReasonAsString()
The reason for the EndpointStatus.
If the service returns an enum value that is not available in the current SDK version, statusReason will
return EndpointStatusReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusReasonAsString().
EndpointStatus.EndpointStatusReasonpublic EndpointState.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EndpointState.Builder,EndpointState>public static EndpointState.Builder builder()
public static Class<? extends EndpointState.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.