public class BucketNameValidator extends DnsNameValidator
InputParamValidator,
Validator| Constructor and Description |
|---|
BucketNameValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected IllegalArgumentException |
exception(String containerName,
String reason) |
protected com.google.common.base.CharMatcher |
getAcceptableRange()
Amazon also permits periods in the dns name.
|
void |
validate(String containerName)
Validates the parameter
|
public void validate(String containerName)
Validatorvalidate in class DnsNameValidatorcontainerName - parameter to be validatedprotected IllegalArgumentException exception(String containerName, String reason)
exception in class DnsNameValidatorprotected com.google.common.base.CharMatcher getAcceptableRange()
getAcceptableRange in class DnsNameValidatorCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.