|
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.datapipeline.model.ValidationError
public class ValidationError
Defines a validation error returned by PutPipelineDefinition or ValidatePipelineDefinition. Validation errors prevent pipeline activation. The set of validation errors that can be returned are defined by AWS Data Pipeline.
| Constructor Summary | |
|---|---|
ValidationError()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
List<String> |
getErrors()
A description of the validation error. |
String |
getId()
The identifier of the object that contains the validation error. |
int |
hashCode()
|
void |
setErrors(Collection<String> errors)
A description of the validation error. |
void |
setId(String id)
The identifier of the object that contains the validation error. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ValidationError |
withErrors(Collection<String> errors)
A description of the validation error. |
ValidationError |
withErrors(String... errors)
A description of the validation error. |
ValidationError |
withId(String id)
The identifier of the object that contains the validation error. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ValidationError()
| Method Detail |
|---|
public String getId()
Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*
public void setId(String id)
Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*
id - The identifier of the object that contains the validation error.public ValidationError withId(String id)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*
id - The identifier of the object that contains the validation error.
public List<String> getErrors()
public void setErrors(Collection<String> errors)
errors - A description of the validation error.public ValidationError withErrors(String... errors)
Returns a reference to this object so that method calls can be chained together.
errors - A description of the validation error.
public ValidationError withErrors(Collection<String> errors)
Returns a reference to this object so that method calls can be chained together.
errors - A description of the validation error.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||