public class ValidationWarning extends Object implements Serializable
Defines a validation warning returned by PutPipelineDefinition or ValidatePipelineDefinition. 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 |
---|---|
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 |
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 String getId()
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setId(String id)
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
id
- The identifier of the object that contains the validation warning.public ValidationWarning withId(String id)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
id
- The identifier of the object that contains the validation warning.public List<String> getWarnings()
public void setWarnings(Collection<String> warnings)
warnings
- A description of the validation warning.public ValidationWarning withWarnings(String... warnings)
Returns a reference to this object so that method calls can be chained together.
warnings
- A description of the validation warning.public ValidationWarning withWarnings(Collection<String> warnings)
Returns a reference to this object so that method calls can be chained together.
warnings
- A description of the validation warning.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.