Package | Description |
---|---|
com.ibm.cloud.objectstorage | |
com.ibm.cloud.objectstorage.internal | |
com.ibm.cloud.objectstorage.partitions | |
com.ibm.cloud.objectstorage.regions | |
com.ibm.cloud.objectstorage.services.s3 |
Synchronous client for accessing Amazon S3.
|
com.ibm.cloud.objectstorage.services.s3.internal | |
com.ibm.cloud.objectstorage.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
Modifier and Type | Method and Description |
---|---|
void |
AmazonWebServiceClient.setRegion(Region region)
Deprecated.
|
<T extends AmazonWebServiceClient> |
AmazonWebServiceClient.withRegion(Region region)
Deprecated.
use
AwsClientBuilder.withRegion(Region) for example:
AmazonSNSClientBuilder.standard().withRegion(region).build(); |
Modifier and Type | Method and Description |
---|---|
Region |
IdentityEndpointBuilder.getRegion() |
abstract Region |
ServiceEndpointBuilder.getRegion() |
Region |
DefaultServiceEndpointBuilder.getRegion() |
Modifier and Type | Method and Description |
---|---|
DefaultServiceEndpointBuilder |
IdentityEndpointBuilder.withRegion(Region region) |
abstract ServiceEndpointBuilder |
ServiceEndpointBuilder.withRegion(Region region)
Changes the region of the endpoint builder
|
DefaultServiceEndpointBuilder |
DefaultServiceEndpointBuilder.withRegion(Region region) |
Modifier and Type | Method and Description |
---|---|
Region |
PartitionMetadataProvider.getRegion(String regionName) |
Region |
PartitionMetadataProvider.tryGetRegionByEndpointDnsSuffix(String endpoint) |
Region |
PartitionMetadataProvider.tryGetRegionByExplicitEndpoint(String endpoint) |
Modifier and Type | Method and Description |
---|---|
List<Region> |
PartitionMetadataProvider.getRegions() |
List<Region> |
PartitionMetadataProvider.getRegionsForService(String serviceName) |
Modifier and Type | Method and Description |
---|---|
static Region |
Regions.getCurrentRegion()
Returns a Region object representing the region the application is
running in, when running in EC2.
|
static Region |
Region.getRegion(Regions region)
Returns the region with the id given, or null if it cannot be found in
the current regions.xml file.
|
Region |
RegionMetadata.getRegion(String name)
Returns the region with the name given, if it exists.
|
static Region |
RegionUtils.getRegion(String regionName)
Returns the region with the given regionName and proper partition if found in region metadata.
|
Region |
InMemoryRegionsProvider.getRegion(String regionName) |
Region |
RegionMetadataProvider.getRegion(String regionName)
Returns the region with the name given, if it exists in the metadata
or if it can be derived from the metadata.
|
Region |
RegionMetadata.getRegionByEndpoint(String endpoint)
Deprecated.
sdk no longer holds the complete endpoint for every service in the region.
It now uses the partition metadata to compute the endpoints dynamically for new regions and services.
|
Region |
AbstractRegionMetadataProvider.getRegionByEndpoint(String endpoint) |
Region |
RegionMetadataProvider.getRegionByEndpoint(String endpoint)
Searches through all known regions to find one with any service at the
specified endpoint.
|
Region |
RegionMetadata.tryGetRegionByEndpointDnsSuffix(String endpoint)
Returns the region associated with the specified endpoint by searching the endpoint configuration for a partition
that matches the DNS suffix of the provided endpoint and extracting the region name based on the endpoint pattern for
that partition.
|
Region |
InMemoryRegionsProvider.tryGetRegionByEndpointDnsSuffix(String endpoint) |
Region |
RegionMetadataProvider.tryGetRegionByEndpointDnsSuffix(String endpoint)
Returns the region associated with the specified endpoint by searching the endpoint configuration for a partition
that matches the DNS suffix of the provided endpoint and extracting the region name based on the endpoint pattern for
that partition.
|
Region |
RegionMetadata.tryGetRegionByExplicitEndpoint(String endpoint)
Returns the region associated with the specified endpoint by searching the endpoint configuration for an endpoint
that is explicitly listed.
|
Region |
InMemoryRegionsProvider.tryGetRegionByExplicitEndpoint(String endpoint) |
Region |
RegionMetadataProvider.tryGetRegionByExplicitEndpoint(String endpoint)
Returns the region associated with the specified endpoint by searching the endpoint configuration for an endpoint
that is explicitly listed.
|
Modifier and Type | Method and Description |
---|---|
List<Region> |
RegionMetadata.getRegions()
Returns an immutable list of all regions known to this region metadata
object, in no particular order.
|
static List<Region> |
RegionUtils.getRegions()
Returns a list of the available AWS regions.
|
List<Region> |
InMemoryRegionsProvider.getRegions() |
List<Region> |
RegionMetadataProvider.getRegions()
Returns an immutable list of all regions known to this region metadata
object, in no particular order.
|
List<Region> |
RegionMetadata.getRegionsForService(String service)
Returns a list of the regions that support the service given.
|
static List<Region> |
RegionUtils.getRegionsForService(String serviceAbbreviation)
Returns a list of the regions that support the service given.
|
List<Region> |
InMemoryRegionsProvider.getRegionsForService(String serviceName) |
List<Region> |
RegionMetadataProvider.getRegionsForService(String serviceName)
Returns a list of the regions that support the service given.
|
List<Region> |
RegionMetadataParser.parseRegionMetadata(InputStream input)
Deprecated.
in favor of
RegionMetadataParser.parse(InputStream) |
List<Region> |
RegionMetadataParser.parseRegionMetadata(InputStream input,
boolean endpointVerification)
Deprecated.
in favor of
RegionMetadataParser.parse(InputStream) |
Constructor and Description |
---|
InMemoryRegionsProvider(List<Region> regions) |
RegionMetadata(List<Region> regions)
Creates a new RegionMetadata object from the given list of regions.
|
Modifier and Type | Method and Description |
---|---|
void |
AmazonS3Client.setRegion(Region region)
Deprecated.
|
void |
AbstractAmazonS3.setRegion(Region region) |
void |
AmazonS3.setRegion(Region region)
An alternative to
AmazonS3.setEndpoint(String) , sets the
regional endpoint for this client's service calls. |
Modifier and Type | Method and Description |
---|---|
Region |
DualstackEndpointBuilder.getRegion() |
Modifier and Type | Method and Description |
---|---|
DualstackEndpointBuilder |
DualstackEndpointBuilder.withRegion(Region region) |
Constructor and Description |
---|
DualstackEndpointBuilder(String serviceName,
String protocol,
Region region) |
Modifier and Type | Method and Description |
---|---|
Region |
Region.toAWSRegion()
Returns the respective Amazon Web Services region.
|
Copyright © 2024. All rights reserved.