Class ServiceMetadataUtils
- java.lang.Object
-
- software.amazon.awssdk.regions.internal.util.ServiceMetadataUtils
-
public class ServiceMetadataUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
dnsSuffix(ServiceEndpointKey key, Map<ServiceEndpointKey,String> dnsSuffixesByRegion, Map<Pair<String,PartitionEndpointKey>,String> dnsSuffixesByPartition)
static URI
endpointFor(String hostname, String endpointPrefix, String region, String dnsSuffix)
static String
hostname(ServiceEndpointKey key, Map<ServiceEndpointKey,String> hostnamesByRegion, Map<Pair<String,PartitionEndpointKey>,String> hostnamesByPartition)
static Pair<String,PartitionEndpointKey>
partitionKey(ServiceEndpointKey key)
static Region
signingRegion(ServiceEndpointKey key, Map<ServiceEndpointKey,String> signingRegionsByRegion, Map<Pair<String,PartitionEndpointKey>,String> signingRegionsByPartition)
-
-
-
Method Detail
-
endpointFor
public static URI endpointFor(String hostname, String endpointPrefix, String region, String dnsSuffix)
-
signingRegion
public static Region signingRegion(ServiceEndpointKey key, Map<ServiceEndpointKey,String> signingRegionsByRegion, Map<Pair<String,PartitionEndpointKey>,String> signingRegionsByPartition)
-
dnsSuffix
public static String dnsSuffix(ServiceEndpointKey key, Map<ServiceEndpointKey,String> dnsSuffixesByRegion, Map<Pair<String,PartitionEndpointKey>,String> dnsSuffixesByPartition)
-
hostname
public static String hostname(ServiceEndpointKey key, Map<ServiceEndpointKey,String> hostnamesByRegion, Map<Pair<String,PartitionEndpointKey>,String> hostnamesByPartition)
-
partitionKey
public static Pair<String,PartitionEndpointKey> partitionKey(ServiceEndpointKey key)
-
-