Interface PipelineOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PipelineOutput.Builder,,PipelineOutput> SdkBuilder<PipelineOutput.Builder,,PipelineOutput> SdkPojo
- Enclosing class:
PipelineOutput
@Mutable
@NotThreadSafe
public static interface PipelineOutput.Builder
extends SdkPojo, CopyableBuilder<PipelineOutput.Builder,PipelineOutput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PipelineOutput.Buildererror(Consumer<PipelineOutputError.Builder> error) Any error that occurred during the pipeline test operation for this record.error(PipelineOutputError error) Any error that occurred during the pipeline test operation for this record.default PipelineOutput.Builderrecord(Consumer<Record.Builder> record) The processed record output from the pipeline test operation.The processed record output from the pipeline test operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
record
The processed record output from the pipeline test operation.
- Parameters:
record- The processed record output from the pipeline test operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
record
The processed record output from the pipeline test operation.
This is a convenience method that creates an instance of theRecord.Builderavoiding the need to create one manually viaRecord.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecord(Record).- Parameters:
record- a consumer that will call methods onRecord.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
error
Any error that occurred during the pipeline test operation for this record.
- Parameters:
error- Any error that occurred during the pipeline test operation for this record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Any error that occurred during the pipeline test operation for this record.
This is a convenience method that creates an instance of thePipelineOutputError.Builderavoiding the need to create one manually viaPipelineOutputError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(PipelineOutputError).- Parameters:
error- a consumer that will call methods onPipelineOutputError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-