Interface Nfs.ServiceAsync
-
- All Superinterfaces:
Group.ServiceAsync
,Maskable
,ResultLimitable
,ServiceAsync
- Enclosing class:
- Nfs
public static interface Nfs.ServiceAsync extends Group.ServiceAsync
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Future<Boolean>
addAllowedHost(Host allowedHost)
Future<?>
addAllowedHost(Host allowedHost, ResponseHandler<Boolean> callback)
Future<Boolean>
attachToVolume(Storage volume)
Future<?>
attachToVolume(Storage volume, ResponseHandler<Boolean> callback)
Future<Nfs>
getObjectForNfs()
Async version ofNfs.Service.getObjectForNfs()
Future<?>
getObjectForNfs(ResponseHandler<Nfs> callback)
Future<Boolean>
removeAllowedHost(Host allowedHost)
Future<?>
removeAllowedHost(Host allowedHost, ResponseHandler<Boolean> callback)
Future<Boolean>
removeFromVolume(Storage volume)
Future<?>
removeFromVolume(Storage volume, ResponseHandler<Boolean> callback)
void
setMask(Nfs.Mask mask)
Nfs.Mask
withMask()
Use the existing mask on this service or create it if not presentNfs.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.service.network.storage.Group.ServiceAsync
createObject, createObject, deleteObject, deleteObject, editObject, editObject, getAccount, getAccount, getAllObjects, getAllObjects, getAllowedHosts, getAllowedHosts, getAttachedVolumes, getAttachedVolumes, getGroupType, getGroupType, getNetworkConnectionDetails, getNetworkConnectionDetails, getObject, getObject, getOsType, getOsType, getServiceResource, getServiceResource, setMask
-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
withNewMask
Nfs.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 interfaceGroup.ServiceAsync
- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Nfs.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present- Specified by:
withMask
in interfaceGroup.ServiceAsync
- Specified by:
withMask
in interfaceMaskable
-
setMask
void setMask(Nfs.Mask mask)
-
addAllowedHost
Future<Boolean> addAllowedHost(Host allowedHost)
- Specified by:
addAllowedHost
in interfaceGroup.ServiceAsync
-
addAllowedHost
Future<?> addAllowedHost(Host allowedHost, ResponseHandler<Boolean> callback)
- Specified by:
addAllowedHost
in interfaceGroup.ServiceAsync
-
attachToVolume
Future<Boolean> attachToVolume(Storage volume)
- Specified by:
attachToVolume
in interfaceGroup.ServiceAsync
-
attachToVolume
Future<?> attachToVolume(Storage volume, ResponseHandler<Boolean> callback)
- Specified by:
attachToVolume
in interfaceGroup.ServiceAsync
-
getObjectForNfs
Future<Nfs> getObjectForNfs()
Async version ofNfs.Service.getObjectForNfs()
-
getObjectForNfs
Future<?> getObjectForNfs(ResponseHandler<Nfs> callback)
-
removeAllowedHost
Future<Boolean> removeAllowedHost(Host allowedHost)
Async version ofNfs.Service.removeAllowedHost(com.softlayer.api.service.network.storage.allowed.Host)
- Specified by:
removeAllowedHost
in interfaceGroup.ServiceAsync
-
removeAllowedHost
Future<?> removeAllowedHost(Host allowedHost, ResponseHandler<Boolean> callback)
- Specified by:
removeAllowedHost
in interfaceGroup.ServiceAsync
-
removeFromVolume
Future<Boolean> removeFromVolume(Storage volume)
- Specified by:
removeFromVolume
in interfaceGroup.ServiceAsync
-
removeFromVolume
Future<?> removeFromVolume(Storage volume, ResponseHandler<Boolean> callback)
- Specified by:
removeFromVolume
in interfaceGroup.ServiceAsync
-
-