public final class EndpointUtils extends Object
Modifier and Type | Method and Description |
---|---|
static URI |
buildEndpoint(String protocol,
String serviceEndpointPrefix,
Region region)
Generate an endpoint from the provided endpoint protocol, url prefix, and region.
|
public static URI buildEndpoint(String protocol, String serviceEndpointPrefix, Region region)
protocol
- The protocol that should be used when communicating with AWS (usually http or https).serviceEndpointPrefix
- The endpoint prefix that should be used when communicating with AWS (usually the
endpointPrefix in the service's model).region
- The AWS region that should be communicated with.Copyright © 2019. All rights reserved.