Package com.softlayer.api.annotation
Annotation Type ApiMethod
@Documented @Target(METHOD) @Retention(RUNTIME) public @interface ApiMethod
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleaninstanceRequiredIf provided and true, this method can only be invoked on a service with an identifierStringvalueIf provided, this is the name of the method.
-
Element Details
-
value
String valueIf provided, this is the name of the method. Otherwise it is the name of the method it is on.- Default:
- ""
-
instanceRequired
boolean instanceRequiredIf provided and true, this method can only be invoked on a service with an identifier- Default:
- false
-