public static interface GetDeploymentTargetResponse.Builder extends CodeDeployResponse.Builder, SdkPojo, CopyableBuilder<GetDeploymentTargetResponse.Builder,GetDeploymentTargetResponse>
Modifier and Type | Method and Description |
---|---|
default GetDeploymentTargetResponse.Builder |
deploymentTarget(Consumer<DeploymentTarget.Builder> deploymentTarget)
A deployment target that contains information about a deployment such as its status, lifecyle events, and
when it was updated last.
|
GetDeploymentTargetResponse.Builder |
deploymentTarget(DeploymentTarget deploymentTarget)
A deployment target that contains information about a deployment such as its status, lifecyle events, and
when it was updated last.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetDeploymentTargetResponse.Builder deploymentTarget(DeploymentTarget deploymentTarget)
A deployment target that contains information about a deployment such as its status, lifecyle events, and
when it was updated last. It also contains metadata about the deployment target. The deployment target
metadata depends on the deployment target's type (instanceTarget
, lambdaTarget
, or
ecsTarget
).
deploymentTarget
- A deployment target that contains information about a deployment such as its status, lifecyle events,
and when it was updated last. It also contains metadata about the deployment target. The deployment
target metadata depends on the deployment target's type (instanceTarget
,
lambdaTarget
, or ecsTarget
).default GetDeploymentTargetResponse.Builder deploymentTarget(Consumer<DeploymentTarget.Builder> deploymentTarget)
A deployment target that contains information about a deployment such as its status, lifecyle events, and
when it was updated last. It also contains metadata about the deployment target. The deployment target
metadata depends on the deployment target's type (instanceTarget
, lambdaTarget
, or
ecsTarget
).
DeploymentTarget.Builder
avoiding the need to
create one manually via DeploymentTarget.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to deploymentTarget(DeploymentTarget)
.deploymentTarget
- a consumer that will call methods on DeploymentTarget.Builder
deploymentTarget(DeploymentTarget)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.