Interface CreatePipelineResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreatePipelineResponse.Builder,,CreatePipelineResponse> IoTSiteWiseResponse.Builder,SdkBuilder<CreatePipelineResponse.Builder,,CreatePipelineResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreatePipelineResponse
@Mutable
@NotThreadSafe
public static interface CreatePipelineResponse.Builder
extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<CreatePipelineResponse.Builder,CreatePipelineResponse>
-
Method Summary
Modifier and TypeMethodDescriptionpipelineArn(String pipelineArn) The ARN of the created pipeline.pipelineName(String pipelineName) The name of the created pipeline.default CreatePipelineResponse.Builderstatus(Consumer<ResourceStatus.Builder> status) The current lifecycle status of the pipeline.status(ResourceStatus status) The current lifecycle status of the pipeline.The version of the newly created pipeline.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
-
pipelineName
The name of the created pipeline.
- Parameters:
pipelineName- The name of the created pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelineArn
The ARN of the created pipeline.
- Parameters:
pipelineArn- The ARN of the created pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version of the newly created pipeline.
- Parameters:
version- The version of the newly created pipeline.- 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:
-