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 boolean
instanceRequired
If provided and true, this method can only be invoked on a service with an identifierString
value
If 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
-