public class ObjectHandle extends Object
| Constructor and Description |
|---|
ObjectHandle() |
ObjectHandle(String container,
String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkRestrictions(String container)
https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html
|
String |
getContainer() |
String |
getName() |
void |
setContainer(String container) |
void |
setName(String name) |
public String getContainer()
public void setContainer(String container)
public String getName()
public void setName(String name)
public static void checkRestrictions(String container)
Bucket names must be at least 3 and no more than 63 characters long.
Bucket names must be a series of one or more labels. Adjacent labels are separated by a single period (.). Bucket names can contain lowercase letters, numbers, and hyphens. Each label must start and end with a lowercase letter or a number.
Bucket names must not be formatted as an IP address (for example, 192.168.5.4).
When using virtual hosted–style buckets with SSL, the SSL wildcard certificate only matches buckets that do not contain periods. To work around this, use HTTP or write your own certificate verification logic. We recommend that you do not use periods (".") in bucket names.
Copyright © 2019. All Rights Reserved.