public S3DataAccessAsset withKmsKeysToGrant(java.util.Collection<KmsKeyToGrant> kmsKeysToGrant) {
        setKmsKeysToGrant(kmsKeysToGrant);
        return this;
    }
<p>
List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects being
shared in this S3 Data Access asset. Providers must include all AWS KMS keys used to encrypt these shared S3
objects.
</p>

@param kmsKeysToGrant
       List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects
       being shared in this S3 Data Access asset. Providers must include all AWS KMS keys used to encrypt these
       shared S3 objects.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dataexchange/src/main/java/com/amazonaws/services/dataexchange/model/S3DataAccessAsset.java