Interface MaintenanceWindowTaskInvocationParameters.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MaintenanceWindowTaskInvocationParameters.Builder,MaintenanceWindowTaskInvocationParameters>,SdkBuilder<MaintenanceWindowTaskInvocationParameters.Builder,MaintenanceWindowTaskInvocationParameters>,SdkPojo
- Enclosing class:
- MaintenanceWindowTaskInvocationParameters
@Mutable @NotThreadSafe public static interface MaintenanceWindowTaskInvocationParameters.Builder extends SdkPojo, CopyableBuilder<MaintenanceWindowTaskInvocationParameters.Builder,MaintenanceWindowTaskInvocationParameters>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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:
runCommand(MaintenanceWindowRunCommandParameters)
-
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:
automation(MaintenanceWindowAutomationParameters)
-
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:
stepFunctions(MaintenanceWindowStepFunctionsParameters)
-
lambda
MaintenanceWindowTaskInvocationParameters.Builder lambda(MaintenanceWindowLambdaParameters 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:
lambda(MaintenanceWindowLambdaParameters)
-
-