Interface ScheduleAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ScheduleAction.Builder,,ScheduleAction> SdkBuilder<ScheduleAction.Builder,,ScheduleAction> SdkPojo
- Enclosing class:
ScheduleAction
-
Method Summary
Modifier and TypeMethodDescriptionactionName(String actionName) The name of the schedule action.default ScheduleAction.Buildererror(Consumer<ScheduleActionError.Builder> error) A description of why the action failed.error(ScheduleActionError error) A description of why the action failed.operations(Collection<ScheduleActionOperation> operations) The configuration changes that the action makes to the feed.operations(Consumer<ScheduleActionOperation.Builder>... operations) The configuration changes that the action makes to the feed.operations(ScheduleActionOperation... operations) The configuration changes that the action makes to the feed.default ScheduleAction.BuilderstartConfiguration(Consumer<ScheduleActionStartConfiguration.Builder> startConfiguration) Specifies when the action runs.startConfiguration(ScheduleActionStartConfiguration startConfiguration) Specifies when the action runs.The status of the action.status(ScheduleActionStatus status) The status of the action.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
-
actionName
The name of the schedule action. The name is unique within the feed.
- Parameters:
actionName- The name of the schedule action. The name is unique within the feed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startConfiguration
Specifies when the action runs.
- Parameters:
startConfiguration- Specifies when the action runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startConfiguration
default ScheduleAction.Builder startConfiguration(Consumer<ScheduleActionStartConfiguration.Builder> startConfiguration) Specifies when the action runs.
This is a convenience method that creates an instance of theScheduleActionStartConfiguration.Builderavoiding the need to create one manually viaScheduleActionStartConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostartConfiguration(ScheduleActionStartConfiguration).- Parameters:
startConfiguration- a consumer that will call methods onScheduleActionStartConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operations
The configuration changes that the action makes to the feed.
- Parameters:
operations- The configuration changes that the action makes to the feed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operations
The configuration changes that the action makes to the feed.
- Parameters:
operations- The configuration changes that the action makes to the feed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operations
The configuration changes that the action makes to the feed.
This is a convenience method that creates an instance of theScheduleActionOperation.Builderavoiding the need to create one manually viaScheduleActionOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperations(List<ScheduleActionOperation>).- Parameters:
operations- a consumer that will call methods onScheduleActionOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the action. Valid values are the following:
- PENDING
-
The action is waiting for its scheduled time.
- COMPLETED
-
Elemental Inference applied all the action's operations to the feed.
- FAILED
-
Elemental Inference couldn't apply the action.
- Parameters:
status- The status of the action. Valid values are the following:- PENDING
-
The action is waiting for its scheduled time.
- COMPLETED
-
Elemental Inference applied all the action's operations to the feed.
- FAILED
-
Elemental Inference couldn't apply the action.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the action. Valid values are the following:
- PENDING
-
The action is waiting for its scheduled time.
- COMPLETED
-
Elemental Inference applied all the action's operations to the feed.
- FAILED
-
Elemental Inference couldn't apply the action.
- Parameters:
status- The status of the action. Valid values are the following:- PENDING
-
The action is waiting for its scheduled time.
- COMPLETED
-
Elemental Inference applied all the action's operations to the feed.
- FAILED
-
Elemental Inference couldn't apply the action.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
error
A description of why the action failed. Elemental Inference returns this property only when the status is FAILED.
- Parameters:
error- A description of why the action failed. Elemental Inference returns this property only when the status is FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
A description of why the action failed. Elemental Inference returns this property only when the status is FAILED.
This is a convenience method that creates an instance of theScheduleActionError.Builderavoiding the need to create one manually viaScheduleActionError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(ScheduleActionError).- Parameters:
error- a consumer that will call methods onScheduleActionError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-