Interface AutomationExecutionInputs.Builder

  • Method Details

    • parameters

      AutomationExecutionInputs.Builder parameters(Map<String,? extends Collection<String>> parameters)

      Information about parameters that can be specified for the preview operation.

      Parameters:
      parameters - Information about parameters that can be specified for the preview operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetParameterName

      AutomationExecutionInputs.Builder targetParameterName(String targetParameterName)

      The name of the parameter used as the target resource for the rate-controlled execution. Required if you specify targets.

      Parameters:
      targetParameterName - The name of the parameter used as the target resource for the rate-controlled execution. Required if you specify targets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targets

      Information about the resources that would be included in the actual runbook execution, if it were to be run. Both Targets and TargetMaps can't be specified together.

      Parameters:
      targets - Information about the resources that would be included in the actual runbook execution, if it were to be run. Both Targets and TargetMaps can't be specified together.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targets

      Information about the resources that would be included in the actual runbook execution, if it were to be run. Both Targets and TargetMaps can't be specified together.

      Parameters:
      targets - Information about the resources that would be included in the actual runbook execution, if it were to be run. Both Targets and TargetMaps can't be specified together.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targets

      Information about the resources that would be included in the actual runbook execution, if it were to be run. Both Targets and TargetMaps can't be specified together.

      This is a convenience method that creates an instance of the Target.Builder avoiding the need to create one manually via Target.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to targets(List<Target>).

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

      AutomationExecutionInputs.Builder targetMaps(Collection<? extends Map<String,? extends Collection<String>>> targetMaps)

      A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together.

      Parameters:
      targetMaps - A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetMaps

      AutomationExecutionInputs.Builder targetMaps(Map<String,? extends Collection<String>>... targetMaps)

      A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together.

      Parameters:
      targetMaps - A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetLocations

      AutomationExecutionInputs.Builder targetLocations(Collection<TargetLocation> targetLocations)

      Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the Automation execution preview operation.

      Parameters:
      targetLocations - Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the Automation execution preview operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetLocations

      AutomationExecutionInputs.Builder targetLocations(TargetLocation... targetLocations)

      Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the Automation execution preview operation.

      Parameters:
      targetLocations - Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the Automation execution preview operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetLocations

      Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the Automation execution preview operation.

      This is a convenience method that creates an instance of the TargetLocation.Builder avoiding the need to create one manually via TargetLocation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to targetLocations(List<TargetLocation>).

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

      AutomationExecutionInputs.Builder targetLocationsURL(String targetLocationsURL)

      A publicly accessible URL for a file that contains the TargetLocations body. Currently, only files in presigned Amazon S3 buckets are supported.

      Parameters:
      targetLocationsURL - A publicly accessible URL for a file that contains the TargetLocations body. Currently, only files in presigned Amazon S3 buckets are supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.