@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidationError extends Object implements Serializable, Cloneable, StructuredPojo
Defines a validation error. Validation errors prevent pipeline activation. The set of validation errors that can be returned are defined by AWS Data Pipeline.
Constructor and Description |
---|
ValidationError() |
Modifier and Type | Method and Description |
---|---|
ValidationError |
clone() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
public void setId(String id)
The identifier of the object that contains the validation error.
id
- The identifier of the object that contains the validation error.public String getId()
The identifier of the object that contains the validation error.
public ValidationError withId(String id)
The identifier of the object that contains the validation error.
id
- The identifier of the object that contains the validation error.public List<String> getErrors()
A description of the validation error.
public void setErrors(Collection<String> errors)
A description of the validation error.
errors
- A description of the validation error.public ValidationError withErrors(String... errors)
A description of the validation error.
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
- A description of the validation error.public ValidationError withErrors(Collection<String> errors)
A description of the validation error.
errors
- A description of the validation error.public String toString()
toString
in class Object
Object.toString()
public ValidationError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.