Class AppInstanceUserEndpoint
- All Implemented Interfaces:
Serializable,SdkPojo,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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AllowMessagesBoolean that controls whether theAppInstanceUserEndpointis opted in to receive messages.final StringBoolean that controls whether theAppInstanceUserEndpointis opted in to receive messages.final StringThe ARN of theAppInstanceUser.builder()final InstantThe time at which anAppInstanceUserEndpointwas created.final EndpointAttributesThe attributes of anEndpoint.final StringThe unique identifier of theAppInstanceUserEndpoint.final EndpointStateA read-only field that represents the state of anAppInstanceUserEndpoint.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe time at which anAppInstanceUserEndpointwas last updated.final Stringname()The name of theAppInstanceUserEndpoint.final StringThe ARN of the resource to which the endpoint belongs.static Class<? extends AppInstanceUserEndpoint.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.type()The type of theAppInstanceUserEndpoint.final StringThe type of theAppInstanceUserEndpoint.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
appInstanceUserArn
The ARN of the
AppInstanceUser.- Returns:
- The ARN of the
AppInstanceUser.
-
endpointId
The unique identifier of the
AppInstanceUserEndpoint.- Returns:
- The unique identifier of the
AppInstanceUserEndpoint.
-
name
The name of the
AppInstanceUserEndpoint.- Returns:
- The name of the
AppInstanceUserEndpoint.
-
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:
-
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:
-
resourceArn
The ARN of the resource to which the endpoint belongs.
- Returns:
- The ARN of the resource to which the endpoint belongs.
-
endpointAttributes
The attributes of an
Endpoint.- Returns:
- The attributes of an
Endpoint.
-
createdTimestamp
The time at which an
AppInstanceUserEndpointwas created.- Returns:
- The time at which an
AppInstanceUserEndpointwas created.
-
lastUpdatedTimestamp
The time at which an
AppInstanceUserEndpointwas last updated.- Returns:
- The time at which an
AppInstanceUserEndpointwas last updated.
-
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:
-
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:
-
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AppInstanceUserEndpoint.Builder,AppInstanceUserEndpoint> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-