Interface CreateScheduleActionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateScheduleActionRequest.Builder,,CreateScheduleActionRequest> ElementalInferenceRequest.Builder,SdkBuilder<CreateScheduleActionRequest.Builder,,CreateScheduleActionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateScheduleActionRequest
-
Method Summary
Modifier and TypeMethodDescriptionactionName(String actionName) A name for the schedule action.Specifies the ID of the feed that you want to add the schedule action to.operations(Collection<ScheduleActionOperation> operations) Specifies the list of configuration changes that you want to make to the feed.operations(Consumer<ScheduleActionOperation.Builder>... operations) Specifies the list of configuration changes that you want to make to the feed.operations(ScheduleActionOperation... operations) Specifies the list of configuration changes that you want to make to the feed.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.startConfiguration(Consumer<ScheduleActionStartConfiguration.Builder> startConfiguration) Specifies when the action runs.startConfiguration(ScheduleActionStartConfiguration startConfiguration) Specifies when the action runs.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elementalinference.model.ElementalInferenceRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
Specifies the ID of the feed that you want to add the schedule action to.
- Parameters:
id- Specifies the ID of the feed that you want to add the schedule action to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionName
A name for the schedule action. The name must be unique within the feed. You can reuse the name of an action that you deleted.
- Parameters:
actionName- A name for the schedule action. The name must be unique within the feed. You can reuse the name of an action that you deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startConfiguration
CreateScheduleActionRequest.Builder startConfiguration(ScheduleActionStartConfiguration 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 CreateScheduleActionRequest.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
Specifies the list of configuration changes that you want to make to the feed. Elemental Inference applies all the operations in an action together, in the order that you specify them. If any operation fails, Elemental Inference doesn't apply any of them.
- Parameters:
operations- Specifies the list of configuration changes that you want to make to the feed. Elemental Inference applies all the operations in an action together, in the order that you specify them. If any operation fails, Elemental Inference doesn't apply any of them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operations
Specifies the list of configuration changes that you want to make to the feed. Elemental Inference applies all the operations in an action together, in the order that you specify them. If any operation fails, Elemental Inference doesn't apply any of them.
- Parameters:
operations- Specifies the list of configuration changes that you want to make to the feed. Elemental Inference applies all the operations in an action together, in the order that you specify them. If any operation fails, Elemental Inference doesn't apply any of them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operations
CreateScheduleActionRequest.Builder operations(Consumer<ScheduleActionOperation.Builder>... operations) Specifies the list of configuration changes that you want to make to the feed. Elemental Inference applies all the operations in an action together, in the order that you specify them. If any operation fails, Elemental Inference doesn't apply any of them.
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:
-
overrideConfiguration
CreateScheduleActionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateScheduleActionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-