Interface UpdateDeploymentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateDeploymentResponse.Builder,,UpdateDeploymentResponse> LaunchWizardResponse.Builder,SdkBuilder<UpdateDeploymentResponse.Builder,,UpdateDeploymentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateDeploymentResponse
@Mutable
@NotThreadSafe
public static interface UpdateDeploymentResponse.Builder
extends LaunchWizardResponse.Builder, SdkPojo, CopyableBuilder<UpdateDeploymentResponse.Builder,UpdateDeploymentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateDeploymentResponse.Builderdeployment(Consumer<DeploymentDataSummary.Builder> deployment) The deployment.deployment(DeploymentDataSummary deployment) The deployment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.launchwizard.model.LaunchWizardResponse.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
-
deployment
The deployment.
- Parameters:
deployment- The deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployment
default UpdateDeploymentResponse.Builder deployment(Consumer<DeploymentDataSummary.Builder> deployment) The deployment.
This is a convenience method that creates an instance of theDeploymentDataSummary.Builderavoiding the need to create one manually viaDeploymentDataSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeployment(DeploymentDataSummary).- Parameters:
deployment- a consumer that will call methods onDeploymentDataSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-