Interface CreatePipelineResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreatePipelineResponse.Builder,
,CreatePipelineResponse> OsisResponse.Builder
,SdkBuilder<CreatePipelineResponse.Builder,
,CreatePipelineResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreatePipelineResponse
@Mutable
@NotThreadSafe
public static interface CreatePipelineResponse.Builder
extends OsisResponse.Builder, SdkPojo, CopyableBuilder<CreatePipelineResponse.Builder,CreatePipelineResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreatePipelineResponse.Builder
pipeline
(Consumer<Pipeline.Builder> pipeline) Container for information about the created pipeline.Container for information about the created pipeline.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
pipeline
Container for information about the created pipeline.
- Parameters:
pipeline
- Container for information about the created pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipeline
Container for information about the created pipeline.
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:
-