Interface ValidateStateMachineDefinitionResponse.Builder

    • Method Detail

      • diagnostics

        ValidateStateMachineDefinitionResponse.Builder diagnostics​(Collection<ValidateStateMachineDefinitionDiagnostic> diagnostics)

        An array of diagnostic errors and warnings found during validation of the state machine definition. Since warnings do not prevent deploying your workflow definition, the result value could be OK even when warning diagnostics are present in the response.

        Parameters:
        diagnostics - An array of diagnostic errors and warnings found during validation of the state machine definition. Since warnings do not prevent deploying your workflow definition, the result value could be OK even when warning diagnostics are present in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • diagnostics

        ValidateStateMachineDefinitionResponse.Builder diagnostics​(ValidateStateMachineDefinitionDiagnostic... diagnostics)

        An array of diagnostic errors and warnings found during validation of the state machine definition. Since warnings do not prevent deploying your workflow definition, the result value could be OK even when warning diagnostics are present in the response.

        Parameters:
        diagnostics - An array of diagnostic errors and warnings found during validation of the state machine definition. Since warnings do not prevent deploying your workflow definition, the result value could be OK even when warning diagnostics are present in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • truncated

        ValidateStateMachineDefinitionResponse.Builder truncated​(Boolean truncated)

        The result value will be true if the number of diagnostics found in the workflow definition exceeds maxResults. When all diagnostics results are returned, the value will be false.

        Parameters:
        truncated - The result value will be true if the number of diagnostics found in the workflow definition exceeds maxResults. When all diagnostics results are returned, the value will be false.
        Returns:
        Returns a reference to this object so that method calls can be chained together.