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 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(ValidationError... validationErrors)
Any validation errors that were found.ValidatePipelineDefinitionResult
withValidationErrors(Collection<ValidationError> validationErrors)
Any validation errors that were found.ValidatePipelineDefinitionResult
withValidationWarnings(ValidationWarning... validationWarnings)
Any validation warnings that were found.ValidatePipelineDefinitionResult
withValidationWarnings(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ValidatePipelineDefinitionResult clone()
-
-