public ApiCache withAtRestEncryptionEnabled(Boolean atRestEncryptionEnabled) {
        setAtRestEncryptionEnabled(atRestEncryptionEnabled);
        return this;
    }
<p>
At-rest encryption flag for cache. You cannot update this setting after creation.
</p>

@param atRestEncryptionEnabled
       At-rest encryption flag for cache. You cannot update this setting after creation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/model/ApiCache.java