public Configuration withKmsKey(KmsKeyConfiguration kmsKey) {
        setKmsKey(kmsKey);
        return this;
    }
<p>
The access control configuration is for a KMS key.
</p>

@param kmsKey
       The access control configuration is for a KMS key.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/Configuration.java