Interface GetDeploymentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDeploymentResponse.Builder,
,GetDeploymentResponse> LaunchWizardResponse.Builder
,SdkBuilder<GetDeploymentResponse.Builder,
,GetDeploymentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDeploymentResponse
public static interface GetDeploymentResponse.Builder
extends LaunchWizardResponse.Builder, SdkPojo, CopyableBuilder<GetDeploymentResponse.Builder,GetDeploymentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetDeploymentResponse.Builder
deployment
(Consumer<DeploymentData.Builder> deployment) An object that details the deployment.deployment
(DeploymentData deployment) An object that details the deployment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.launchwizard.model.LaunchWizardResponse.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
An object that details the deployment.
- Parameters:
deployment
- An object that details the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployment
An object that details the deployment.
This is a convenience method that creates an instance of theDeploymentData.Builder
avoiding the need to create one manually viaDeploymentData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeployment(DeploymentData)
.- Parameters:
deployment
- a consumer that will call methods onDeploymentData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-