Package com.oracle.bmc.marketplace.model
Class UploadData.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplace.model.UploadData.Builder
-
- Enclosing class:
- UploadData
public static class UploadData.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UploadDatabuild()UploadData.BuildercontentUrl(String contentUrl)The content URL of the upload data.UploadData.Buildercopy(UploadData model)UploadData.BuilderfileExtension(String fileExtension)The file extension of the upload data.UploadData.BuildermimeType(String mimeType)The MIME type of the upload data.UploadData.Buildername(String name)The name used to refer to the upload data.
-
-
-
Method Detail
-
name
public UploadData.Builder name(String name)
The name used to refer to the upload data.- Parameters:
name- the value to set- Returns:
- this builder
-
contentUrl
public UploadData.Builder contentUrl(String contentUrl)
The content URL of the upload data.- Parameters:
contentUrl- the value to set- Returns:
- this builder
-
mimeType
public UploadData.Builder mimeType(String mimeType)
The MIME type of the upload data.- Parameters:
mimeType- the value to set- Returns:
- this builder
-
fileExtension
public UploadData.Builder fileExtension(String fileExtension)
The file extension of the upload data.- Parameters:
fileExtension- the value to set- Returns:
- this builder
-
build
public UploadData build()
-
copy
public UploadData.Builder copy(UploadData model)
-
-