Class AwsUsGovPartitionMetadata
- java.lang.Object
-
- software.amazon.awssdk.regions.partitionmetadata.AwsUsGovPartitionMetadata
-
- All Implemented Interfaces:
PartitionMetadata
@Generated("software.amazon.awssdk:codegen") public final class AwsUsGovPartitionMetadata extends Object implements PartitionMetadata
-
-
Constructor Summary
Constructors Constructor Description AwsUsGovPartitionMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
dnsSuffix(PartitionEndpointKey key)
Returns the DNS suffix, such as amazonaws.com for this partition.String
hostname(PartitionEndpointKey key)
Returns the hostname pattern, such as {service}.{region}.{dnsSuffix} for this partition.String
id()
Returns the identifier for this partition, such as aws.String
name()
Returns the partition name for this partition, such as AWS StandardString
regionRegex()
Returns the region regex used for pattern matching for this partition.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.regions.PartitionMetadata
dnsSuffix, hostname
-
-
-
-
Method Detail
-
id
public String id()
Description copied from interface:PartitionMetadata
Returns the identifier for this partition, such as aws.- Specified by:
id
in interfacePartitionMetadata
- Returns:
- The identifier for this partition.
-
name
public String name()
Description copied from interface:PartitionMetadata
Returns the partition name for this partition, such as AWS Standard- Specified by:
name
in interfacePartitionMetadata
- Returns:
- The name of this partition
-
regionRegex
public String regionRegex()
Description copied from interface:PartitionMetadata
Returns the region regex used for pattern matching for this partition.- Specified by:
regionRegex
in interfacePartitionMetadata
- Returns:
- The region regex of this partition.
-
dnsSuffix
public String dnsSuffix(PartitionEndpointKey key)
Description copied from interface:PartitionMetadata
Returns the DNS suffix, such as amazonaws.com for this partition. This returns the DNS suffix associated with the tags in the providedPartitionEndpointKey
.- Specified by:
dnsSuffix
in interfacePartitionMetadata
- Returns:
- The DNS suffix for this partition with the endpoint tags specified in the endpoint key, or null if one is not known.
-
hostname
public String hostname(PartitionEndpointKey key)
Description copied from interface:PartitionMetadata
Returns the hostname pattern, such as {service}.{region}.{dnsSuffix} for this partition. This returns the hostname associated with the tags in the providedPartitionEndpointKey
.- Specified by:
hostname
in interfacePartitionMetadata
- Returns:
- The hostname pattern for this partition with the endpoint tags specified in the endpoint key, or null if one is not known.
-
-