public static interface MaintenanceWindowTaskInvocationParameters.Builder extends SdkPojo, CopyableBuilder<MaintenanceWindowTaskInvocationParameters.Builder,MaintenanceWindowTaskInvocationParameters>
equalsBySdkFields, sdkFields
copy
applyMutation, build
MaintenanceWindowTaskInvocationParameters.Builder runCommand(MaintenanceWindowRunCommandParameters runCommand)
The parameters for a RUN_COMMAND
task type.
runCommand
- The parameters for a RUN_COMMAND
task type.default MaintenanceWindowTaskInvocationParameters.Builder runCommand(Consumer<MaintenanceWindowRunCommandParameters.Builder> runCommand)
The parameters for a RUN_COMMAND
task type.
MaintenanceWindowRunCommandParameters.Builder
avoiding the need to create one manually via
MaintenanceWindowRunCommandParameters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to runCommand(MaintenanceWindowRunCommandParameters)
.
runCommand
- a consumer that will call methods on MaintenanceWindowRunCommandParameters.Builder
runCommand(MaintenanceWindowRunCommandParameters)
MaintenanceWindowTaskInvocationParameters.Builder automation(MaintenanceWindowAutomationParameters automation)
The parameters for an AUTOMATION
task type.
automation
- The parameters for an AUTOMATION
task type.default MaintenanceWindowTaskInvocationParameters.Builder automation(Consumer<MaintenanceWindowAutomationParameters.Builder> automation)
The parameters for an AUTOMATION
task type.
MaintenanceWindowAutomationParameters.Builder
avoiding the need to create one manually via
MaintenanceWindowAutomationParameters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to automation(MaintenanceWindowAutomationParameters)
.
automation
- a consumer that will call methods on MaintenanceWindowAutomationParameters.Builder
automation(MaintenanceWindowAutomationParameters)
MaintenanceWindowTaskInvocationParameters.Builder stepFunctions(MaintenanceWindowStepFunctionsParameters stepFunctions)
The parameters for a STEP_FUNCTIONS
task type.
stepFunctions
- The parameters for a STEP_FUNCTIONS
task type.default MaintenanceWindowTaskInvocationParameters.Builder stepFunctions(Consumer<MaintenanceWindowStepFunctionsParameters.Builder> stepFunctions)
The parameters for a STEP_FUNCTIONS
task type.
MaintenanceWindowStepFunctionsParameters.Builder
avoiding the need to create one manually via
MaintenanceWindowStepFunctionsParameters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to
stepFunctions(MaintenanceWindowStepFunctionsParameters)
.
stepFunctions
- a consumer that will call methods on MaintenanceWindowStepFunctionsParameters.Builder
stepFunctions(MaintenanceWindowStepFunctionsParameters)
MaintenanceWindowTaskInvocationParameters.Builder lambda(MaintenanceWindowLambdaParameters lambda)
The parameters for a LAMBDA
task type.
lambda
- The parameters for a LAMBDA
task type.default MaintenanceWindowTaskInvocationParameters.Builder lambda(Consumer<MaintenanceWindowLambdaParameters.Builder> lambda)
The parameters for a LAMBDA
task type.
MaintenanceWindowLambdaParameters.Builder
avoiding the need to create one manually via
MaintenanceWindowLambdaParameters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to lambda(MaintenanceWindowLambdaParameters)
.
lambda
- a consumer that will call methods on MaintenanceWindowLambdaParameters.Builder
lambda(MaintenanceWindowLambdaParameters)
Copyright © 2023. All rights reserved.