Class AppInstanceUserEndpoint
- java.lang.Object
-
- software.amazon.awssdk.services.chimesdkidentity.model.AppInstanceUserEndpoint
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AppInstanceUserEndpoint.Builder,AppInstanceUserEndpoint>
@Generated("software.amazon.awssdk:codegen") public final class AppInstanceUserEndpoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AppInstanceUserEndpoint.Builder,AppInstanceUserEndpoint>
An endpoint under an Amazon Chime
AppInstanceUserthat receives messages for a user. For push notifications, the endpoint is a mobile device used to receive mobile push notifications for a user.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAppInstanceUserEndpoint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AllowMessagesallowMessages()Boolean that controls whether theAppInstanceUserEndpointis opted in to receive messages.StringallowMessagesAsString()Boolean that controls whether theAppInstanceUserEndpointis opted in to receive messages.StringappInstanceUserArn()The ARN of theAppInstanceUser.static AppInstanceUserEndpoint.Builderbuilder()InstantcreatedTimestamp()The time at which anAppInstanceUserEndpointwas created.EndpointAttributesendpointAttributes()The attributes of anEndpoint.StringendpointId()The unique identifier of theAppInstanceUserEndpoint.EndpointStateendpointState()A read-only field that represents the state of anAppInstanceUserEndpoint.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedTimestamp()The time at which anAppInstanceUserEndpointwas last updated.Stringname()The name of theAppInstanceUserEndpoint.StringresourceArn()The ARN of the resource to which the endpoint belongs.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AppInstanceUserEndpoint.Builder>serializableBuilderClass()AppInstanceUserEndpoint.BuildertoBuilder()StringtoString()Returns a string representation of this object.AppInstanceUserEndpointTypetype()The type of theAppInstanceUserEndpoint.StringtypeAsString()The type of theAppInstanceUserEndpoint.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
appInstanceUserArn
public final String appInstanceUserArn()
The ARN of the
AppInstanceUser.- Returns:
- The ARN of the
AppInstanceUser.
-
endpointId
public final String endpointId()
The unique identifier of the
AppInstanceUserEndpoint.- Returns:
- The unique identifier of the
AppInstanceUserEndpoint.
-
name
public final String name()
The name of the
AppInstanceUserEndpoint.- Returns:
- The name of the
AppInstanceUserEndpoint.
-
type
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,
typewill returnAppInstanceUserEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the
AppInstanceUserEndpoint. - See Also:
AppInstanceUserEndpointType
-
typeAsString
public final String typeAsString()
The type of the
AppInstanceUserEndpoint.If the service returns an enum value that is not available in the current SDK version,
typewill returnAppInstanceUserEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the
AppInstanceUserEndpoint. - See Also:
AppInstanceUserEndpointType
-
resourceArn
public final String resourceArn()
The ARN of the resource to which the endpoint belongs.
- Returns:
- The ARN of the resource to which the endpoint belongs.
-
endpointAttributes
public final EndpointAttributes endpointAttributes()
The attributes of an
Endpoint.- Returns:
- The attributes of an
Endpoint.
-
createdTimestamp
public final Instant createdTimestamp()
The time at which an
AppInstanceUserEndpointwas created.- Returns:
- The time at which an
AppInstanceUserEndpointwas created.
-
lastUpdatedTimestamp
public final Instant lastUpdatedTimestamp()
The time at which an
AppInstanceUserEndpointwas last updated.- Returns:
- The time at which an
AppInstanceUserEndpointwas last updated.
-
allowMessages
public final AllowMessages allowMessages()
Boolean that controls whether the
AppInstanceUserEndpointis opted in to receive messages.ALLindicates the endpoint will receive all messages.NONEindicates the endpoint will receive no messages.If the service returns an enum value that is not available in the current SDK version,
allowMessageswill returnAllowMessages.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromallowMessagesAsString().- Returns:
- Boolean that controls whether the
AppInstanceUserEndpointis opted in to receive messages.ALLindicates the endpoint will receive all messages.NONEindicates the endpoint will receive no messages. - See Also:
AllowMessages
-
allowMessagesAsString
public final String allowMessagesAsString()
Boolean that controls whether the
AppInstanceUserEndpointis opted in to receive messages.ALLindicates the endpoint will receive all messages.NONEindicates the endpoint will receive no messages.If the service returns an enum value that is not available in the current SDK version,
allowMessageswill returnAllowMessages.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromallowMessagesAsString().- Returns:
- Boolean that controls whether the
AppInstanceUserEndpointis opted in to receive messages.ALLindicates the endpoint will receive all messages.NONEindicates the endpoint will receive no messages. - See Also:
AllowMessages
-
endpointState
public final EndpointState endpointState()
A read-only field that represents the state of an
AppInstanceUserEndpoint. Supported values:-
ACTIVE: TheAppInstanceUserEndpointis active and able to receive messages. WhenACTIVE, theEndpointStatusReasonremains empty. -
INACTIVE: TheAppInstanceUserEndpointis inactive and can't receive message. WhenINACTIVE, the corresponding reason will be conveyed throughEndpointStatusReason. -
INVALID_DEVICE_TOKENindicates that anAppInstanceUserEndpointisINACTIVEdue to invalid device token -
INVALID_PINPOINT_ARNindicates that anAppInstanceUserEndpointisINACTIVEdue to an invalid pinpoint ARN that was input through theResourceArnfield.
- Returns:
- A read-only field that represents the state of an
AppInstanceUserEndpoint. Supported values:-
ACTIVE: TheAppInstanceUserEndpointis active and able to receive messages. WhenACTIVE, theEndpointStatusReasonremains empty. -
INACTIVE: TheAppInstanceUserEndpointis inactive and can't receive message. WhenINACTIVE, the corresponding reason will be conveyed throughEndpointStatusReason. -
INVALID_DEVICE_TOKENindicates that anAppInstanceUserEndpointisINACTIVEdue to invalid device token -
INVALID_PINPOINT_ARNindicates that anAppInstanceUserEndpointisINACTIVEdue to an invalid pinpoint ARN that was input through theResourceArnfield.
-
-
-
toBuilder
public AppInstanceUserEndpoint.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AppInstanceUserEndpoint.Builder,AppInstanceUserEndpoint>
-
builder
public static AppInstanceUserEndpoint.Builder builder()
-
serializableBuilderClass
public static Class<? extends AppInstanceUserEndpoint.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-