code: @Deprecated
      public void setKmsRegion(Regions kmsRegion) {
          if (kmsRegion != null) {
              setAwsKmsRegion(Region.getRegion(kmsRegion));
          } else {
              setAwsKmsRegion(null);
          }
      }
docs: Sets the KMS region for the AWS KMS client when such client is internally
  instantiated instead of externally passed in by users; or null if no
  explicit KMS region is explicitly configured.This KMS region parameter is
  ignored when the AWS KMS client of the S3 encryption client is explicitly
  passed in by the users, instead of being implicitly created.
  
  @Deprecated This method is not forward compatible. Doesn't handle new
  regions.
  
  @use {@link #setAwsKmsRegion(com.amazonaws.regions.Region)} instead