Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class ValidationMessage

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

public class ValidationMessage
extends Object
implements Serializable

An error or warning for a desired configuration option value.

See Also:
Serialized Form

Constructor Summary
ValidationMessage()
          Default constructor for a new ValidationMessage object.
 
Method Summary
 boolean equals(Object obj)
           
 String getMessage()
          A message describing the error or warning.
 String getNamespace()
           
 String getOptionName()
           
 String getSeverity()
          An indication of the severity of this message:
 int hashCode()
           
 void setMessage(String message)
          A message describing the error or warning.
 void setNamespace(String namespace)
           
 void setOptionName(String optionName)
           
 void setSeverity(String severity)
          An indication of the severity of this message:
 void setSeverity(ValidationSeverity severity)
          An indication of the severity of this message:
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ValidationMessage withMessage(String message)
          A message describing the error or warning.
 ValidationMessage withNamespace(String namespace)
           Returns a reference to this object so that method calls can be chained together.
 ValidationMessage withOptionName(String optionName)
           Returns a reference to this object so that method calls can be chained together.
 ValidationMessage withSeverity(String severity)
          An indication of the severity of this message:
 ValidationMessage withSeverity(ValidationSeverity severity)
          An indication of the severity of this message:
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidationMessage

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

Method Detail

getMessage

public String getMessage()
A message describing the error or warning.

Returns:
A message describing the error or warning.

setMessage

public void setMessage(String message)
A message describing the error or warning.

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

withMessage

public ValidationMessage withMessage(String message)
A message describing the error or warning.

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

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

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.

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

Constraints:
Allowed Values: error, warning

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.

  • 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:
ValidationSeverity

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.

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

Constraints:
Allowed Values: error, warning

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.

  • 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:
ValidationSeverity

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.

  • 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 a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: error, warning

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.

  • 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:
A reference to this updated object so that method calls can be chained together.
See Also:
ValidationSeverity

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.

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

Constraints:
Allowed Values: error, warning

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.

  • 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:
ValidationSeverity

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.

  • 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 a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: error, warning

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.

  • 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:
A reference to this updated object so that method calls can be chained together.
See Also:
ValidationSeverity

getNamespace

public String getNamespace()
Returns:

setNamespace

public void setNamespace(String namespace)
Parameters:
namespace -

withNamespace

public ValidationMessage withNamespace(String namespace)

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

Parameters:
namespace -
Returns:
A reference to this updated object so that method calls can be chained together.

getOptionName

public String getOptionName()
Returns:

setOptionName

public void setOptionName(String optionName)
Parameters:
optionName -

withOptionName

public ValidationMessage withOptionName(String optionName)

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

Parameters:
optionName -
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.