@Deprecated
    public <T extends AmazonWebServiceClient> T withEndpoint(String endpoint) {
        setEndpoint(endpoint);
        @SuppressWarnings("unchecked") T t= (T)this;
        return t;
    }
@ Deprecated public < T extends AmazonWebServiceClient > T withEndpoint ( String endpoint ) { setEndpoint ( endpoint ) ; @ SuppressWarnings ( "unchecked" ) T t = ( T ) this ; return t ; }
Fluent method for {@link #setEndpoint(String)}.
<pre>
Example:

AmazonDynamoDBClient client = new AmazonDynamoDBClient(...).<AmazonDynamoDBClient>withEndPoint(...);
</pre>
@see #setEndpoint(String)
@deprecated use {@link AwsClientBuilder#withEndpointConfiguration(AwsClientBuilder.EndpointConfiguration)} for example:
{@code AmazonSNSClientBuilder.standard().withEndpointConfiguration(new EndpointConfiguration(endpoint, signingRegion)).build();}