@Generated(value="software.amazon.awssdk:codegen") public final class ValidationError extends Object implements StructuredPojo, ToCopyableBuilder<ValidationError.Builder,ValidationError>
Defines a validation error. Validation errors prevent pipeline activation. The set of validation errors that can be returned are defined by AWS Data Pipeline.
Modifier and Type | Class and Description |
---|---|
static interface |
ValidationError.Builder |
Modifier and Type | Method and Description |
---|---|
static ValidationError.Builder |
builder() |
boolean |
equals(Object obj) |
List<String> |
errors()
A description of the validation error.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier of the object that contains the validation error.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends ValidationError.Builder> |
serializableBuilderClass() |
ValidationError.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String id()
The identifier of the object that contains the validation error.
public List<String> errors()
A description of the validation error.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ValidationError.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ValidationError.Builder,ValidationError>
public static ValidationError.Builder builder()
public static Class<? extends ValidationError.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.