Interface BatchGetDeploymentTargetsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeDeployResponse.Builder,CopyableBuilder<BatchGetDeploymentTargetsResponse.Builder,BatchGetDeploymentTargetsResponse>,SdkBuilder<BatchGetDeploymentTargetsResponse.Builder,BatchGetDeploymentTargetsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchGetDeploymentTargetsResponse
public static interface BatchGetDeploymentTargetsResponse.Builder extends CodeDeployResponse.Builder, SdkPojo, CopyableBuilder<BatchGetDeploymentTargetsResponse.Builder,BatchGetDeploymentTargetsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchGetDeploymentTargetsResponse.BuilderdeploymentTargets(Collection<DeploymentTarget> deploymentTargets)A list of target objects for a deployment.BatchGetDeploymentTargetsResponse.BuilderdeploymentTargets(Consumer<DeploymentTarget.Builder>... deploymentTargets)A list of target objects for a deployment.BatchGetDeploymentTargetsResponse.BuilderdeploymentTargets(DeploymentTarget... deploymentTargets)A list of target objects for a deployment.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
deploymentTargets
BatchGetDeploymentTargetsResponse.Builder deploymentTargets(Collection<DeploymentTarget> deploymentTargets)
A list of target objects for a deployment. Each target object contains details about the target, such as its status and lifecycle events. The type of the target objects depends on the deployment' compute platform.
-
EC2/On-premises: Each target object is an Amazon EC2 or on-premises instance.
-
Lambda: The target object is a specific version of an Lambda function.
-
Amazon ECS: The target object is an Amazon ECS service.
-
CloudFormation: The target object is an CloudFormation blue/green deployment.
- Parameters:
deploymentTargets- A list of target objects for a deployment. Each target object contains details about the target, such as its status and lifecycle events. The type of the target objects depends on the deployment' compute platform.-
EC2/On-premises: Each target object is an Amazon EC2 or on-premises instance.
-
Lambda: The target object is a specific version of an Lambda function.
-
Amazon ECS: The target object is an Amazon ECS service.
-
CloudFormation: The target object is an CloudFormation blue/green deployment.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
deploymentTargets
BatchGetDeploymentTargetsResponse.Builder deploymentTargets(DeploymentTarget... deploymentTargets)
A list of target objects for a deployment. Each target object contains details about the target, such as its status and lifecycle events. The type of the target objects depends on the deployment' compute platform.
-
EC2/On-premises: Each target object is an Amazon EC2 or on-premises instance.
-
Lambda: The target object is a specific version of an Lambda function.
-
Amazon ECS: The target object is an Amazon ECS service.
-
CloudFormation: The target object is an CloudFormation blue/green deployment.
- Parameters:
deploymentTargets- A list of target objects for a deployment. Each target object contains details about the target, such as its status and lifecycle events. The type of the target objects depends on the deployment' compute platform.-
EC2/On-premises: Each target object is an Amazon EC2 or on-premises instance.
-
Lambda: The target object is a specific version of an Lambda function.
-
Amazon ECS: The target object is an Amazon ECS service.
-
CloudFormation: The target object is an CloudFormation blue/green deployment.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
deploymentTargets
BatchGetDeploymentTargetsResponse.Builder deploymentTargets(Consumer<DeploymentTarget.Builder>... deploymentTargets)
A list of target objects for a deployment. Each target object contains details about the target, such as its status and lifecycle events. The type of the target objects depends on the deployment' compute platform.
-
EC2/On-premises: Each target object is an Amazon EC2 or on-premises instance.
-
Lambda: The target object is a specific version of an Lambda function.
-
Amazon ECS: The target object is an Amazon ECS service.
-
CloudFormation: The target object is an CloudFormation blue/green deployment.
DeploymentTarget.Builderavoiding the need to create one manually viaDeploymentTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#deploymentTargets(List.) - Parameters:
deploymentTargets- 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:
#deploymentTargets(java.util.Collection)
-
-
-