public void setGrants(java.util.Collection<GrantListEntry> grants) {
        if (grants == null) {
            this.grants = null;
            return;
        }

        this.grants = new com.amazonaws.internal.SdkInternalList<GrantListEntry>(grants);
    }
<p>
A list of grants.
</p>

@param grants
       A list of grants.
aws-java-sdk-kms/src/main/java/com/amazonaws/services/kms/model/ListRetirableGrantsResult.java