@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidatePipelineResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ValidatePipelineResult() |
| Modifier and Type | Method and Description |
|---|---|
ValidatePipelineResult |
clone() |
boolean |
equals(Object obj) |
List<ValidationMessage> |
getErrors()
A list of errors if the configuration is invalid.
|
Boolean |
getIsValid()
A boolean indicating whether or not the pipeline configuration is valid.
|
int |
hashCode() |
Boolean |
isValid()
A boolean indicating whether or not the pipeline configuration is valid.
|
void |
setErrors(Collection<ValidationMessage> errors)
A list of errors if the configuration is invalid.
|
void |
setIsValid(Boolean isValid)
A boolean indicating whether or not the pipeline configuration is valid.
|
String |
toString()
Returns a string representation of this object.
|
ValidatePipelineResult |
withErrors(Collection<ValidationMessage> errors)
A list of errors if the configuration is invalid.
|
ValidatePipelineResult |
withErrors(ValidationMessage... errors)
A list of errors if the configuration is invalid.
|
ValidatePipelineResult |
withIsValid(Boolean isValid)
A boolean indicating whether or not the pipeline configuration is valid.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setIsValid(Boolean isValid)
A boolean indicating whether or not the pipeline configuration is valid.
isValid - A boolean indicating whether or not the pipeline configuration is valid.public Boolean getIsValid()
A boolean indicating whether or not the pipeline configuration is valid.
public ValidatePipelineResult withIsValid(Boolean isValid)
A boolean indicating whether or not the pipeline configuration is valid.
isValid - A boolean indicating whether or not the pipeline configuration is valid.public Boolean isValid()
A boolean indicating whether or not the pipeline configuration is valid.
public List<ValidationMessage> getErrors()
A list of errors if the configuration is invalid.
public void setErrors(Collection<ValidationMessage> errors)
A list of errors if the configuration is invalid.
errors - A list of errors if the configuration is invalid.public ValidatePipelineResult withErrors(ValidationMessage... errors)
A list of errors if the configuration is invalid.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection) or withErrors(java.util.Collection) if you want to override the
existing values.
errors - A list of errors if the configuration is invalid.public ValidatePipelineResult withErrors(Collection<ValidationMessage> errors)
A list of errors if the configuration is invalid.
errors - A list of errors if the configuration is invalid.public String toString()
toString in class ObjectObject.toString()public ValidatePipelineResult clone()