Interface PutPipelineDefinitionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutPipelineDefinitionResponse.Builder,PutPipelineDefinitionResponse>,DataPipelineResponse.Builder,SdkBuilder<PutPipelineDefinitionResponse.Builder,PutPipelineDefinitionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- PutPipelineDefinitionResponse
public static interface PutPipelineDefinitionResponse.Builder extends DataPipelineResponse.Builder, SdkPojo, CopyableBuilder<PutPipelineDefinitionResponse.Builder,PutPipelineDefinitionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutPipelineDefinitionResponse.Buildererrored(Boolean errored)Indicates whether there were validation errors, and the pipeline definition is stored but cannot be activated until you correct the pipeline and callPutPipelineDefinitionto commit the corrected pipeline.PutPipelineDefinitionResponse.BuildervalidationErrors(Collection<ValidationError> validationErrors)The validation errors that are associated with the objects defined inpipelineObjects.PutPipelineDefinitionResponse.BuildervalidationErrors(Consumer<ValidationError.Builder>... validationErrors)The validation errors that are associated with the objects defined inpipelineObjects.PutPipelineDefinitionResponse.BuildervalidationErrors(ValidationError... validationErrors)The validation errors that are associated with the objects defined inpipelineObjects.PutPipelineDefinitionResponse.BuildervalidationWarnings(Collection<ValidationWarning> validationWarnings)The validation warnings that are associated with the objects defined inpipelineObjects.PutPipelineDefinitionResponse.BuildervalidationWarnings(Consumer<ValidationWarning.Builder>... validationWarnings)The validation warnings that are associated with the objects defined inpipelineObjects.PutPipelineDefinitionResponse.BuildervalidationWarnings(ValidationWarning... validationWarnings)The validation warnings that are associated with the objects defined inpipelineObjects.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.datapipeline.model.DataPipelineResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
validationErrors
PutPipelineDefinitionResponse.Builder validationErrors(Collection<ValidationError> validationErrors)
The validation errors that are associated with the objects defined in
pipelineObjects.- Parameters:
validationErrors- The validation errors that are associated with the objects defined inpipelineObjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationErrors
PutPipelineDefinitionResponse.Builder validationErrors(ValidationError... validationErrors)
The validation errors that are associated with the objects defined in
pipelineObjects.- Parameters:
validationErrors- The validation errors that are associated with the objects defined inpipelineObjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationErrors
PutPipelineDefinitionResponse.Builder validationErrors(Consumer<ValidationError.Builder>... validationErrors)
The validation errors that are associated with the objects defined in
This is a convenience method that creates an instance of thepipelineObjects.ValidationError.Builderavoiding the need to create one manually viaValidationError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#validationErrors(List.) - Parameters:
validationErrors- a consumer that will call methods onValidationError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#validationErrors(java.util.Collection)
-
validationWarnings
PutPipelineDefinitionResponse.Builder validationWarnings(Collection<ValidationWarning> validationWarnings)
The validation warnings that are associated with the objects defined in
pipelineObjects.- Parameters:
validationWarnings- The validation warnings that are associated with the objects defined inpipelineObjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationWarnings
PutPipelineDefinitionResponse.Builder validationWarnings(ValidationWarning... validationWarnings)
The validation warnings that are associated with the objects defined in
pipelineObjects.- Parameters:
validationWarnings- The validation warnings that are associated with the objects defined inpipelineObjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationWarnings
PutPipelineDefinitionResponse.Builder validationWarnings(Consumer<ValidationWarning.Builder>... validationWarnings)
The validation warnings that are associated with the objects defined in
This is a convenience method that creates an instance of thepipelineObjects.ValidationWarning.Builderavoiding the need to create one manually viaValidationWarning.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#validationWarnings(List.) - Parameters:
validationWarnings- a consumer that will call methods onValidationWarning.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#validationWarnings(java.util.Collection)
-
errored
PutPipelineDefinitionResponse.Builder errored(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
PutPipelineDefinitionto commit the corrected pipeline.- Parameters:
errored- Indicates whether there were validation errors, and the pipeline definition is stored but cannot be activated until you correct the pipeline and callPutPipelineDefinitionto commit the corrected pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-