Interface SsmSendCommandConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SsmSendCommandConfiguration.Builder,,SsmSendCommandConfiguration> SdkBuilder<SsmSendCommandConfiguration.Builder,,SsmSendCommandConfiguration> SdkPojo
- Enclosing class:
SsmSendCommandConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionregionDocuments(Map<String, SsmDocumentConfig> regionDocuments) The Systems Manager document and target configuration for each Amazon Web Services Region in the plan.retryIntervalMinutes(Float retryIntervalMinutes) How often, in minutes, Region switch retries the command if it returns a failure.timeoutMinutes(Integer timeoutMinutes) The timeout value specified for the configuration.ungraceful(Consumer<SsmSendCommandUngraceful.Builder> ungraceful) Specifies the settings that determine how the execution block behaves when the plan runs ungracefully, such as whether to skip the command.ungraceful(SsmSendCommandUngraceful ungraceful) Specifies the settings that determine how the execution block behaves when the plan runs ungracefully, such as whether to skip the command.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, sdkFieldNameToField, sdkFields
-
Method Details
-
timeoutMinutes
The timeout value specified for the configuration.
- Parameters:
timeoutMinutes- The timeout value specified for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionDocuments
The Systems Manager document and target configuration for each Amazon Web Services Region in the plan. Provide an entry for each Amazon Web Services Region that you want the command to run in.
- Parameters:
regionDocuments- The Systems Manager document and target configuration for each Amazon Web Services Region in the plan. Provide an entry for each Amazon Web Services Region that you want the command to run in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryIntervalMinutes
How often, in minutes, Region switch retries the command if it returns a failure.
- Parameters:
retryIntervalMinutes- How often, in minutes, Region switch retries the command if it returns a failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ungraceful
Specifies the settings that determine how the execution block behaves when the plan runs ungracefully, such as whether to skip the command.
- Parameters:
ungraceful- Specifies the settings that determine how the execution block behaves when the plan runs ungracefully, such as whether to skip the command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ungraceful
default SsmSendCommandConfiguration.Builder ungraceful(Consumer<SsmSendCommandUngraceful.Builder> ungraceful) Specifies the settings that determine how the execution block behaves when the plan runs ungracefully, such as whether to skip the command.
This is a convenience method that creates an instance of theSsmSendCommandUngraceful.Builderavoiding the need to create one manually viaSsmSendCommandUngraceful.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toungraceful(SsmSendCommandUngraceful).- Parameters:
ungraceful- a consumer that will call methods onSsmSendCommandUngraceful.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-