public SendChannelMessageRequest withPersistence(String persistence) {
        setPersistence(persistence);
        return this;
    }
<p>
Boolean that controls whether the message is persisted on the back end. Required.
</p>

@param persistence
       Boolean that controls whether the message is persisted on the back end. Required.
@return Returns a reference to this object so that method calls can be chained together.
@see ChannelMessagePersistenceType
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/SendChannelMessageRequest.java