@NotThreadSafe public class DefaultServiceEndpointBuilder extends ServiceEndpointBuilder
Constructor and Description |
---|
DefaultServiceEndpointBuilder(String serviceName,
String protocol) |
Modifier and Type | Method and Description |
---|---|
Region |
getRegion() |
URI |
getServiceEndpoint()
Get the URI of the service endpoint
|
DefaultServiceEndpointBuilder |
withRegion(Region region)
Changes the region of the endpoint builder
|
public DefaultServiceEndpointBuilder withRegion(Region region)
ServiceEndpointBuilder
withRegion
in class ServiceEndpointBuilder
region
- New region to use in endpoint determinationpublic URI getServiceEndpoint()
ServiceEndpointBuilder
getServiceEndpoint
in class ServiceEndpointBuilder
public Region getRegion()
getRegion
in class ServiceEndpointBuilder
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.