Interface BatchGetDeploymentTargetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeDeployResponse.Builder,CopyableBuilder<BatchGetDeploymentTargetsResponse.Builder,,BatchGetDeploymentTargetsResponse> SdkBuilder<BatchGetDeploymentTargetsResponse.Builder,,BatchGetDeploymentTargetsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetDeploymentTargetsResponse
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentTargets(Collection<DeploymentTarget> deploymentTargets) A list of target objects for a deployment.deploymentTargets(Consumer<DeploymentTarget.Builder>... deploymentTargets) A list of target objects for a deployment.deploymentTargets(DeploymentTarget... deploymentTargets) A list of target objects for a deployment.Methods inherited from interface software.amazon.awssdk.services.codedeploy.model.CodeDeployResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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 todeploymentTargets(List<DeploymentTarget>).- 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:
-
-