Interface CreateScheduleActionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateScheduleActionResponse.Builder,,CreateScheduleActionResponse> ElementalInferenceResponse.Builder,SdkBuilder<CreateScheduleActionResponse.Builder,,CreateScheduleActionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateScheduleActionResponse
-
Method Summary
Modifier and TypeMethodDescriptionactionName(String actionName) The name that you specified.error(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.startConfiguration(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.services.elementalinference.model.ElementalInferenceResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
actionName
The name that you specified.
- Parameters:
actionName- The name that you specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startConfiguration
CreateScheduleActionResponse.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 CreateScheduleActionResponse.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
CreateScheduleActionResponse.Builder operations(Consumer<ScheduleActionOperation.Builder>... 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. After you create the action successfully, Elemental Inference sets the status to PENDING.
- Parameters:
status- The status of the action. After you create the action successfully, Elemental Inference sets the status to PENDING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the action. After you create the action successfully, Elemental Inference sets the status to PENDING.
- Parameters:
status- The status of the action. After you create the action successfully, Elemental Inference sets the status to PENDING.- 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:
-