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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationMessageclone()booleanequals(Object obj)StringgetMessage()A message describing the error or warning.StringgetNamespace()StringgetOptionName()StringgetSeverity()An indication of the severity of this message:inthashCode()voidsetMessage(String message)A message describing the error or warning.voidsetNamespace(String namespace)voidsetOptionName(String optionName)voidsetSeverity(ValidationSeverity severity)An indication of the severity of this message:voidsetSeverity(String severity)An indication of the severity of this message:StringtoString()Returns a string representation of this object; useful for testing and debugging.ValidationMessagewithMessage(String message)A message describing the error or warning.ValidationMessagewithNamespace(String namespace)ValidationMessagewithOptionName(String optionName)ValidationMessagewithSeverity(ValidationSeverity severity)An indication of the severity of this message:ValidationMessagewithSeverity(String severity)An indication of the severity of this message:
-
-
-
Method Detail
-
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:
ValidationSeverity
-
-
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:
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.
- 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:
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.
- 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:
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.
- 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:
ValidationSeverity
-
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ValidationMessage clone()
-
-