org.jclouds.aws.s3.predicates.validators
Class AWSS3BucketNameValidator
java.lang.Object
org.jclouds.predicates.Validator<String>
org.jclouds.predicates.validators.DnsNameValidator
org.jclouds.s3.predicates.validators.BucketNameValidator
org.jclouds.aws.s3.predicates.validators.AWSS3BucketNameValidator
- All Implemented Interfaces:
- com.google.common.base.Predicate<String>
public class AWSS3BucketNameValidator
- extends BucketNameValidator
Validates name for AWS S3 buckets. The complete requirements are listed at:
http://docs.amazonwebservices.com/AmazonS3/latest/index.html?BucketRestrictions.html
- Author:
- Adrian Cole, Jeremy Whitlock
- See Also:
InputParamValidator,
Validator
|
Method Summary |
void |
validate(String containerName)
Validates the parameter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Predicate |
equals |
validate
public void validate(String containerName)
- Description copied from class:
Validator
- Validates the parameter
- Overrides:
validate in class BucketNameValidator
- Parameters:
containerName - parameter to be validated
Copyright © 2009-2012 jclouds. All Rights Reserved.