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 anAUTOMATIONtask type.automation(MaintenanceWindowAutomationParameters automation) The parameters for anAUTOMATIONtask type.The parameters for aLAMBDAtask type.The parameters for aLAMBDAtask type.The parameters for aRUN_COMMANDtask type.runCommand(MaintenanceWindowRunCommandParameters runCommand) The parameters for aRUN_COMMANDtask type.stepFunctions(Consumer<MaintenanceWindowStepFunctionsParameters.Builder> stepFunctions) The parameters for aSTEP_FUNCTIONStask type.stepFunctions(MaintenanceWindowStepFunctionsParameters stepFunctions) The parameters for aSTEP_FUNCTIONStask type.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, sdkFields
-
Method Details
-
runCommand
MaintenanceWindowTaskInvocationParameters.Builder runCommand(MaintenanceWindowRunCommandParameters runCommand) The parameters for a
RUN_COMMANDtask type.- Parameters:
runCommand- The parameters for aRUN_COMMANDtask 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_COMMANDtask type.MaintenanceWindowRunCommandParameters.Builderavoiding the need to create one manually viaMaintenanceWindowRunCommandParameters.builder().When the
Consumercompletes,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
AUTOMATIONtask type.- Parameters:
automation- The parameters for anAUTOMATIONtask 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 theAUTOMATIONtask type.MaintenanceWindowAutomationParameters.Builderavoiding the need to create one manually viaMaintenanceWindowAutomationParameters.builder().When the
Consumercompletes,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_FUNCTIONStask type.- Parameters:
stepFunctions- The parameters for aSTEP_FUNCTIONStask 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_FUNCTIONStask type.MaintenanceWindowStepFunctionsParameters.Builderavoiding the need to create one manually viaMaintenanceWindowStepFunctionsParameters.builder().When the
Consumercompletes,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
LAMBDAtask type.- Parameters:
lambda- The parameters for aLAMBDAtask 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 theLAMBDAtask type.MaintenanceWindowLambdaParameters.Builderavoiding the need to create one manually viaMaintenanceWindowLambdaParameters.builder().When the
Consumercompletes,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:
-