Interface ValidationError.Builder

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

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

    • code

      The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error codes.

      Parameters:
      code - The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error codes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      ValidationError.Builder message(String message)

      The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error codes.

      Parameters:
      message - The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error codes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.