Class ValidationError
java.lang.Object
com.amazonaws.services.datapipeline.model.ValidationError
- All Implemented Interfaces:
Serializable
,Cloneable
Defines a validation error. Validation errors prevent pipeline activation. The set of validation errors that can be returned are defined by AWS Data Pipeline.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A description of the validation error.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
The identifier of the object that contains the validation error.toString()
Returns a string representation of this object; useful for testing and debugging.withErrors
(String... errors) A description of the validation error.withErrors
(Collection<String> errors) A description of the validation error.The identifier of the object that contains the validation error.
-
Constructor Details
-
ValidationError
public ValidationError()
-
-
Method Details
-
setId
The identifier of the object that contains the validation error.
- Parameters:
id
- The identifier of the object that contains the validation error.
-
getId
The identifier of the object that contains the validation error.
- Returns:
- The identifier of the object that contains the validation error.
-
withId
The identifier of the object that contains the validation error.
- Parameters:
id
- The identifier of the object that contains the validation error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getErrors
A description of the validation error.
- Returns:
- A description of the validation error.
-
setErrors
A description of the validation error.
- Parameters:
errors
- A description of the validation error.
-
withErrors
A description of the validation error.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
orwithErrors(java.util.Collection)
if you want to override the existing values.- Parameters:
errors
- A description of the validation error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withErrors
A description of the validation error.
- Parameters:
errors
- A description of the validation error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-