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:
  • Constructor Details

    • ValidatePipelineDefinitionResult

      public ValidatePipelineDefinitionResult()
  • Method Details

    • 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) or withValidationErrors(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) or withValidationWarnings(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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object