Interface CreateEventActionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateEventActionResponse.Builder,CreateEventActionResponse>
,DataExchangeResponse.Builder
,SdkBuilder<CreateEventActionResponse.Builder,CreateEventActionResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateEventActionResponse
public static interface CreateEventActionResponse.Builder extends DataExchangeResponse.Builder, SdkPojo, CopyableBuilder<CreateEventActionResponse.Builder,CreateEventActionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateEventActionResponse.Builder
action(Consumer<Action.Builder> action)
What occurs after a certain event.CreateEventActionResponse.Builder
action(Action action)
What occurs after a certain event.CreateEventActionResponse.Builder
arn(String arn)
The ARN for the event action.CreateEventActionResponse.Builder
createdAt(Instant createdAt)
The date and time that the event action was created, in ISO 8601 format.default CreateEventActionResponse.Builder
event(Consumer<Event.Builder> event)
What occurs to start an action.CreateEventActionResponse.Builder
event(Event event)
What occurs to start an action.CreateEventActionResponse.Builder
id(String id)
The unique identifier for the event action.CreateEventActionResponse.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.services.dataexchange.model.DataExchangeResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
action
CreateEventActionResponse.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 CreateEventActionResponse.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
CreateEventActionResponse.Builder arn(String arn)
The ARN for the event action.
- Parameters:
arn
- The ARN for the event action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
CreateEventActionResponse.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
CreateEventActionResponse.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 CreateEventActionResponse.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
CreateEventActionResponse.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
CreateEventActionResponse.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.
-
-