public class DualstackEndpointBuilder extends ServiceEndpointBuilder
Constructor and Description |
---|
DualstackEndpointBuilder(String serviceName,
String protocol,
Region region) |
Modifier and Type | Method and Description |
---|---|
Region |
getRegion() |
URI |
getServiceEndpoint()
Get the URI of the service endpoint
|
DualstackEndpointBuilder |
withRegion(Region region)
Changes the region of the endpoint builder
|
public DualstackEndpointBuilder 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.