Package com.collibra.dgc.core.api.dto.file

# Class AddFileRequest.Builder

Object
Builder

Enclosing class:
  `AddFileRequest`

public static final class AddFileRequest.Builder extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `AddFileRequest`
  `build()`
  `AddFileRequest.Builder`
  `but()`
  Deprecated.
  This method will be removed in the future.
  `AddFileRequest.Builder`
  `fileStream(InputStream fileStream)`
  Required. The content of the file.
  `AddFileRequest.Builder`
  `name(String name)`
  Required. The name of the file.
  `String`
  `toString()`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### but

    @Deprecated public AddFileRequest.Builder but()
    Deprecated.
    This method will be removed in the future. Please use `AddFileRequest.builder()`
    Clone method for this Builder.

  - ### name

    public AddFileRequest.Builder name(String name)
    Required. The name of the file.
    Returns:
      `this`.

  - ### fileStream

    public AddFileRequest.Builder fileStream(InputStream fileStream)
    Required. The content of the file.
    Returns:
      `this`.

  - ### build

    public AddFileRequest build()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`