Interface TargetLocation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TargetLocation.Builder,TargetLocation>, SdkBuilder<TargetLocation.Builder,TargetLocation>, SdkPojo
Enclosing class:
TargetLocation

public static interface TargetLocation.Builder extends SdkPojo, CopyableBuilder<TargetLocation.Builder,TargetLocation>
  • Method Details

    • accounts

      The Amazon Web Services accounts targeted by the current Automation execution.

      Parameters:
      accounts - The Amazon Web Services accounts targeted by the current Automation execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accounts

      TargetLocation.Builder accounts(String... accounts)

      The Amazon Web Services accounts targeted by the current Automation execution.

      Parameters:
      accounts - The Amazon Web Services accounts targeted by the current Automation execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • regions

      The Amazon Web Services Regions targeted by the current Automation execution.

      Parameters:
      regions - The Amazon Web Services Regions targeted by the current Automation execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • regions

      TargetLocation.Builder regions(String... regions)

      The Amazon Web Services Regions targeted by the current Automation execution.

      Parameters:
      regions - The Amazon Web Services Regions targeted by the current Automation execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetLocationMaxConcurrency

      TargetLocation.Builder targetLocationMaxConcurrency(String targetLocationMaxConcurrency)

      The maximum number of Amazon Web Services Regions and Amazon Web Services accounts allowed to run the Automation concurrently.

      Parameters:
      targetLocationMaxConcurrency - The maximum number of Amazon Web Services Regions and Amazon Web Services accounts allowed to run the Automation concurrently.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetLocationMaxErrors

      TargetLocation.Builder targetLocationMaxErrors(String targetLocationMaxErrors)

      The maximum number of errors allowed before the system stops queueing additional Automation executions for the currently running Automation.

      Parameters:
      targetLocationMaxErrors - The maximum number of errors allowed before the system stops queueing additional Automation executions for the currently running Automation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • executionRoleName

      TargetLocation.Builder executionRoleName(String executionRoleName)

      The Automation execution role used by the currently running Automation. If not specified, the default value is AWS-SystemsManager-AutomationExecutionRole.

      Parameters:
      executionRoleName - The Automation execution role used by the currently running Automation. If not specified, the default value is AWS-SystemsManager-AutomationExecutionRole.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetLocationAlarmConfiguration

      TargetLocation.Builder targetLocationAlarmConfiguration(AlarmConfiguration targetLocationAlarmConfiguration)
      Sets the value of the TargetLocationAlarmConfiguration property for this object.
      Parameters:
      targetLocationAlarmConfiguration - The new value for the TargetLocationAlarmConfiguration property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetLocationAlarmConfiguration

      default TargetLocation.Builder targetLocationAlarmConfiguration(Consumer<AlarmConfiguration.Builder> targetLocationAlarmConfiguration)
      Sets the value of the TargetLocationAlarmConfiguration property for this object. This is a convenience method that creates an instance of the AlarmConfiguration.Builder avoiding the need to create one manually via AlarmConfiguration.builder().

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

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