public final class S3ExpressStorage extends Object
s3a://bucket--usw2-az2--x-s3/
Modifier and Type | Field and Description |
---|---|
static String |
PRODUCT_NAME
What is the official product name? used for error messages and logging: "Amazon S3 Express One Zone Storage".
|
static String |
S3EXPRESS_STORE_SUFFIX
Suffix of S3Express storage bucket names..
|
static String |
STORE_CAPABILITY_S3_EXPRESS_STORAGE
Is this S3Express storage? value "fs.s3a.capability.s3express.storage".
|
static int |
ZONE_LENGTH |
Modifier and Type | Method and Description |
---|---|
static boolean |
hasS3ExpressSuffix(String bucket)
Check for a bucket name matching -does not look at endpoint.
|
static boolean |
isS3ExpressStore(String bucket,
String endpoint)
Is a bucket an S3Express store?
This may get confused against third party stores, so takes the endpoint
and only supports aws endpoints round the world.
|
public static final String STORE_CAPABILITY_S3_EXPRESS_STORAGE
public static final String PRODUCT_NAME
public static final int ZONE_LENGTH
public static final String S3EXPRESS_STORE_SUFFIX
public static boolean isS3ExpressStore(String bucket, String endpoint)
bucket
- bucket to probeendpoint
- endpoint string. If empty, this is considered an AWS endpoint.public static boolean hasS3ExpressSuffix(String bucket)
bucket
- bucket to probe.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.