Class CreateUploadRequestDataAttributes

java.lang.Object
com.datadog.api.client.v2.model.CreateUploadRequestDataAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CreateUploadRequestDataAttributes extends Object
Upload configuration specifying how data is uploaded by the user, and properties of the table to associate the upload with.
  • Field Details

  • Constructor Details

    • CreateUploadRequestDataAttributes

      public CreateUploadRequestDataAttributes()
    • CreateUploadRequestDataAttributes

      public CreateUploadRequestDataAttributes(List<String> headers, Integer partCount, Long partSize, String tableName)
  • Method Details

    • headers

      public CreateUploadRequestDataAttributes headers(List<String> headers)
    • addHeadersItem

      public CreateUploadRequestDataAttributes addHeadersItem(String headersItem)
    • getHeaders

      public List<String> getHeaders()
      The CSV file headers that define the schema fields, provided in the same order as the columns in the uploaded file. Maximum of 200 columns.
      Returns:
      headers
    • setHeaders

      public void setHeaders(List<String> headers)
    • partCount

      public CreateUploadRequestDataAttributes partCount(Integer partCount)
    • getPartCount

      public Integer getPartCount()
      Number of parts to split the file into for multipart upload. maximum: 20
      Returns:
      partCount
    • setPartCount

      public void setPartCount(Integer partCount)
    • partSize

      public CreateUploadRequestDataAttributes partSize(Long partSize)
    • getPartSize

      public Long getPartSize()
      The size of each part in the upload in bytes. All parts except the last one must be at least 5,000,000 bytes.
      Returns:
      partSize
    • setPartSize

      public void setPartSize(Long partSize)
    • tableName

      public CreateUploadRequestDataAttributes tableName(String tableName)
    • getTableName

      public String getTableName()
      Name of the table to associate with this upload.
      Returns:
      tableName
    • setTableName

      public void setTableName(String tableName)
    • putAdditionalProperty

      public CreateUploadRequestDataAttributes putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      CreateUploadRequestDataAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this CreateUploadRequestDataAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object