public static class UploadData.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UploadData |
build() |
UploadData.Builder |
contentUrl(String contentUrl)
The content URL of the upload data.
|
UploadData.Builder |
copy(UploadData model) |
UploadData.Builder |
fileExtension(String fileExtension)
The file extension of the upload data.
|
UploadData.Builder |
mimeType(String mimeType)
The MIME type of the upload data.
|
UploadData.Builder |
name(String name)
The name used to refer to the upload data.
|
public UploadData.Builder name(String name)
The name used to refer to the upload data.
name
- the value to setpublic UploadData.Builder contentUrl(String contentUrl)
The content URL of the upload data.
contentUrl
- the value to setpublic UploadData.Builder mimeType(String mimeType)
The MIME type of the upload data.
mimeType
- the value to setpublic UploadData.Builder fileExtension(String fileExtension)
The file extension of the upload data.
fileExtension
- the value to setpublic UploadData build()
public UploadData.Builder copy(UploadData model)
Copyright © 2016–2024. All rights reserved.