Interface ValidateStateMachineDefinitionDiagnostic.Builder

  • Method Details

    • severity

      A value of ERROR means that you cannot create or update a state machine with this definition.

      WARNING level diagnostics alert you to potential issues, but they will not prevent you from creating or updating your state machine.

      Parameters:
      severity - A value of ERROR means that you cannot create or update a state machine with this definition.

      WARNING level diagnostics alert you to potential issues, but they will not prevent you from creating or updating your state machine.

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

      A value of ERROR means that you cannot create or update a state machine with this definition.

      WARNING level diagnostics alert you to potential issues, but they will not prevent you from creating or updating your state machine.

      Parameters:
      severity - A value of ERROR means that you cannot create or update a state machine with this definition.

      WARNING level diagnostics alert you to potential issues, but they will not prevent you from creating or updating your state machine.

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

      Identifying code for the diagnostic.

      Parameters:
      code - Identifying code for the diagnostic.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      Message describing the diagnostic condition.

      Parameters:
      message - Message describing the diagnostic condition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      Location of the issue in the state machine, if available.

      For errors specific to a field, the location could be in the format: /States/<StateName>/<FieldName>, for example: /States/FailState/ErrorPath.

      Parameters:
      location - Location of the issue in the state machine, if available.

      For errors specific to a field, the location could be in the format: /States/<StateName>/<FieldName>, for example: /States/FailState/ErrorPath.

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