Class ValidationMessage

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

public class ValidationMessage extends Object implements Serializable, Cloneable

An error or warning for a desired configuration option value.

See Also:
  • Constructor Details

    • ValidationMessage

      public ValidationMessage()
  • Method Details

    • setMessage

      public void setMessage(String message)

      A message describing the error or warning.

      Parameters:
      message - A message describing the error or warning.
    • getMessage

      public String getMessage()

      A message describing the error or warning.

      Returns:
      A message describing the error or warning.
    • withMessage

      public ValidationMessage withMessage(String message)

      A message describing the error or warning.

      Parameters:
      message - A message describing the error or warning.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setSeverity

      public void setSeverity(String severity)

      An indication of the severity of this message:

      • error: This message indicates that this is not a valid setting for an option.
      • warning: This message is providing information you should take into account.
      Parameters:
      severity - An indication of the severity of this message:

      • error: This message indicates that this is not a valid setting for an option.
      • warning: This message is providing information you should take into account.
      See Also:
    • getSeverity

      public String getSeverity()

      An indication of the severity of this message:

      • error: This message indicates that this is not a valid setting for an option.
      • warning: This message is providing information you should take into account.
      Returns:
      An indication of the severity of this message:

      • error: This message indicates that this is not a valid setting for an option.
      • warning: This message is providing information you should take into account.
      See Also:
    • withSeverity

      public ValidationMessage withSeverity(String severity)

      An indication of the severity of this message:

      • error: This message indicates that this is not a valid setting for an option.
      • warning: This message is providing information you should take into account.
      Parameters:
      severity - An indication of the severity of this message:

      • error: This message indicates that this is not a valid setting for an option.
      • warning: This message is providing information you should take into account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setSeverity

      public void setSeverity(ValidationSeverity severity)

      An indication of the severity of this message:

      • error: This message indicates that this is not a valid setting for an option.
      • warning: This message is providing information you should take into account.
      Parameters:
      severity - An indication of the severity of this message:

      • error: This message indicates that this is not a valid setting for an option.
      • warning: This message is providing information you should take into account.
      See Also:
    • withSeverity

      public ValidationMessage withSeverity(ValidationSeverity severity)

      An indication of the severity of this message:

      • error: This message indicates that this is not a valid setting for an option.
      • warning: This message is providing information you should take into account.
      Parameters:
      severity - An indication of the severity of this message:

      • error: This message indicates that this is not a valid setting for an option.
      • warning: This message is providing information you should take into account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setNamespace

      public void setNamespace(String namespace)

      Parameters:
      namespace -
    • getNamespace

      public String getNamespace()

      Returns:
    • withNamespace

      public ValidationMessage withNamespace(String namespace)

      Parameters:
      namespace -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setOptionName

      public void setOptionName(String optionName)

      Parameters:
      optionName -
    • getOptionName

      public String getOptionName()

      Returns:
    • withOptionName

      public ValidationMessage withOptionName(String optionName)

      Parameters:
      optionName -
      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 ValidationMessage clone()
      Overrides:
      clone in class Object