Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHeadersItem(String headersItem) booleanReturn true if this CreateUploadRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The CSV file headers that define the schema fields, provided in the same order as the columns in the uploaded file.Number of parts to split the file into for multipart upload.The size of each part in the upload in bytes.Name of the table to associate with this upload.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetHeaders(List<String> headers) voidsetPartCount(Integer partCount) voidsetPartSize(Long partSize) voidsetTableName(String tableName) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_HEADERS
- See Also:
-
JSON_PROPERTY_PART_COUNT
- See Also:
-
JSON_PROPERTY_PART_SIZE
- See Also:
-
JSON_PROPERTY_TABLE_NAME
- See Also:
-
-
Constructor Details
-
CreateUploadRequestDataAttributes
public CreateUploadRequestDataAttributes() -
CreateUploadRequestDataAttributes
-
-
Method Details
-
headers
-
addHeadersItem
-
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
-
partCount
-
getPartCount
Number of parts to split the file into for multipart upload. maximum: 20- Returns:
- partCount
-
setPartCount
-
partSize
-
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
-
tableName
-
getTableName
Name of the table to associate with this upload.- Returns:
- tableName
-
setTableName
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- CreateUploadRequestDataAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this CreateUploadRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-