/* * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.chimesdkidentity.model; import java.io.Serializable; /** *
* 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.
*
* Enum that indicates the Status of an AppInstanceUserEndpoint
* .
*
* Constraints:
* Allowed Values: ACTIVE, INACTIVE
*/
private String status;
/**
*
* The reason for the EndpointStatus
.
*
* Constraints:
* Allowed Values: INVALID_DEVICE_TOKEN, INVALID_PINPOINT_ARN
*/
private String statusReason;
/**
*
* Enum that indicates the Status of an AppInstanceUserEndpoint
* .
*
* Constraints:
* Allowed Values: ACTIVE, INACTIVE
*
* @return
* Enum that indicates the Status of an
* AppInstanceUserEndpoint
.
*
* Enum that indicates the Status of an AppInstanceUserEndpoint
* .
*
* Constraints:
* Allowed Values: ACTIVE, INACTIVE
*
* @param status
* Enum that indicates the Status of an
* AppInstanceUserEndpoint
.
*
* Enum that indicates the Status of an AppInstanceUserEndpoint
* .
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: ACTIVE, INACTIVE
*
* @param status
* Enum that indicates the Status of an
* AppInstanceUserEndpoint
.
*
* Enum that indicates the Status of an AppInstanceUserEndpoint
* .
*
* Constraints:
* Allowed Values: ACTIVE, INACTIVE
*
* @param status
* Enum that indicates the Status of an
* AppInstanceUserEndpoint
.
*
* Enum that indicates the Status of an AppInstanceUserEndpoint
* .
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: ACTIVE, INACTIVE
*
* @param status
* Enum that indicates the Status of an
* AppInstanceUserEndpoint
.
*
* The reason for the EndpointStatus
.
*
* Constraints:
* Allowed Values: INVALID_DEVICE_TOKEN, INVALID_PINPOINT_ARN
*
* @return
* The reason for the EndpointStatus
.
*
* The reason for the EndpointStatus
.
*
* Constraints:
* Allowed Values: INVALID_DEVICE_TOKEN, INVALID_PINPOINT_ARN
*
* @param statusReason
* The reason for the EndpointStatus
.
*
* The reason for the EndpointStatus
.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: INVALID_DEVICE_TOKEN, INVALID_PINPOINT_ARN
*
* @param statusReason
* The reason for the EndpointStatus
.
*
* The reason for the EndpointStatus
.
*
* Constraints:
* Allowed Values: INVALID_DEVICE_TOKEN, INVALID_PINPOINT_ARN
*
* @param statusReason
* The reason for the EndpointStatus
.
*
* The reason for the EndpointStatus
.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: INVALID_DEVICE_TOKEN, INVALID_PINPOINT_ARN
*
* @param statusReason
* The reason for the EndpointStatus
.
*