Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Copyright 2010-2015, Inc. or its affiliates. All Rights Reserved.
  * Licensed under the Apache License, Version 2.0 (the "License").
  * You may not use this file except in compliance with the License.
  * A copy of the License is located at
 * or in the "license" file accompanying this file. This file is distributed
 * express or implied. See the License for the specific language governing
 * permissions and limitations under the License.
package com.amazonaws.internal;
Construct a service endpoint based on metadata like service name and region
public abstract class ServiceEndpointBuilder {

Get the URI of the service endpoint

URI of endpoint
    public abstract URI getServiceEndpoint();
    public abstract Region getRegion();

Changes the region of the endpoint builder

region New region to use in endpoint determination
A reference to this updated object so that method calls can be chained together.
    public abstract ServiceEndpointBuilder withRegion(Region region);
New to GrepCode? Check out our FAQ X