public class PutPipelineDefinitionResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of PutPipelineDefinition.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
errored
Indicates whether there were validation errors, and the pipeline
definition is stored but cannot be activated until you correct the
pipeline and call
PutPipelineDefinition to commit the
corrected pipeline. |
private SdkInternalList<ValidationError> |
validationErrors
The validation errors that are associated with the objects defined in
pipelineObjects . |
private SdkInternalList<ValidationWarning> |
validationWarnings
The validation warnings that are associated with the objects defined in
pipelineObjects . |
Constructor and Description |
---|
PutPipelineDefinitionResult() |
Modifier and Type | Method and Description |
---|---|
PutPipelineDefinitionResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getErrored()
Indicates whether there were validation errors, and the pipeline
definition is stored but cannot be activated until you correct the
pipeline and call
PutPipelineDefinition to commit the
corrected pipeline. |
java.util.List<ValidationError> |
getValidationErrors()
The validation errors that are associated with the objects defined in
pipelineObjects . |
java.util.List<ValidationWarning> |
getValidationWarnings()
The validation warnings that are associated with the objects defined in
pipelineObjects . |
int |
hashCode() |
java.lang.Boolean |
isErrored()
Indicates whether there were validation errors, and the pipeline
definition is stored but cannot be activated until you correct the
pipeline and call
PutPipelineDefinition to commit the
corrected pipeline. |
void |
setErrored(java.lang.Boolean errored)
Indicates whether there were validation errors, and the pipeline
definition is stored but cannot be activated until you correct the
pipeline and call
PutPipelineDefinition to commit the
corrected pipeline. |
void |
setValidationErrors(java.util.Collection<ValidationError> validationErrors)
The validation errors that are associated with the objects defined in
pipelineObjects . |
void |
setValidationWarnings(java.util.Collection<ValidationWarning> validationWarnings)
The validation warnings that are associated with the objects defined in
pipelineObjects . |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutPipelineDefinitionResult |
withErrored(java.lang.Boolean errored)
Indicates whether there were validation errors, and the pipeline
definition is stored but cannot be activated until you correct the
pipeline and call
PutPipelineDefinition to commit the
corrected pipeline. |
PutPipelineDefinitionResult |
withValidationErrors(java.util.Collection<ValidationError> validationErrors)
The validation errors that are associated with the objects defined in
pipelineObjects . |
PutPipelineDefinitionResult |
withValidationErrors(ValidationError... validationErrors)
The validation errors that are associated with the objects defined in
pipelineObjects . |
PutPipelineDefinitionResult |
withValidationWarnings(java.util.Collection<ValidationWarning> validationWarnings)
The validation warnings that are associated with the objects defined in
pipelineObjects . |
PutPipelineDefinitionResult |
withValidationWarnings(ValidationWarning... validationWarnings)
The validation warnings that are associated with the objects defined in
pipelineObjects . |
private SdkInternalList<ValidationError> validationErrors
The validation errors that are associated with the objects defined in
pipelineObjects
.
private SdkInternalList<ValidationWarning> validationWarnings
The validation warnings that are associated with the objects defined in
pipelineObjects
.
private java.lang.Boolean errored
Indicates whether there were validation errors, and the pipeline
definition is stored but cannot be activated until you correct the
pipeline and call PutPipelineDefinition
to commit the
corrected pipeline.
public java.util.List<ValidationError> getValidationErrors()
The validation errors that are associated with the objects defined in
pipelineObjects
.
pipelineObjects
.public void setValidationErrors(java.util.Collection<ValidationError> validationErrors)
The validation errors that are associated with the objects defined in
pipelineObjects
.
validationErrors
- The validation errors that are associated with the objects defined
in pipelineObjects
.public PutPipelineDefinitionResult withValidationErrors(ValidationError... validationErrors)
The validation errors that are associated with the objects defined in
pipelineObjects
.
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.
validationErrors
- The validation errors that are associated with the objects defined
in pipelineObjects
.public PutPipelineDefinitionResult withValidationErrors(java.util.Collection<ValidationError> validationErrors)
The validation errors that are associated with the objects defined in
pipelineObjects
.
validationErrors
- The validation errors that are associated with the objects defined
in pipelineObjects
.public java.util.List<ValidationWarning> getValidationWarnings()
The validation warnings that are associated with the objects defined in
pipelineObjects
.
pipelineObjects
.public void setValidationWarnings(java.util.Collection<ValidationWarning> validationWarnings)
The validation warnings that are associated with the objects defined in
pipelineObjects
.
validationWarnings
- The validation warnings that are associated with the objects
defined in pipelineObjects
.public PutPipelineDefinitionResult withValidationWarnings(ValidationWarning... validationWarnings)
The validation warnings that are associated with the objects defined in
pipelineObjects
.
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.
validationWarnings
- The validation warnings that are associated with the objects
defined in pipelineObjects
.public PutPipelineDefinitionResult withValidationWarnings(java.util.Collection<ValidationWarning> validationWarnings)
The validation warnings that are associated with the objects defined in
pipelineObjects
.
validationWarnings
- The validation warnings that are associated with the objects
defined in pipelineObjects
.public void setErrored(java.lang.Boolean errored)
Indicates whether there were validation errors, and the pipeline
definition is stored but cannot be activated until you correct the
pipeline and call PutPipelineDefinition
to commit the
corrected pipeline.
errored
- Indicates whether there were validation errors, and the pipeline
definition is stored but cannot be activated until you correct the
pipeline and call PutPipelineDefinition
to commit the
corrected pipeline.public java.lang.Boolean getErrored()
Indicates whether there were validation errors, and the pipeline
definition is stored but cannot be activated until you correct the
pipeline and call PutPipelineDefinition
to commit the
corrected pipeline.
PutPipelineDefinition
to
commit the corrected pipeline.public PutPipelineDefinitionResult withErrored(java.lang.Boolean errored)
Indicates whether there were validation errors, and the pipeline
definition is stored but cannot be activated until you correct the
pipeline and call PutPipelineDefinition
to commit the
corrected pipeline.
errored
- Indicates whether there were validation errors, and the pipeline
definition is stored but cannot be activated until you correct the
pipeline and call PutPipelineDefinition
to commit the
corrected pipeline.public java.lang.Boolean isErrored()
Indicates whether there were validation errors, and the pipeline
definition is stored but cannot be activated until you correct the
pipeline and call PutPipelineDefinition
to commit the
corrected pipeline.
PutPipelineDefinition
to
commit the corrected pipeline.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PutPipelineDefinitionResult clone()
clone
in class java.lang.Object