public S3MonitoringConfiguration withEncryptionKeyArn(String encryptionKeyArn) {
        setEncryptionKeyArn(encryptionKeyArn);
        return this;
    }
<p>
The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.
</p>

@param encryptionKeyArn
       The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emrserverless/src/main/java/com/amazonaws/services/emrserverless/model/S3MonitoringConfiguration.java