public String getAllowMessages() {
        return this.allowMessages;
    }
<p>
BBoolean that controls whether the <code>AppInstanceUserEndpoint</code> is opted in to receive messages.
<code>ALL</code> indicates the endpoint will receive all messages. <code>NONE</code> indicates the endpoint will
receive no messages.
</p>

@return BBoolean that controls whether the <code>AppInstanceUserEndpoint</code> is opted in to receive messages.
        <code>ALL</code> indicates the endpoint will receive all messages. <code>NONE</code> indicates the
        endpoint will receive no messages.
@see AllowMessages
aws-java-sdk-chimesdkidentity/src/main/java/com/amazonaws/services/chimesdkidentity/model/AppInstanceUserEndpointSummary.java