Interface ECSTarget.Builder

    • Method Detail

      • 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.
      • 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:
        TargetStatus, TargetStatus
      • status

        ECSTarget.Builder status​(TargetStatus 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:
        TargetStatus, TargetStatus
      • 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).

        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:
        #taskSetsInfo(java.util.Collection)