Class CfnMaintenanceWindowTask.TaskInvocationParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssm.CfnMaintenanceWindowTask.TaskInvocationParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMaintenanceWindowTask.TaskInvocationParametersProperty>
- Enclosing interface:
CfnMaintenanceWindowTask.TaskInvocationParametersProperty
@Stability(Stable)
public static final class CfnMaintenanceWindowTask.TaskInvocationParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMaintenanceWindowTask.TaskInvocationParametersProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.maintenanceWindowAutomationParameters
(IResolvable maintenanceWindowAutomationParameters) maintenanceWindowAutomationParameters
(CfnMaintenanceWindowTask.MaintenanceWindowAutomationParametersProperty maintenanceWindowAutomationParameters) maintenanceWindowLambdaParameters
(IResolvable maintenanceWindowLambdaParameters) maintenanceWindowLambdaParameters
(CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty maintenanceWindowLambdaParameters) maintenanceWindowRunCommandParameters
(IResolvable maintenanceWindowRunCommandParameters) maintenanceWindowRunCommandParameters
(CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty maintenanceWindowRunCommandParameters) maintenanceWindowStepFunctionsParameters
(IResolvable maintenanceWindowStepFunctionsParameters) maintenanceWindowStepFunctionsParameters
(CfnMaintenanceWindowTask.MaintenanceWindowStepFunctionsParametersProperty maintenanceWindowStepFunctionsParameters)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maintenanceWindowAutomationParameters
@Stability(Stable) public CfnMaintenanceWindowTask.TaskInvocationParametersProperty.Builder maintenanceWindowAutomationParameters(IResolvable maintenanceWindowAutomationParameters) Sets the value ofCfnMaintenanceWindowTask.TaskInvocationParametersProperty.getMaintenanceWindowAutomationParameters()
- Parameters:
maintenanceWindowAutomationParameters
- The parameters for anAUTOMATION
task type.- Returns:
this
-
maintenanceWindowAutomationParameters
@Stability(Stable) public CfnMaintenanceWindowTask.TaskInvocationParametersProperty.Builder maintenanceWindowAutomationParameters(CfnMaintenanceWindowTask.MaintenanceWindowAutomationParametersProperty maintenanceWindowAutomationParameters) Sets the value ofCfnMaintenanceWindowTask.TaskInvocationParametersProperty.getMaintenanceWindowAutomationParameters()
- Parameters:
maintenanceWindowAutomationParameters
- The parameters for anAUTOMATION
task type.- Returns:
this
-
maintenanceWindowLambdaParameters
@Stability(Stable) public CfnMaintenanceWindowTask.TaskInvocationParametersProperty.Builder maintenanceWindowLambdaParameters(IResolvable maintenanceWindowLambdaParameters) Sets the value ofCfnMaintenanceWindowTask.TaskInvocationParametersProperty.getMaintenanceWindowLambdaParameters()
- Parameters:
maintenanceWindowLambdaParameters
- The parameters for aLAMBDA
task type.- Returns:
this
-
maintenanceWindowLambdaParameters
@Stability(Stable) public CfnMaintenanceWindowTask.TaskInvocationParametersProperty.Builder maintenanceWindowLambdaParameters(CfnMaintenanceWindowTask.MaintenanceWindowLambdaParametersProperty maintenanceWindowLambdaParameters) Sets the value ofCfnMaintenanceWindowTask.TaskInvocationParametersProperty.getMaintenanceWindowLambdaParameters()
- Parameters:
maintenanceWindowLambdaParameters
- The parameters for aLAMBDA
task type.- Returns:
this
-
maintenanceWindowRunCommandParameters
@Stability(Stable) public CfnMaintenanceWindowTask.TaskInvocationParametersProperty.Builder maintenanceWindowRunCommandParameters(IResolvable maintenanceWindowRunCommandParameters) Sets the value ofCfnMaintenanceWindowTask.TaskInvocationParametersProperty.getMaintenanceWindowRunCommandParameters()
- Parameters:
maintenanceWindowRunCommandParameters
- The parameters for aRUN_COMMAND
task type.- Returns:
this
-
maintenanceWindowRunCommandParameters
@Stability(Stable) public CfnMaintenanceWindowTask.TaskInvocationParametersProperty.Builder maintenanceWindowRunCommandParameters(CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty maintenanceWindowRunCommandParameters) Sets the value ofCfnMaintenanceWindowTask.TaskInvocationParametersProperty.getMaintenanceWindowRunCommandParameters()
- Parameters:
maintenanceWindowRunCommandParameters
- The parameters for aRUN_COMMAND
task type.- Returns:
this
-
maintenanceWindowStepFunctionsParameters
@Stability(Stable) public CfnMaintenanceWindowTask.TaskInvocationParametersProperty.Builder maintenanceWindowStepFunctionsParameters(IResolvable maintenanceWindowStepFunctionsParameters) Sets the value ofCfnMaintenanceWindowTask.TaskInvocationParametersProperty.getMaintenanceWindowStepFunctionsParameters()
- Parameters:
maintenanceWindowStepFunctionsParameters
- The parameters for aSTEP_FUNCTIONS
task type.- Returns:
this
-
maintenanceWindowStepFunctionsParameters
@Stability(Stable) public CfnMaintenanceWindowTask.TaskInvocationParametersProperty.Builder maintenanceWindowStepFunctionsParameters(CfnMaintenanceWindowTask.MaintenanceWindowStepFunctionsParametersProperty maintenanceWindowStepFunctionsParameters) Sets the value ofCfnMaintenanceWindowTask.TaskInvocationParametersProperty.getMaintenanceWindowStepFunctionsParameters()
- Parameters:
maintenanceWindowStepFunctionsParameters
- The parameters for aSTEP_FUNCTIONS
task type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMaintenanceWindowTask.TaskInvocationParametersProperty>
- Returns:
- a new instance of
CfnMaintenanceWindowTask.TaskInvocationParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-