Interface EffectivePolicyValidationError.Builder

  • Method Details

    • errorCode

      The error code for the validation error. For example, ELEMENTS_TOO_MANY.

      Parameters:
      errorCode - The error code for the validation error. For example, ELEMENTS_TOO_MANY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorMessage

      EffectivePolicyValidationError.Builder errorMessage(String errorMessage)

      The error message for the validation error.

      Parameters:
      errorMessage - The error message for the validation error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pathToError

      The path within the effective policy where the validation error occurred.

      Parameters:
      pathToError - The path within the effective policy where the validation error occurred.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contributingPolicies

      EffectivePolicyValidationError.Builder contributingPolicies(Collection<String> contributingPolicies)

      The individual policies inherited and attached to the account which contributed to the validation error.

      Parameters:
      contributingPolicies - The individual policies inherited and attached to the account which contributed to the validation error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contributingPolicies

      EffectivePolicyValidationError.Builder contributingPolicies(String... contributingPolicies)

      The individual policies inherited and attached to the account which contributed to the validation error.

      Parameters:
      contributingPolicies - The individual policies inherited and attached to the account which contributed to the validation error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.