Interface StopPipelineResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<StopPipelineResponse.Builder,
,StopPipelineResponse> OsisResponse.Builder
,SdkBuilder<StopPipelineResponse.Builder,
,StopPipelineResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StopPipelineResponse
public static interface StopPipelineResponse.Builder
extends OsisResponse.Builder, SdkPojo, CopyableBuilder<StopPipelineResponse.Builder,StopPipelineResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StopPipelineResponse.Builder
pipeline
(Consumer<Pipeline.Builder> pipeline) Sets the value of the Pipeline property for this object.Sets the value of the Pipeline property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.osis.model.OsisResponse.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
-
pipeline
Sets the value of the Pipeline property for this object.- Parameters:
pipeline
- The new value for the Pipeline property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipeline
Sets the value of the Pipeline property for this object. This is a convenience method that creates an instance of thePipeline.Builder
avoiding the need to create one manually viaPipeline.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topipeline(Pipeline)
.- Parameters:
pipeline
- a consumer that will call methods onPipeline.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-