Interface HarnessHookEvent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HarnessHookEvent.Builder,,HarnessHookEvent> SdkBuilder<HarnessHookEvent.Builder,,HarnessHookEvent> SdkPojo
- All Known Subinterfaces:
DefaultHookEvent.Builder
- Enclosing class:
HarnessHookEvent
@Mutable
@NotThreadSafe
public static interface HarnessHookEvent.Builder
extends SdkPojo, CopyableBuilder<HarnessHookEvent.Builder,HarnessHookEvent>
-
Method Summary
Modifier and TypeMethodDescriptionThe decision applied to the hook event.decision(HarnessHookDecision decision) The decision applied to the hook event.hookEventId(String hookEventId) The unique identifier for this hook event.The name of the hook that ran.The optional reason for the applied decision.The type of lifecycle hook event.type(HarnessHookEventType type) The type of lifecycle hook event.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
hookEventId
The unique identifier for this hook event.
- Parameters:
hookEventId- The unique identifier for this hook event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the hook that ran.
- Parameters:
name- The name of the hook that ran.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of lifecycle hook event.
- Parameters:
type- The type of lifecycle hook event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of lifecycle hook event.
- Parameters:
type- The type of lifecycle hook event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
decision
The decision applied to the hook event. This field is present only for blocking Lambda targets.
- Parameters:
decision- The decision applied to the hook event. This field is present only for blocking Lambda targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
decision
The decision applied to the hook event. This field is present only for blocking Lambda targets.
- Parameters:
decision- The decision applied to the hook event. This field is present only for blocking Lambda targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
The optional reason for the applied decision.
- Parameters:
reason- The optional reason for the applied decision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-