public class DefaultServicePartitionMetadata extends Object implements ServicePartitionMetadata
| Constructor and Description |
|---|
DefaultServicePartitionMetadata(String partition,
Region globalRegionForPartition) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Region> |
globalRegion()
Retrieve the global region associated with this service, in this
ServicePartitionMetadata.partition(). |
PartitionMetadata |
partition()
Retrieve the partition to which this service is known to exist.
|
public PartitionMetadata partition()
ServicePartitionMetadatapartition in interface ServicePartitionMetadatapublic Optional<Region> globalRegion()
ServicePartitionMetadataServicePartitionMetadata.partition(). This will return empty if the
service is regionalized in the partition.globalRegion in interface ServicePartitionMetadataCopyright © 2021. All rights reserved.