Class ValidationWarning
- All Implemented Interfaces:
Serializable
,Cloneable
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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getId()
The identifier of the object that contains the validation warning.A description of the validation warning.int
hashCode()
void
The identifier of the object that contains the validation warning.void
setWarnings
(Collection<String> warnings) A description of the validation warning.toString()
Returns a string representation of this object; useful for testing and debugging.The identifier of the object that contains the validation warning.withWarnings
(String... warnings) A description of the validation warning.withWarnings
(Collection<String> warnings) A description of the validation warning.
-
Constructor Details
-
ValidationWarning
public ValidationWarning()
-
-
Method Details
-
setId
The identifier of the object that contains the validation warning.
- Parameters:
id
- The identifier of the object that contains the validation warning.
-
getId
The identifier of the object that contains the validation warning.
- Returns:
- The identifier of the object that contains the validation warning.
-
withId
The identifier of the object that contains the validation warning.
- Parameters:
id
- The identifier of the object that contains the validation warning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getWarnings
A description of the validation warning.
- Returns:
- A description of the validation warning.
-
setWarnings
A description of the validation warning.
- Parameters:
warnings
- A description of the validation warning.
-
withWarnings
A description of the validation warning.
NOTE: This method appends the values to the existing list (if any). Use
setWarnings(java.util.Collection)
orwithWarnings(java.util.Collection)
if you want to override the existing values.- Parameters:
warnings
- A description of the validation warning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withWarnings
A description of the validation warning.
- Parameters:
warnings
- A description of the validation warning.- 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
-