Interface ECSTarget.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ECSTarget.Builder,ECSTarget>, SdkBuilder<ECSTarget.Builder,ECSTarget>, SdkPojo
Enclosing class:
ECSTarget

public static interface ECSTarget.Builder extends SdkPojo, CopyableBuilder<ECSTarget.Builder,ECSTarget>
  • Method Details

    • deploymentId

      ECSTarget.Builder deploymentId(String deploymentId)

      The unique ID of a deployment.

      Parameters:
      deploymentId - The unique ID of a deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetId

      ECSTarget.Builder targetId(String targetId)

      The unique ID of a deployment target that has a type of ecsTarget.

      Parameters:
      targetId - The unique ID of a deployment target that has a type of ecsTarget.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetArn

      ECSTarget.Builder targetArn(String targetArn)

      The Amazon Resource Name (ARN) of the target.

      Parameters:
      targetArn - The Amazon Resource Name (ARN) of the target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      ECSTarget.Builder lastUpdatedAt(Instant lastUpdatedAt)

      The date and time when the target Amazon ECS application was updated by a deployment.

      Parameters:
      lastUpdatedAt - The date and time when the target Amazon ECS application was updated by a deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lifecycleEvents

      ECSTarget.Builder lifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)

      The lifecycle events of the deployment to this target Amazon ECS application.

      Parameters:
      lifecycleEvents - The lifecycle events of the deployment to this target Amazon ECS application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lifecycleEvents

      ECSTarget.Builder lifecycleEvents(LifecycleEvent... lifecycleEvents)

      The lifecycle events of the deployment to this target Amazon ECS application.

      Parameters:
      lifecycleEvents - The lifecycle events of the deployment to this target Amazon ECS application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lifecycleEvents

      ECSTarget.Builder lifecycleEvents(Consumer<LifecycleEvent.Builder>... lifecycleEvents)

      The lifecycle events of the deployment to this target Amazon ECS application.

      This is a convenience method that creates an instance of the LifecycleEvent.Builder avoiding the need to create one manually via LifecycleEvent.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lifecycleEvents(List<LifecycleEvent>).

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

      ECSTarget.Builder status(String status)

      The status an Amazon ECS deployment's target ECS application.

      Parameters:
      status - The status an Amazon ECS deployment's target ECS application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status an Amazon ECS deployment's target ECS application.

      Parameters:
      status - The status an Amazon ECS deployment's target ECS application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • taskSetsInfo

      ECSTarget.Builder taskSetsInfo(Collection<ECSTaskSet> taskSetsInfo)

      The ECSTaskSet objects associated with the ECS target.

      Parameters:
      taskSetsInfo - The ECSTaskSet objects associated with the ECS target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskSetsInfo

      ECSTarget.Builder taskSetsInfo(ECSTaskSet... taskSetsInfo)

      The ECSTaskSet objects associated with the ECS target.

      Parameters:
      taskSetsInfo - The ECSTaskSet objects associated with the ECS target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskSetsInfo

      ECSTarget.Builder taskSetsInfo(Consumer<ECSTaskSet.Builder>... taskSetsInfo)

      The ECSTaskSet objects associated with the ECS target.

      This is a convenience method that creates an instance of the ECSTaskSet.Builder avoiding the need to create one manually via ECSTaskSet.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to taskSetsInfo(List<ECSTaskSet>).

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