Interface ValidateStateMachineDefinitionDiagnostic.Builder

    • Method Detail

      • severity

        ValidateStateMachineDefinitionDiagnostic.Builder severity​(String 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:
        ValidateStateMachineDefinitionSeverity, ValidateStateMachineDefinitionSeverity
      • message

        ValidateStateMachineDefinitionDiagnostic.Builder message​(String 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

        ValidateStateMachineDefinitionDiagnostic.Builder location​(String 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.