public class ValidatePipelineDefinitionResult extends Object implements Serializable, Cloneable
Contains the output of ValidatePipelineDefinition.
| Constructor and Description |
|---|
ValidatePipelineDefinitionResult() |
| Modifier and Type | Method and Description |
|---|---|
ValidatePipelineDefinitionResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getErrored()
Indicates whether there were validation errors.
|
List<ValidationError> |
getValidationErrors()
Any validation errors that were found.
|
List<ValidationWarning> |
getValidationWarnings()
Any validation warnings that were found.
|
int |
hashCode() |
Boolean |
isErrored()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ValidatePipelineDefinitionResult |
withErrored(Boolean errored)
Indicates whether there were validation errors.
|
ValidatePipelineDefinitionResult |
withValidationErrors(Collection<ValidationError> validationErrors)
Any validation errors that were found.
|
ValidatePipelineDefinitionResult |
withValidationErrors(ValidationError... validationErrors)
Any validation errors that were found.
|
ValidatePipelineDefinitionResult |
withValidationWarnings(Collection<ValidationWarning> validationWarnings)
Any validation warnings that were found.
|
ValidatePipelineDefinitionResult |
withValidationWarnings(ValidationWarning... validationWarnings)
Any validation warnings that were found.
|
public List<ValidationError> getValidationErrors()
public void setValidationErrors(Collection<ValidationError> validationErrors)
validationErrors - Any validation errors that were found.public ValidatePipelineDefinitionResult withValidationErrors(ValidationError... validationErrors)
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.
Returns a reference to this object so that method calls can be chained together.
validationErrors - Any validation errors that were found.public ValidatePipelineDefinitionResult withValidationErrors(Collection<ValidationError> validationErrors)
Returns a reference to this object so that method calls can be chained together.
validationErrors - Any validation errors that were found.public List<ValidationWarning> getValidationWarnings()
public void setValidationWarnings(Collection<ValidationWarning> validationWarnings)
validationWarnings - Any validation warnings that were found.public ValidatePipelineDefinitionResult withValidationWarnings(ValidationWarning... validationWarnings)
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.
Returns a reference to this object so that method calls can be chained together.
validationWarnings - Any validation warnings that were found.public ValidatePipelineDefinitionResult withValidationWarnings(Collection<ValidationWarning> validationWarnings)
Returns a reference to this object so that method calls can be chained together.
validationWarnings - Any validation warnings that were found.public Boolean isErrored()
public void setErrored(Boolean errored)
errored - Indicates whether there were validation errors.public ValidatePipelineDefinitionResult withErrored(Boolean errored)
Returns a reference to this object so that method calls can be chained together.
errored - Indicates whether there were validation errors.public Boolean getErrored()
public String toString()
toString in class ObjectObject.toString()public ValidatePipelineDefinitionResult clone()
Copyright © 2015. All rights reserved.