Interface Trigger.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Trigger.Builder,,Trigger> SdkBuilder<Trigger.Builder,,Trigger> SdkPojo
- Enclosing class:
Trigger
@Mutable
@NotThreadSafe
public static interface Trigger.Builder
extends SdkPojo, CopyableBuilder<Trigger.Builder,Trigger>
-
Method Summary
Modifier and TypeMethodDescriptionThe action this Trigger performs when it firesagentSpaceId(String agentSpaceId) The agent space this Trigger belongs todefault Trigger.Buildercondition(Consumer<TriggerCondition.Builder> condition) The condition that fires this Triggercondition(TriggerCondition condition) The condition that fires this TriggerTimestamp when this Trigger was createdThe status of this TriggerThe unique identifier for this TriggerHow this Trigger firesTimestamp when this Trigger was last updatedMethods 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
-
triggerId
The unique identifier for this Trigger
- Parameters:
triggerId- The unique identifier for this Trigger- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentSpaceId
The agent space this Trigger belongs to
- Parameters:
agentSpaceId- The agent space this Trigger belongs to- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
How this Trigger fires
- Parameters:
type- How this Trigger fires- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
The condition that fires this Trigger
- Parameters:
condition- The condition that fires this Trigger- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
The condition that fires this Trigger
This is a convenience method that creates an instance of theTriggerCondition.Builderavoiding the need to create one manually viaTriggerCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocondition(TriggerCondition).- Parameters:
condition- a consumer that will call methods onTriggerCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action this Trigger performs when it fires
- Parameters:
action- The action this Trigger performs when it fires- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of this Trigger
- Parameters:
status- The status of this Trigger- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Timestamp when this Trigger was created
- Parameters:
createdAt- Timestamp when this Trigger was created- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
Timestamp when this Trigger was last updated
- Parameters:
updatedAt- Timestamp when this Trigger was last updated- Returns:
- Returns a reference to this object so that method calls can be chained together.
-