Class OptionRestrictionRegex

java.lang.Object
com.amazonaws.services.elasticbeanstalk.model.OptionRestrictionRegex
All Implemented Interfaces:
Serializable, Cloneable

public class OptionRestrictionRegex extends Object implements Serializable, Cloneable

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

See Also:
  • Constructor Details

    • OptionRestrictionRegex

      public OptionRestrictionRegex()
  • Method Details

    • 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.
    • 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.
    • withPattern

      public OptionRestrictionRegex withPattern(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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setLabel

      public void setLabel(String label)

      A unique name representing this regular expression.

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

      public String getLabel()

      A unique name representing this regular expression.

      Returns:
      A unique name representing this regular expression.
    • withLabel

      public OptionRestrictionRegex withLabel(String label)

      A unique name representing this regular expression.

      Parameters:
      label - A unique name representing this regular expression.
      Returns:
      Returns a reference to this 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public OptionRestrictionRegex clone()
      Overrides:
      clone in class Object