| Modifier and Type | Method and Description |
|---|---|
MediaItem |
build()
Returns the final constructed
MediaItem |
MediaItem.Builder |
mimeType(String mimeType)
Set the mime type of the
MediaItem under construction and return this Builder
to allow further construction to be done. |
MediaItem.Builder |
type(MediaItem.Type type)
Set the type of the
MediaItem under construction and return this Builder
to allow further construction to be done. |
MediaItem.Builder |
url(URI url)
Set the url of the
MediaItem under construction and return this Builder
to allow further construction to be done. |
public Builder(URI url)
public MediaItem.Builder mimeType(String mimeType)
MediaItem under construction and return this Builder
to allow further construction to be done.mimeType - the mime type to use for the MediaItempublic MediaItem.Builder type(MediaItem.Type type)
MediaItem under construction and return this Builder
to allow further construction to be done.type - the type to use for the MediaItempublic MediaItem.Builder url(URI url)
MediaItem under construction and return this Builder
to allow further construction to be done.url - the mime type to use for the MediaItempublic MediaItem build()
MediaItemMediaItemCopyright © 2024 Atlassian. All rights reserved.