Interface GetDeploymentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDeploymentResponse.Builder,
,GetDeploymentResponse> ProtonResponse.Builder
,SdkBuilder<GetDeploymentResponse.Builder,
,GetDeploymentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDeploymentResponse
public static interface GetDeploymentResponse.Builder
extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<GetDeploymentResponse.Builder,GetDeploymentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetDeploymentResponse.Builder
deployment
(Consumer<Deployment.Builder> deployment) The detailed data of the requested deployment.deployment
(Deployment deployment) The detailed data of the requested deployment.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
-
deployment
The detailed data of the requested deployment.
- Parameters:
deployment
- The detailed data of the requested deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployment
The detailed data of the requested deployment.
This is a convenience method that creates an instance of theDeployment.Builder
avoiding the need to create one manually viaDeployment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeployment(Deployment)
.- Parameters:
deployment
- a consumer that will call methods onDeployment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-