|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticbeanstalk.model.ValidationMessage
public class ValidationMessage
An error or warning for a desired configuration option value.
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 |
---|
public ValidationMessage()
Method Detail |
---|
public String getMessage()
public void setMessage(String message)
message
- A message describing the error or warning.public ValidationMessage withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message
- A message describing the error or warning.
public String getSeverity()
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
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.
ValidationSeverity
public void setSeverity(String severity)
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
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.
ValidationSeverity
public ValidationMessage withSeverity(String severity)
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
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.
ValidationSeverity
public void setSeverity(ValidationSeverity severity)
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
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.
ValidationSeverity
public ValidationMessage withSeverity(ValidationSeverity severity)
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
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.
ValidationSeverity
public String getNamespace()
public void setNamespace(String namespace)
namespace
- public ValidationMessage withNamespace(String namespace)
Returns a reference to this object so that method calls can be chained together.
namespace
-
public String getOptionName()
public void setOptionName(String optionName)
optionName
- public ValidationMessage withOptionName(String optionName)
Returns a reference to this object so that method calls can be chained together.
optionName
-
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |