Interface InstanceTarget.Builder

    • Method Detail

      • deploymentId

        InstanceTarget.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

        InstanceTarget.Builder targetId​(String targetId)

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

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

        InstanceTarget.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.
      • status

        InstanceTarget.Builder status​(String status)

        The status an EC2/On-premises deployment's target instance.

        Parameters:
        status - The status an EC2/On-premises deployment's target instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TargetStatus, TargetStatus
      • status

        InstanceTarget.Builder status​(TargetStatus status)

        The status an EC2/On-premises deployment's target instance.

        Parameters:
        status - The status an EC2/On-premises deployment's target instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TargetStatus, TargetStatus
      • lastUpdatedAt

        InstanceTarget.Builder lastUpdatedAt​(Instant lastUpdatedAt)

        The date and time when the target instance was updated by a deployment.

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

        InstanceTarget.Builder lifecycleEvents​(Collection<LifecycleEvent> lifecycleEvents)

        The lifecycle events of the deployment to this target instance.

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

        InstanceTarget.Builder lifecycleEvents​(LifecycleEvent... lifecycleEvents)

        The lifecycle events of the deployment to this target instance.

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

        InstanceTarget.Builder instanceLabel​(String instanceLabel)

        A label that identifies whether the instance is an original target (BLUE) or a replacement target (GREEN).

        Parameters:
        instanceLabel - A label that identifies whether the instance is an original target (BLUE) or a replacement target (GREEN).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TargetLabel, TargetLabel
      • instanceLabel

        InstanceTarget.Builder instanceLabel​(TargetLabel instanceLabel)

        A label that identifies whether the instance is an original target (BLUE) or a replacement target (GREEN).

        Parameters:
        instanceLabel - A label that identifies whether the instance is an original target (BLUE) or a replacement target (GREEN).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TargetLabel, TargetLabel