Interface DeploymentEvent.Builder

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

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

    • 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:
    • 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:
    • 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

      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:
    • 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.
    • actionInvocations

      DeploymentEvent.Builder actionInvocations(Consumer<ActionInvocation.Builder>... actionInvocations)

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

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

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

      Parameters:
      actionInvocations - a consumer that will call methods on ActionInvocation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.