@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidationWarning extends Object implements Serializable, Cloneable, StructuredPojo
Defines a validation warning. Validation warnings do not prevent pipeline activation. The set of validation warnings that can be returned are defined by AWS Data Pipeline.
Constructor and Description |
---|
ValidationWarning() |
Modifier and Type | Method and Description |
---|---|
ValidationWarning |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The identifier of the object that contains the validation warning.
|
List<String> |
getWarnings()
A description of the validation warning.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The identifier of the object that contains the validation warning.
|
void |
setWarnings(Collection<String> warnings)
A description of the validation warning.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ValidationWarning |
withId(String id)
The identifier of the object that contains the validation warning.
|
ValidationWarning |
withWarnings(Collection<String> warnings)
A description of the validation warning.
|
ValidationWarning |
withWarnings(String... warnings)
A description of the validation warning.
|
public void setId(String id)
The identifier of the object that contains the validation warning.
id
- The identifier of the object that contains the validation warning.public String getId()
The identifier of the object that contains the validation warning.
public ValidationWarning withId(String id)
The identifier of the object that contains the validation warning.
id
- The identifier of the object that contains the validation warning.public List<String> getWarnings()
A description of the validation warning.
public void setWarnings(Collection<String> warnings)
A description of the validation warning.
warnings
- A description of the validation warning.public ValidationWarning withWarnings(String... warnings)
A description of the validation warning.
NOTE: This method appends the values to the existing list (if any). Use
setWarnings(java.util.Collection)
or withWarnings(java.util.Collection)
if you want to override
the existing values.
warnings
- A description of the validation warning.public ValidationWarning withWarnings(Collection<String> warnings)
A description of the validation warning.
warnings
- A description of the validation warning.public String toString()
toString
in class Object
Object.toString()
public ValidationWarning 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.