public class Bucket extends Object
Constructor and Description |
---|
Bucket(String name)
Constructs a new Bucket.
|
Modifier and Type | Method and Description |
---|---|
Date |
getCreationDate()
Returns creationDate.
|
String |
getName()
Returns name.
|
boolean |
specified()
Returns true if specified; length is non-zero.
|
String |
toString()
Returns the name.
|
static boolean |
validateBucketName(String bucketName,
CallingFormat callingFormat)
Returns true if the bucket name is valid for the calling format.
|
boolean |
validateName(CallingFormat callingFormat)
Returns true if the bucket name is valid for the calling format.
|
public Bucket(String name)
name
- non-null namepublic String getName()
public boolean specified()
public Date getCreationDate()
public static boolean validateBucketName(String bucketName, CallingFormat callingFormat)
public boolean validateName(CallingFormat callingFormat)
Copyright © 2013. All Rights Reserved.