Class ValidatePipelineDefinitionResult
- java.lang.Object
-
- com.amazonaws.services.datapipeline.model.ValidatePipelineDefinitionResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ValidatePipelineDefinitionResult extends Object implements Serializable, Cloneable
Contains the output of ValidatePipelineDefinition.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidatePipelineDefinitionResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidatePipelineDefinitionResultclone()booleanequals(Object obj)BooleangetErrored()Indicates whether there were validation errors.List<ValidationError>getValidationErrors()Any validation errors that were found.List<ValidationWarning>getValidationWarnings()Any validation warnings that were found.inthashCode()BooleanisErrored()Indicates whether there were validation errors.voidsetErrored(Boolean errored)Indicates whether there were validation errors.voidsetValidationErrors(Collection<ValidationError> validationErrors)Any validation errors that were found.voidsetValidationWarnings(Collection<ValidationWarning> validationWarnings)Any validation warnings that were found.StringtoString()Returns a string representation of this object; useful for testing and debugging.ValidatePipelineDefinitionResultwithErrored(Boolean errored)Indicates whether there were validation errors.ValidatePipelineDefinitionResultwithValidationErrors(ValidationError... validationErrors)Any validation errors that were found.ValidatePipelineDefinitionResultwithValidationErrors(Collection<ValidationError> validationErrors)Any validation errors that were found.ValidatePipelineDefinitionResultwithValidationWarnings(ValidationWarning... validationWarnings)Any validation warnings that were found.ValidatePipelineDefinitionResultwithValidationWarnings(Collection<ValidationWarning> validationWarnings)Any validation warnings that were found.
-
-
-
Method Detail
-
getValidationErrors
public List<ValidationError> getValidationErrors()
Any validation errors that were found.
- Returns:
- Any validation errors that were found.
-
setValidationErrors
public void setValidationErrors(Collection<ValidationError> validationErrors)
Any validation errors that were found.
- Parameters:
validationErrors- Any validation errors that were found.
-
withValidationErrors
public ValidatePipelineDefinitionResult withValidationErrors(ValidationError... validationErrors)
Any validation errors that were found.
NOTE: This method appends the values to the existing list (if any). Use
setValidationErrors(java.util.Collection)orwithValidationErrors(java.util.Collection)if you want to override the existing values.- Parameters:
validationErrors- Any validation errors that were found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withValidationErrors
public ValidatePipelineDefinitionResult withValidationErrors(Collection<ValidationError> validationErrors)
Any validation errors that were found.
- Parameters:
validationErrors- Any validation errors that were found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getValidationWarnings
public List<ValidationWarning> getValidationWarnings()
Any validation warnings that were found.
- Returns:
- Any validation warnings that were found.
-
setValidationWarnings
public void setValidationWarnings(Collection<ValidationWarning> validationWarnings)
Any validation warnings that were found.
- Parameters:
validationWarnings- Any validation warnings that were found.
-
withValidationWarnings
public ValidatePipelineDefinitionResult withValidationWarnings(ValidationWarning... validationWarnings)
Any validation warnings that were found.
NOTE: This method appends the values to the existing list (if any). Use
setValidationWarnings(java.util.Collection)orwithValidationWarnings(java.util.Collection)if you want to override the existing values.- Parameters:
validationWarnings- Any validation warnings that were found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withValidationWarnings
public ValidatePipelineDefinitionResult withValidationWarnings(Collection<ValidationWarning> validationWarnings)
Any validation warnings that were found.
- Parameters:
validationWarnings- Any validation warnings that were found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setErrored
public void setErrored(Boolean errored)
Indicates whether there were validation errors.
- Parameters:
errored- Indicates whether there were validation errors.
-
getErrored
public Boolean getErrored()
Indicates whether there were validation errors.
- Returns:
- Indicates whether there were validation errors.
-
withErrored
public ValidatePipelineDefinitionResult withErrored(Boolean errored)
Indicates whether there were validation errors.
- Parameters:
errored- Indicates whether there were validation errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isErrored
public Boolean isErrored()
Indicates whether there were validation errors.
- Returns:
- Indicates whether there were validation errors.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ValidatePipelineDefinitionResult clone()
-
-