Class ValidatePipelineDefinitionResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of ValidatePipelineDefinition.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Indicates whether there were validation errors.Any validation errors that were found.Any validation warnings that were found.int
hashCode()
Indicates whether there were validation errors.void
setErrored
(Boolean errored) Indicates whether there were validation errors.void
setValidationErrors
(Collection<ValidationError> validationErrors) Any validation errors that were found.void
setValidationWarnings
(Collection<ValidationWarning> validationWarnings) Any validation warnings that were found.toString()
Returns a string representation of this object; useful for testing and debugging.withErrored
(Boolean errored) Indicates whether there were validation errors.withValidationErrors
(ValidationError... validationErrors) Any validation errors that were found.withValidationErrors
(Collection<ValidationError> validationErrors) Any validation errors that were found.withValidationWarnings
(ValidationWarning... validationWarnings) Any validation warnings that were found.withValidationWarnings
(Collection<ValidationWarning> validationWarnings) Any validation warnings that were found.
-
Constructor Details
-
ValidatePipelineDefinitionResult
public ValidatePipelineDefinitionResult()
-
-
Method Details
-
getValidationErrors
Any validation errors that were found.
- Returns:
- Any validation errors that were found.
-
setValidationErrors
Any validation errors that were found.
- Parameters:
validationErrors
- Any validation errors that were found.
-
withValidationErrors
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
Any validation warnings that were found.
- Returns:
- Any validation warnings that were found.
-
setValidationWarnings
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
Indicates whether there were validation errors.
- Parameters:
errored
- Indicates whether there were validation errors.
-
getErrored
Indicates whether there were validation errors.
- Returns:
- Indicates whether there were validation errors.
-
withErrored
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
Indicates whether there were validation errors.
- Returns:
- Indicates whether there were validation errors.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-