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 uploaded data.
|
UploadData.Builder |
copy(UploadData model) |
UploadData.Builder |
displayName(String displayName)
The name used to refer to the uploaded data.
|
UploadData.Builder |
mimeType(String mimeType)
The MIME type of the uploaded data.
|
public UploadData.Builder displayName(String displayName)
The name used to refer to the uploaded data.
displayName
- the value to setpublic UploadData.Builder contentUrl(String contentUrl)
The content URL of the uploaded data.
contentUrl
- the value to setpublic UploadData.Builder mimeType(String mimeType)
The MIME type of the uploaded data.
mimeType
- the value to setpublic UploadData build()
public UploadData.Builder copy(UploadData model)
Copyright © 2016–2024. All rights reserved.