public CognitoOptionsStatus withStatus(OptionStatus status) {
        setStatus(status);
        return this;
    }
<p>
The status of the Cognito options for the specified domain.
</p>

@param status
       The status of the Cognito options for the specified domain.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/CognitoOptionsStatus.java