public static interface GetDeploymentResponse.Builder extends CodeDeployResponse.Builder, CopyableBuilder<GetDeploymentResponse.Builder,GetDeploymentResponse>
Modifier and Type | Method and Description |
---|---|
default GetDeploymentResponse.Builder |
deploymentInfo(Consumer<DeploymentInfo.Builder> deploymentInfo)
Information about the deployment.
|
GetDeploymentResponse.Builder |
deploymentInfo(DeploymentInfo deploymentInfo)
Information about the deployment.
|
build
copy
apply, build
GetDeploymentResponse.Builder deploymentInfo(DeploymentInfo deploymentInfo)
Information about the deployment.
deploymentInfo
- Information about the deployment.default GetDeploymentResponse.Builder deploymentInfo(Consumer<DeploymentInfo.Builder> deploymentInfo)
Information about the deployment.
This is a convenience that creates an instance of theDeploymentInfo.Builder
avoiding the need to
create one manually via DeploymentInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to deploymentInfo(DeploymentInfo)
.deploymentInfo
- a consumer that will call methods on DeploymentInfo.Builder
deploymentInfo(DeploymentInfo)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.