Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class OptionRestrictionRegex

java.lang.Object
  extended by com.amazonaws.services.elasticbeanstalk.model.OptionRestrictionRegex
All Implemented Interfaces:
Serializable

public class OptionRestrictionRegex
extends Object
implements Serializable

A regular expression representing a restriction on a string configuration option value.

See Also:
Serialized Form

Constructor Summary
OptionRestrictionRegex()
          Default constructor for a new OptionRestrictionRegex object.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OptionRestrictionRegex

public OptionRestrictionRegex()
Default constructor for a new OptionRestrictionRegex object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getPattern

public String getPattern()
The regular expression pattern that a string configuration option value with this restriction must match.

Returns:
The regular expression pattern that a string configuration option value with this restriction must match.

setPattern

public void setPattern(String pattern)
The regular expression pattern that a string configuration option value with this restriction must match.

Parameters:
pattern - The regular expression pattern that a string configuration option value with this restriction must match.

withPattern

public OptionRestrictionRegex withPattern(String pattern)
The regular expression pattern that a string configuration option value with this restriction must match.

Returns a reference to this object so that method calls can be chained together.

Parameters:
pattern - The regular expression pattern that a string configuration option value with this restriction must match.
Returns:
A reference to this updated object so that method calls can be chained together.

getLabel

public String getLabel()
A unique name representing this regular expression.

Returns:
A unique name representing this regular expression.

setLabel

public void setLabel(String label)
A unique name representing this regular expression.

Parameters:
label - A unique name representing this regular expression.

withLabel

public OptionRestrictionRegex withLabel(String label)
A unique name representing this regular expression.

Returns a reference to this object so that method calls can be chained together.

Parameters:
label - A unique name representing this regular expression.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.