@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidationMessage extends Object implements Serializable, Cloneable
An error or warning for a desired configuration option value.
Constructor and Description |
---|
ValidationMessage() |
Modifier and Type | Method and Description |
---|---|
ValidationMessage |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
A message describing the error or warning.
|
String |
getNamespace()
The namespace to which the option belongs.
|
String |
getOptionName()
The name of the option.
|
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)
The namespace to which the option belongs.
|
void |
setOptionName(String optionName)
The name of the option.
|
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)
The namespace to which the option belongs.
|
ValidationMessage |
withOptionName(String optionName)
The name of the option.
|
ValidationMessage |
withSeverity(String severity)
An indication of the severity of this message:
|
ValidationMessage |
withSeverity(ValidationSeverity severity)
An indication of the severity of this message:
|
public void setMessage(String message)
A message describing the error or warning.
message
- A message describing the error or warning.public String getMessage()
A message describing the error or warning.
public ValidationMessage withMessage(String message)
A message describing the error or warning.
message
- A message describing the error or warning.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.
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 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.
ValidationSeverity
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.
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)
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.
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)
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.
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 setNamespace(String namespace)
The namespace to which the option belongs.
namespace
- The namespace to which the option belongs.public String getNamespace()
The namespace to which the option belongs.
public ValidationMessage withNamespace(String namespace)
The namespace to which the option belongs.
namespace
- The namespace to which the option belongs.public void setOptionName(String optionName)
The name of the option.
optionName
- The name of the option.public String getOptionName()
The name of the option.
public ValidationMessage withOptionName(String optionName)
The name of the option.
optionName
- The name of the option.public String toString()
toString
in class Object
Object.toString()
public ValidationMessage clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.