public static interface DeploymentEvent.Builder extends SdkPojo, CopyableBuilder<DeploymentEvent.Builder,DeploymentEvent>
| Modifier and Type | Method and Description |
|---|---|
DeploymentEvent.Builder |
actionInvocations(ActionInvocation... actionInvocations)
The list of extensions that were invoked as part of the deployment.
|
DeploymentEvent.Builder |
actionInvocations(Collection<ActionInvocation> actionInvocations)
The list of extensions that were invoked as part of the deployment.
|
DeploymentEvent.Builder |
actionInvocations(Consumer<ActionInvocation.Builder>... actionInvocations)
The list of extensions that were invoked as part of the deployment.
|
DeploymentEvent.Builder |
description(String description)
A description of the deployment event.
|
DeploymentEvent.Builder |
eventType(DeploymentEventType eventType)
The type of deployment event.
|
DeploymentEvent.Builder |
eventType(String eventType)
The type of deployment event.
|
DeploymentEvent.Builder |
occurredAt(Instant occurredAt)
The date and time the event occurred.
|
DeploymentEvent.Builder |
triggeredBy(String triggeredBy)
The entity that triggered the deployment event.
|
DeploymentEvent.Builder |
triggeredBy(TriggeredBy triggeredBy)
The entity that triggered the deployment event.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDeploymentEvent.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.
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.DeploymentEventType,
DeploymentEventTypeDeploymentEvent.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.
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.DeploymentEventType,
DeploymentEventTypeDeploymentEvent.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.
triggeredBy - The entity that triggered the deployment event. Events can be triggered by a user, AppConfig, an
Amazon CloudWatch alarm, or an internal error.TriggeredBy,
TriggeredByDeploymentEvent.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.
triggeredBy - The entity that triggered the deployment event. Events can be triggered by a user, AppConfig, an
Amazon CloudWatch alarm, or an internal error.TriggeredBy,
TriggeredByDeploymentEvent.Builder description(String description)
A description of the deployment event. Descriptions include, but are not limited to, the user account or the Amazon CloudWatch alarm ARN that initiated a rollback, the percentage of hosts that received the deployment, or in the case of an internal error, a recommendation to attempt a new deployment.
description - A description of the deployment event. Descriptions include, but are not limited to, the user account
or the Amazon CloudWatch alarm ARN that initiated a rollback, the percentage of hosts that received
the deployment, or in the case of an internal error, a recommendation to attempt a new deployment.DeploymentEvent.Builder actionInvocations(Collection<ActionInvocation> actionInvocations)
The list of extensions that were invoked as part of the deployment.
actionInvocations - The list of extensions that were invoked as part of the deployment.DeploymentEvent.Builder actionInvocations(ActionInvocation... actionInvocations)
The list of extensions that were invoked as part of the deployment.
actionInvocations - The list of extensions that were invoked as part of the deployment.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 theActionInvocation.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.
actionInvocations - a consumer that will call methods on
ActionInvocation.Builder#actionInvocations(java.util.Collection) DeploymentEvent.Builder occurredAt(Instant occurredAt)
The date and time the event occurred.
occurredAt - The date and time the event occurred.Copyright © 2023. All rights reserved.