public final class EnhancedS3ServiceMetadata extends Object implements ServiceMetadata
s3.amazonaws.com when specifying the us-east-1 region.| Constructor and Description |
|---|
EnhancedS3ServiceMetadata() |
| Modifier and Type | Method and Description |
|---|---|
URI |
endpointFor(Region region)
Retrieve the AWS endpoint that should be used for this service in the provided region.
|
ServiceMetadata |
reconfigure(ServiceMetadataConfiguration configuration)
Reconfigure this service metadata using the provided
ServiceMetadataConfiguration. |
List<Region> |
regions()
Retrieve the list of regions this service is currently available in.
|
List<ServicePartitionMetadata> |
servicePartitions()
Retrieve the service-specific partition configuration of each partition in which this service is currently available.
|
Region |
signingRegion(Region region)
Retrieve the region that should be used for message signing when communicating with this service in the provided region.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeEndpoint, of, reconfigurepublic URI endpointFor(Region region)
ServiceMetadataendpointFor in interface ServiceMetadataregion - The region that should be used to load the service endpoint.public Region signingRegion(Region region)
ServiceMetadataRegion.AWS_GLOBAL.signingRegion in interface ServiceMetadataregion - The region from which the signing region should be derived.public List<Region> regions()
ServiceMetadataregions in interface ServiceMetadatapublic List<ServicePartitionMetadata> servicePartitions()
ServiceMetadataservicePartitions in interface ServiceMetadatapublic ServiceMetadata reconfigure(ServiceMetadataConfiguration configuration)
ServiceMetadataServiceMetadataConfiguration. This is useful, because some
service metadata instances refer to external configuration that might wish to be modified, like a ProfileFile.reconfigure in interface ServiceMetadataCopyright © 2020. All rights reserved.