@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OptionRestrictionRegex extends Object implements Serializable, Cloneable
A regular expression representing a restriction on a string configuration option value.
| Constructor and Description | 
|---|
OptionRestrictionRegex()  | 
| Modifier and Type | Method and Description | 
|---|---|
OptionRestrictionRegex | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getLabel()
 A unique name representing this regular expression. 
 | 
String | 
getPattern()
 The regular expression pattern that a string configuration option value with this restriction must match. 
 | 
int | 
hashCode()  | 
void | 
setLabel(String label)
 A unique name representing this regular expression. 
 | 
void | 
setPattern(String pattern)
 The regular expression pattern that a string configuration option value with this restriction must match. 
 | 
String | 
toString()
Returns a string representation of this object; useful for testing and debugging. 
 | 
OptionRestrictionRegex | 
withLabel(String label)
 A unique name representing this regular expression. 
 | 
OptionRestrictionRegex | 
withPattern(String pattern)
 The regular expression pattern that a string configuration option value with this restriction must match. 
 | 
public void setPattern(String pattern)
The regular expression pattern that a string configuration option value with this restriction must match.
pattern - The regular expression pattern that a string configuration option value with this restriction must match.public String getPattern()
The regular expression pattern that a string configuration option value with this restriction must match.
public OptionRestrictionRegex withPattern(String pattern)
The regular expression pattern that a string configuration option value with this restriction must match.
pattern - The regular expression pattern that a string configuration option value with this restriction must match.public void setLabel(String label)
A unique name representing this regular expression.
label - A unique name representing this regular expression.public String getLabel()
A unique name representing this regular expression.
public OptionRestrictionRegex withLabel(String label)
A unique name representing this regular expression.
label - A unique name representing this regular expression.public String toString()
toString in class ObjectObject.toString()public OptionRestrictionRegex clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.