Interface Option.ServiceAsync
-
- All Superinterfaces:
Maskable
,ResultLimitable
,ServiceAsync
- Enclosing class:
- Option
public static interface Option.ServiceAsync extends ServiceAsync
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Future<List<Option>>
getAllOptions()
Async version ofOption.Service.getAllOptions()
Future<?>
getAllOptions(ResponseHandler<List<Option>> callback)
Future<Option>
getObject()
Async version ofOption.Service.getObject()
Future<?>
getObject(ResponseHandler<Option> callback)
Future<List<Option>>
getOptions(String type)
Async version ofOption.Service.getOptions(java.lang.String)
Future<?>
getOptions(String type, ResponseHandler<List<Option>> callback)
void
setMask(Option.Mask mask)
Option.Mask
withMask()
Use the existing mask on this service or create it if not presentOption.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
withNewMask
Option.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
Option.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(Option.Mask mask)
-
getAllOptions
Future<List<Option>> getAllOptions()
Async version ofOption.Service.getAllOptions()
-
getAllOptions
Future<?> getAllOptions(ResponseHandler<List<Option>> callback)
-
getObject
Future<Option> getObject()
Async version ofOption.Service.getObject()
-
getObject
Future<?> getObject(ResponseHandler<Option> callback)
-
getOptions
Future<List<Option>> getOptions(String type)
Async version ofOption.Service.getOptions(java.lang.String)
-
getOptions
Future<?> getOptions(String type, ResponseHandler<List<Option>> callback)
-
-