@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidationWarning extends Object implements Serializable, Cloneable
The error codes and error messages that are returned for the parameters or parameter combinations that are not valid when a new launch template or new version of a launch template is created.
| Constructor and Description |
|---|
ValidationWarning() |
| Modifier and Type | Method and Description |
|---|---|
ValidationWarning |
clone() |
boolean |
equals(Object obj) |
List<ValidationError> |
getErrors()
The error codes and error messages.
|
int |
hashCode() |
void |
setErrors(Collection<ValidationError> errors)
The error codes and error messages.
|
String |
toString()
Returns a string representation of this object.
|
ValidationWarning |
withErrors(Collection<ValidationError> errors)
The error codes and error messages.
|
ValidationWarning |
withErrors(ValidationError... errors)
The error codes and error messages.
|
public List<ValidationError> getErrors()
The error codes and error messages.
public void setErrors(Collection<ValidationError> errors)
The error codes and error messages.
errors - The error codes and error messages.public ValidationWarning withErrors(ValidationError... errors)
The error codes and error messages.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection) or withErrors(java.util.Collection) if you want to override the
existing values.
errors - The error codes and error messages.public ValidationWarning withErrors(Collection<ValidationError> errors)
The error codes and error messages.
errors - The error codes and error messages.public String toString()
toString in class ObjectObject.toString()public ValidationWarning clone()