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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeploymentEvent.BuilderactionInvocations(Collection<ActionInvocation> actionInvocations)The list of extensions that were invoked as part of the deployment.DeploymentEvent.BuilderactionInvocations(Consumer<ActionInvocation.Builder>... actionInvocations)The list of extensions that were invoked as part of the deployment.DeploymentEvent.BuilderactionInvocations(ActionInvocation... actionInvocations)The list of extensions that were invoked as part of the deployment.DeploymentEvent.Builderdescription(String description)A description of the deployment event.DeploymentEvent.BuildereventType(String eventType)The type of deployment event.DeploymentEvent.BuildereventType(DeploymentEventType eventType)The type of deployment event.DeploymentEvent.BuilderoccurredAt(Instant occurredAt)The date and time the event occurred.DeploymentEvent.BuildertriggeredBy(String triggeredBy)The entity that triggered the deployment event.DeploymentEvent.BuildertriggeredBy(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 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.
-
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 theActionInvocation.Builderavoiding the need to create one manually viaActionInvocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#actionInvocations(List.) - 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:
#actionInvocations(java.util.Collection)
-
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.
-
-