Interface PutPipelineDefinitionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<PutPipelineDefinitionResponse.Builder,
,PutPipelineDefinitionResponse> DataPipelineResponse.Builder
,SdkBuilder<PutPipelineDefinitionResponse.Builder,
,PutPipelineDefinitionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PutPipelineDefinitionResponse
-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether there were validation errors, and the pipeline definition is stored but cannot be activated until you correct the pipeline and callPutPipelineDefinition
to commit the corrected pipeline.validationErrors
(Collection<ValidationError> validationErrors) The validation errors that are associated with the objects defined inpipelineObjects
.validationErrors
(Consumer<ValidationError.Builder>... validationErrors) The validation errors that are associated with the objects defined inpipelineObjects
.validationErrors
(ValidationError... validationErrors) The validation errors that are associated with the objects defined inpipelineObjects
.validationWarnings
(Collection<ValidationWarning> validationWarnings) The validation warnings that are associated with the objects defined inpipelineObjects
.validationWarnings
(Consumer<ValidationWarning.Builder>... validationWarnings) The validation warnings that are associated with the objects defined inpipelineObjects
.validationWarnings
(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 Details
-
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
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.Builder
avoiding the need to create one manually viaValidationError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidationErrors(List<ValidationError>)
.- 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:
-
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
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.Builder
avoiding the need to create one manually viaValidationWarning.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidationWarnings(List<ValidationWarning>)
.- 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:
-
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.- Parameters:
errored
- Indicates whether there were validation errors, and the pipeline definition is stored but cannot be activated until you correct the pipeline and callPutPipelineDefinition
to commit the corrected pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-