public ApiCache withTransitEncryptionEnabled(Boolean transitEncryptionEnabled) {
        setTransitEncryptionEnabled(transitEncryptionEnabled);
        return this;
    }
<p>
Transit encryption flag when connecting to cache. You cannot update this setting after creation.
</p>

@param transitEncryptionEnabled
       Transit encryption flag when connecting to 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