Interface MaintenanceWindowTaskInvocationParameters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MaintenanceWindowTaskInvocationParameters.Builder,
,MaintenanceWindowTaskInvocationParameters> SdkBuilder<MaintenanceWindowTaskInvocationParameters.Builder,
,MaintenanceWindowTaskInvocationParameters> SdkPojo
- Enclosing class:
MaintenanceWindowTaskInvocationParameters
-
Method Summary
Modifier and TypeMethodDescriptionThe parameters for anAUTOMATION
task type.automation
(MaintenanceWindowAutomationParameters automation) The parameters for anAUTOMATION
task type.The parameters for aLAMBDA
task type.The parameters for aLAMBDA
task type.The parameters for aRUN_COMMAND
task type.runCommand
(MaintenanceWindowRunCommandParameters runCommand) The parameters for aRUN_COMMAND
task type.stepFunctions
(Consumer<MaintenanceWindowStepFunctionsParameters.Builder> stepFunctions) The parameters for aSTEP_FUNCTIONS
task type.stepFunctions
(MaintenanceWindowStepFunctionsParameters stepFunctions) The parameters for aSTEP_FUNCTIONS
task type.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, sdkFields
-
Method Details
-
runCommand
MaintenanceWindowTaskInvocationParameters.Builder runCommand(MaintenanceWindowRunCommandParameters runCommand) The parameters for a
RUN_COMMAND
task type.- Parameters:
runCommand
- The parameters for aRUN_COMMAND
task type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runCommand
default MaintenanceWindowTaskInvocationParameters.Builder runCommand(Consumer<MaintenanceWindowRunCommandParameters.Builder> runCommand) The parameters for a
This is a convenience method that creates an instance of theRUN_COMMAND
task type.MaintenanceWindowRunCommandParameters.Builder
avoiding the need to create one manually viaMaintenanceWindowRunCommandParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torunCommand(MaintenanceWindowRunCommandParameters)
.- Parameters:
runCommand
- a consumer that will call methods onMaintenanceWindowRunCommandParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
automation
MaintenanceWindowTaskInvocationParameters.Builder automation(MaintenanceWindowAutomationParameters automation) The parameters for an
AUTOMATION
task type.- Parameters:
automation
- The parameters for anAUTOMATION
task type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automation
default MaintenanceWindowTaskInvocationParameters.Builder automation(Consumer<MaintenanceWindowAutomationParameters.Builder> automation) The parameters for an
This is a convenience method that creates an instance of theAUTOMATION
task type.MaintenanceWindowAutomationParameters.Builder
avoiding the need to create one manually viaMaintenanceWindowAutomationParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautomation(MaintenanceWindowAutomationParameters)
.- Parameters:
automation
- a consumer that will call methods onMaintenanceWindowAutomationParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stepFunctions
MaintenanceWindowTaskInvocationParameters.Builder stepFunctions(MaintenanceWindowStepFunctionsParameters stepFunctions) The parameters for a
STEP_FUNCTIONS
task type.- Parameters:
stepFunctions
- The parameters for aSTEP_FUNCTIONS
task type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepFunctions
default MaintenanceWindowTaskInvocationParameters.Builder stepFunctions(Consumer<MaintenanceWindowStepFunctionsParameters.Builder> stepFunctions) The parameters for a
This is a convenience method that creates an instance of theSTEP_FUNCTIONS
task type.MaintenanceWindowStepFunctionsParameters.Builder
avoiding the need to create one manually viaMaintenanceWindowStepFunctionsParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostepFunctions(MaintenanceWindowStepFunctionsParameters)
.- Parameters:
stepFunctions
- a consumer that will call methods onMaintenanceWindowStepFunctionsParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambda
The parameters for a
LAMBDA
task type.- Parameters:
lambda
- The parameters for aLAMBDA
task type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambda
default MaintenanceWindowTaskInvocationParameters.Builder lambda(Consumer<MaintenanceWindowLambdaParameters.Builder> lambda) The parameters for a
This is a convenience method that creates an instance of theLAMBDA
task type.MaintenanceWindowLambdaParameters.Builder
avoiding the need to create one manually viaMaintenanceWindowLambdaParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolambda(MaintenanceWindowLambdaParameters)
.- Parameters:
lambda
- a consumer that will call methods onMaintenanceWindowLambdaParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-