Interface DeploymentEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeploymentEvent.Builder,
,DeploymentEvent> SdkBuilder<DeploymentEvent.Builder,
,DeploymentEvent> SdkPojo
- Enclosing class:
DeploymentEvent
-
Method Summary
Modifier and TypeMethodDescriptionactionInvocations
(Collection<ActionInvocation> actionInvocations) The list of extensions that were invoked as part of the deployment.actionInvocations
(Consumer<ActionInvocation.Builder>... actionInvocations) The list of extensions that were invoked as part of the deployment.actionInvocations
(ActionInvocation... actionInvocations) The list of extensions that were invoked as part of the deployment.description
(String description) A description of the deployment event.The type of deployment event.eventType
(DeploymentEventType eventType) The type of deployment event.occurredAt
(Instant occurredAt) The date and time the event occurred.triggeredBy
(String triggeredBy) The entity that triggered the deployment event.triggeredBy
(TriggeredBy triggeredBy) The entity that triggered the deployment event.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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
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 viaActionInvocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactionInvocations(List<ActionInvocation>)
.- Parameters:
actionInvocations
- a consumer that will call methods onActionInvocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-