Interface Media.Service
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Media
@ApiService("SoftLayer_Account_Media") public static interface Media.Service extends Service
SoftLayer's data transfer request media service allows users to access and manage their media devices that they have submitted through SoftLayer's Data Transfer Service.
- See Also:
- SoftLayer_Account_Media
-
Method Summary
Modifier and Type Method Description Media.ServiceAsync
asAsync()
Get an async version of this serviceBoolean
editObject(Media templateObject)
Edit the properties of a media record by passing in a modified instance of a SoftLayer_Account_Media object.Account
getAccount()
The account to which the media belongs.List<Type>
getAllMediaTypes()
Retrieve a list supported media types for SoftLayer's Data Transfer Service.Customer
getCreateUser()
The customer user who created the media object.Location
getDatacenter()
The datacenter where the media resides.Employee
getModifyEmployee()
The employee who last modified the media.Customer
getModifyUser()
The customer user who last modified the media.Media
getObject()
Request
getRequest()
The request to which the media belongs.Type
getType()
The media's type.Storage
getVolume()
A guest's associated EVault network storage service account.Long
removeMediaFromList(Media mediaTemplate)
Remove a media from a SoftLayer account's list of media.void
setMask(Media.Mask mask)
Media.Mask
withMask()
Use the existing mask on this service or create it if not presentMedia.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return itMethods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
asAsync
Media.ServiceAsync asAsync()Description copied from interface:Service
Get an async version of this service -
withNewMask
Media.Mask withNewMask()Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Media.Mask withMask()Description copied from interface:Maskable
Use the existing mask on this service or create it if not present -
setMask
-
editObject
Edit the properties of a media record by passing in a modified instance of a SoftLayer_Account_Media object.- See Also:
- SoftLayer_Account_Media::editObject
-
getAllMediaTypes
Retrieve a list supported media types for SoftLayer's Data Transfer Service. -
getObject
- See Also:
- SoftLayer_Account_Media::getObject
-
removeMediaFromList
Remove a media from a SoftLayer account's list of media. The media record is not deleted. -
getAccount
The account to which the media belongs.- See Also:
- SoftLayer_Account_Media::getAccount
-
getCreateUser
The customer user who created the media object.- See Also:
- SoftLayer_Account_Media::getCreateUser
-
getDatacenter
The datacenter where the media resides.- See Also:
- SoftLayer_Account_Media::getDatacenter
-
getModifyEmployee
The employee who last modified the media. -
getModifyUser
The customer user who last modified the media.- See Also:
- SoftLayer_Account_Media::getModifyUser
-
getRequest
The request to which the media belongs.- See Also:
- SoftLayer_Account_Media::getRequest
-
getType
The media's type.- See Also:
- SoftLayer_Account_Media::getType
-
getVolume
A guest's associated EVault network storage service account.- See Also:
- SoftLayer_Account_Media::getVolume
-