Interface EventActionEntry.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<EventActionEntry.Builder,EventActionEntry>
,SdkBuilder<EventActionEntry.Builder,EventActionEntry>
,SdkPojo
- Enclosing class:
- EventActionEntry
public static interface EventActionEntry.Builder extends SdkPojo, CopyableBuilder<EventActionEntry.Builder,EventActionEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EventActionEntry.Builder
action(Consumer<Action.Builder> action)
What occurs after a certain event.EventActionEntry.Builder
action(Action action)
What occurs after a certain event.EventActionEntry.Builder
arn(String arn)
The Amazon Resource Name (ARN) for the event action.EventActionEntry.Builder
createdAt(Instant createdAt)
The date and time that the event action was created, in ISO 8601 format.default EventActionEntry.Builder
event(Consumer<Event.Builder> event)
What occurs to start an action.EventActionEntry.Builder
event(Event event)
What occurs to start an action.EventActionEntry.Builder
id(String id)
The unique identifier for the event action.EventActionEntry.Builder
updatedAt(Instant updatedAt)
The date and time that the event action was last updated, in ISO 8601 format.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
action
EventActionEntry.Builder action(Action action)
What occurs after a certain event.
- Parameters:
action
- What occurs after a certain event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
default EventActionEntry.Builder action(Consumer<Action.Builder> action)
What occurs after a certain event.
This is a convenience method that creates an instance of theAction.Builder
avoiding the need to create one manually viaAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaction(Action)
.- Parameters:
action
- a consumer that will call methods onAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
action(Action)
-
arn
EventActionEntry.Builder arn(String arn)
The Amazon Resource Name (ARN) for the event action.
- Parameters:
arn
- The Amazon Resource Name (ARN) for the event action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
EventActionEntry.Builder createdAt(Instant createdAt)
The date and time that the event action was created, in ISO 8601 format.
- Parameters:
createdAt
- The date and time that the event action was created, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
event
EventActionEntry.Builder event(Event event)
What occurs to start an action.
- Parameters:
event
- What occurs to start an action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
event
default EventActionEntry.Builder event(Consumer<Event.Builder> event)
What occurs to start an action.
This is a convenience method that creates an instance of theEvent.Builder
avoiding the need to create one manually viaEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevent(Event)
.- Parameters:
event
- a consumer that will call methods onEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
event(Event)
-
id
EventActionEntry.Builder id(String id)
The unique identifier for the event action.
- Parameters:
id
- The unique identifier for the event action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
EventActionEntry.Builder updatedAt(Instant updatedAt)
The date and time that the event action was last updated, in ISO 8601 format.
- Parameters:
updatedAt
- The date and time that the event action was last updated, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-