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.Builderdeployment(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
copyMethods inherited from interface software.amazon.awssdk.services.proton.model.ProtonResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaDeployment.builder().When the
Consumercompletes,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:
-