Interface BatchGetDeploymentTargetsResponse.Builder

  • Method Details

    • 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

      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.

      This is a convenience method that creates an instance of the 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 deploymentTargets(List<DeploymentTarget>).

      Parameters:
      deploymentTargets - a consumer that will call methods on DeploymentTarget.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: