Class DefaultServicePartitionMetadata
java.lang.Object
software.amazon.awssdk.regions.internal.DefaultServicePartitionMetadata
- All Implemented Interfaces:
ServicePartitionMetadata
-
Constructor Summary
ConstructorDescriptionDefaultServicePartitionMetadata
(String partition, Region globalRegionForPartition) -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the global region associated with this service, in thisServicePartitionMetadata.partition()
.Retrieve the partition to which this service is known to exist.
-
Constructor Details
-
DefaultServicePartitionMetadata
-
-
Method Details
-
partition
Description copied from interface:ServicePartitionMetadata
Retrieve the partition to which this service is known to exist.- Specified by:
partition
in interfaceServicePartitionMetadata
-
globalRegion
Description copied from interface:ServicePartitionMetadata
Retrieve the global region associated with this service, in thisServicePartitionMetadata.partition()
. This will return empty if the service is regionalized in the partition.- Specified by:
globalRegion
in interfaceServicePartitionMetadata
-