public Container withAccessLoggingEnabled(Boolean accessLoggingEnabled) {
        setAccessLoggingEnabled(accessLoggingEnabled);
        return this;
    }
<p>
The state of access logging on the container. This value is <code>false</code> by default, indicating that AWS
Elemental MediaStore does not send access logs to Amazon CloudWatch Logs. When you enable access logging on the
container, MediaStore changes this value to <code>true</code>, indicating that the service delivers access logs
for objects stored in that container to CloudWatch Logs.
</p>

@param accessLoggingEnabled
       The state of access logging on the container. This value is <code>false</code> by default, indicating that
       AWS Elemental MediaStore does not send access logs to Amazon CloudWatch Logs. When you enable access
       logging on the container, MediaStore changes this value to <code>true</code>, indicating that the service
       delivers access logs for objects stored in that container to CloudWatch Logs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediastore/src/main/java/com/amazonaws/services/mediastore/model/Container.java