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(ServiceEndpointKey key)
Retrieve the AWS endpoint that should be used for this service associated with the provided
ServiceEndpointKey . |
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(ServiceEndpointKey key)
Retrieve the region that should be used for message signing when communicating with this service in the provided region
and with the provided endpoint tags.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endpointFor, of, reconfigure, signingRegion
public URI endpointFor(ServiceEndpointKey key)
ServiceMetadata
ServiceEndpointKey
.endpointFor
in interface ServiceMetadata
key
- The service endpoint key with which an endpoint should be retrieved.public Region signingRegion(ServiceEndpointKey key)
ServiceMetadata
Region.AWS_GLOBAL
.signingRegion
in interface ServiceMetadata
key
- The service endpoint key with which an endpoint should be retrieved.public List<Region> regions()
ServiceMetadata
regions
in interface ServiceMetadata
public List<ServicePartitionMetadata> servicePartitions()
ServiceMetadata
servicePartitions
in interface ServiceMetadata
public ServiceMetadata reconfigure(ServiceMetadataConfiguration configuration)
ServiceMetadata
ServiceMetadataConfiguration
. This is useful, because some
service metadata instances refer to external configuration that might wish to be modified, like a ProfileFile
.reconfigure
in interface ServiceMetadata
Copyright © 2023. All rights reserved.