code: @Deprecated
      public <T extends AmazonWebServiceClient> T withRegion(Region region) {
          setRegion(region);
          @SuppressWarnings("unchecked") T t= (T)this;
          return t;
      }
docs: Fluent method for {@link #setRegion(Region)}.
  <pre>
  Example:
  
  AmazonDynamoDBClient client = new AmazonDynamoDBClient(...).<AmazonDynamoDBClient>withRegion(...);
  </pre>
  @see #setRegion(Region)
  @deprecated use {@link AwsClientBuilder#withRegion(Region)} for example:
  {@code AmazonSNSClientBuilder.standard().withRegion(region).build();}