public EndpointState withStatus(String status) {
        setStatus(status);
        return this;
    }
<p>
Enum that indicates the Status of an <code>AppInstanceUserEndpoint</code>.
</p>

@param status
       Enum that indicates the Status of an <code>AppInstanceUserEndpoint</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see EndpointStatus
aws-java-sdk-chimesdkidentity/src/main/java/com/amazonaws/services/chimesdkidentity/model/EndpointState.java