code: @Deprecated
      public <T extends AmazonWebServiceClient> T withRegion(Regions region) {
          configureRegion(region);
          @SuppressWarnings("unchecked") T t= (T)this;
          return t;
      }
docs: Convenient fluent method for setting region.
  
  @param region region to set to; must not be null.
  
  @see #withRegion(Region)
  @deprecated use {@link AwsClientBuilder#withRegion(Regions)} for example:
  {@code AmazonSNSClientBuilder.standard().withRegion(region).build();}