Interface GetDeploymentTargetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeDeployResponse.Builder,CopyableBuilder<GetDeploymentTargetResponse.Builder,GetDeploymentTargetResponse>,SdkBuilder<GetDeploymentTargetResponse.Builder,GetDeploymentTargetResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDeploymentTargetResponse
public static interface GetDeploymentTargetResponse.Builder extends CodeDeployResponse.Builder, SdkPojo, CopyableBuilder<GetDeploymentTargetResponse.Builder,GetDeploymentTargetResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetDeploymentTargetResponse.BuilderdeploymentTarget(Consumer<DeploymentTarget.Builder> deploymentTarget)A deployment target that contains information about a deployment such as its status, lifecycle events, and when it was last updated.GetDeploymentTargetResponse.BuilderdeploymentTarget(DeploymentTarget deploymentTarget)A deployment target that contains information about a deployment such as its status, lifecycle events, and when it was last updated.-
Methods inherited from interface software.amazon.awssdk.services.codedeploy.model.CodeDeployResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
deploymentTarget
GetDeploymentTargetResponse.Builder deploymentTarget(DeploymentTarget deploymentTarget)
A deployment target that contains information about a deployment such as its status, lifecycle events, and when it was last updated. It also contains metadata about the deployment target. The deployment target metadata depends on the deployment target's type (
instanceTarget,lambdaTarget, orecsTarget).- Parameters:
deploymentTarget- A deployment target that contains information about a deployment such as its status, lifecycle events, and when it was last updated. It also contains metadata about the deployment target. The deployment target metadata depends on the deployment target's type (instanceTarget,lambdaTarget, orecsTarget).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentTarget
default GetDeploymentTargetResponse.Builder deploymentTarget(Consumer<DeploymentTarget.Builder> deploymentTarget)
A deployment target that contains information about a deployment such as its status, lifecycle events, and when it was last updated. It also contains metadata about the deployment target. The deployment target metadata depends on the deployment target's type (
This is a convenience method that creates an instance of theinstanceTarget,lambdaTarget, orecsTarget).DeploymentTarget.Builderavoiding the need to create one manually viaDeploymentTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploymentTarget(DeploymentTarget).- Parameters:
deploymentTarget- a consumer that will call methods onDeploymentTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
deploymentTarget(DeploymentTarget)
-
-