Interface EvaluateOnExit.Builder

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

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

    • onStatusReason

      EvaluateOnExit.Builder onStatusReason(String onStatusReason)

      Contains a glob pattern to match against the StatusReason returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white spaces (including spaces or tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.

      Parameters:
      onStatusReason - Contains a glob pattern to match against the StatusReason returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white spaces (including spaces or tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • onReason

      EvaluateOnExit.Builder onReason(String onReason)

      Contains a glob pattern to match against the Reason returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.

      Parameters:
      onReason - Contains a glob pattern to match against the Reason returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • onExitCode

      EvaluateOnExit.Builder onExitCode(String onExitCode)

      Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job. The pattern can be up to 512 characters long. It can contain only numbers, and can end with an asterisk (*) so that only the start of the string needs to be an exact match.

      The string can contain up to 512 characters.

      Parameters:
      onExitCode - Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job. The pattern can be up to 512 characters long. It can contain only numbers, and can end with an asterisk (*) so that only the start of the string needs to be an exact match.

      The string can contain up to 512 characters.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • action

      Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive.

      Parameters:
      action - Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • action

      Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive.

      Parameters:
      action - Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: