Interface SsmSendCommandConfiguration.Builder

  • Method Details

    • timeoutMinutes

      SsmSendCommandConfiguration.Builder timeoutMinutes(Integer 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

      SsmSendCommandConfiguration.Builder retryIntervalMinutes(Float 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

      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 the SsmSendCommandUngraceful.Builder avoiding the need to create one manually via SsmSendCommandUngraceful.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ungraceful(SsmSendCommandUngraceful).

      Parameters:
      ungraceful - a consumer that will call methods on SsmSendCommandUngraceful.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: