Interface CancelComponentDeploymentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CancelComponentDeploymentResponse.Builder,
,CancelComponentDeploymentResponse> ProtonResponse.Builder
,SdkBuilder<CancelComponentDeploymentResponse.Builder,
,CancelComponentDeploymentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CancelComponentDeploymentResponse
public static interface CancelComponentDeploymentResponse.Builder
extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<CancelComponentDeploymentResponse.Builder,CancelComponentDeploymentResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncomponent
(Consumer<Component.Builder> component) The detailed data of the component with the deployment that is being canceled.The detailed data of the component with the deployment that is being canceled.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.proton.model.ProtonResponse.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
-
component
The detailed data of the component with the deployment that is being canceled.
- Parameters:
component
- The detailed data of the component with the deployment that is being canceled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
component
The detailed data of the component with the deployment that is being canceled.
This is a convenience method that creates an instance of theComponent.Builder
avoiding the need to create one manually viaComponent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomponent(Component)
.- Parameters:
component
- a consumer that will call methods onComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-