Interface UpdatePipelineResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdatePipelineResponse.Builder,,UpdatePipelineResponse> IoTSiteWiseResponse.Builder,SdkBuilder<UpdatePipelineResponse.Builder,,UpdatePipelineResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdatePipelineResponse
@Mutable
@NotThreadSafe
public static interface UpdatePipelineResponse.Builder
extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<UpdatePipelineResponse.Builder,UpdatePipelineResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdatePipelineResponse.Builderstatus(Consumer<ResourceStatus.Builder> status) The current lifecycle status of the pipeline.status(ResourceStatus status) The current lifecycle status of the pipeline.The new version of the pipeline created by this update.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
version
The new version of the pipeline created by this update.
- Parameters:
version- The new version of the pipeline created by this update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current lifecycle status of the pipeline.
- Parameters:
status- The current lifecycle status of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current lifecycle status of the pipeline.
This is a convenience method that creates an instance of theResourceStatus.Builderavoiding the need to create one manually viaResourceStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(ResourceStatus).- Parameters:
status- a consumer that will call methods onResourceStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-