Interface DeploymentEvent.Builder

    • Method Detail

      • eventType

        DeploymentEvent.Builder eventType​(String eventType)

        The type of deployment event. Deployment event types include the start, stop, or completion of a deployment; a percentage update; the start or stop of a bake period; and the start or completion of a rollback.

        Parameters:
        eventType - The type of deployment event. Deployment event types include the start, stop, or completion of a deployment; a percentage update; the start or stop of a bake period; and the start or completion of a rollback.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DeploymentEventType, DeploymentEventType
      • eventType

        DeploymentEvent.Builder eventType​(DeploymentEventType eventType)

        The type of deployment event. Deployment event types include the start, stop, or completion of a deployment; a percentage update; the start or stop of a bake period; and the start or completion of a rollback.

        Parameters:
        eventType - The type of deployment event. Deployment event types include the start, stop, or completion of a deployment; a percentage update; the start or stop of a bake period; and the start or completion of a rollback.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DeploymentEventType, DeploymentEventType
      • triggeredBy

        DeploymentEvent.Builder triggeredBy​(String triggeredBy)

        The entity that triggered the deployment event. Events can be triggered by a user, AppConfig, an Amazon CloudWatch alarm, or an internal error.

        Parameters:
        triggeredBy - The entity that triggered the deployment event. Events can be triggered by a user, AppConfig, an Amazon CloudWatch alarm, or an internal error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TriggeredBy, TriggeredBy
      • triggeredBy

        DeploymentEvent.Builder triggeredBy​(TriggeredBy triggeredBy)

        The entity that triggered the deployment event. Events can be triggered by a user, AppConfig, an Amazon CloudWatch alarm, or an internal error.

        Parameters:
        triggeredBy - The entity that triggered the deployment event. Events can be triggered by a user, AppConfig, an Amazon CloudWatch alarm, or an internal error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TriggeredBy, TriggeredBy
      • description

        DeploymentEvent.Builder description​(String description)

        A description of the deployment event. Descriptions include, but are not limited to, the following:

        • The Amazon Web Services account or the Amazon CloudWatch alarm ARN that initiated a rollback.

        • The percentage of hosts that received the deployment.

        • A recommendation to attempt a new deployment (in the case of an internal error).

        Parameters:
        description - A description of the deployment event. Descriptions include, but are not limited to, the following:

        • The Amazon Web Services account or the Amazon CloudWatch alarm ARN that initiated a rollback.

        • The percentage of hosts that received the deployment.

        • A recommendation to attempt a new deployment (in the case of an internal error).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actionInvocations

        DeploymentEvent.Builder actionInvocations​(Collection<ActionInvocation> actionInvocations)

        The list of extensions that were invoked as part of the deployment.

        Parameters:
        actionInvocations - The list of extensions that were invoked as part of the deployment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actionInvocations

        DeploymentEvent.Builder actionInvocations​(ActionInvocation... actionInvocations)

        The list of extensions that were invoked as part of the deployment.

        Parameters:
        actionInvocations - The list of extensions that were invoked as part of the deployment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • occurredAt

        DeploymentEvent.Builder occurredAt​(Instant occurredAt)

        The date and time the event occurred.

        Parameters:
        occurredAt - The date and time the event occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.