public class ServiceToken extends APIBean
| Constructor and Description |
|---|
ServiceToken()
Default constructor.
|
ServiceToken(java.lang.String serviceName,
java.lang.String endpointName,
java.lang.String functionName,
IServiceMethod invocationMethod)
Convenience constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEndpointName()
Get token's endpoint name.
|
java.lang.String |
getFunctionName()
Get token's function name.
|
IServiceMethod |
getInvocationMethod()
Get token's invocation method type.
|
java.lang.String |
getServiceName()
Get token's service name.
|
void |
setEndpointName(java.lang.String endpointName)
Set the endpoint name.
|
void |
setFunctionName(java.lang.String functionName)
Sets the function name.
|
void |
setInvocationMethod(IServiceMethod invocationMethod)
Sets the invocation method type.
|
void |
setServiceName(java.lang.String serviceName)
Sets token's service name.
|
public ServiceToken()
public ServiceToken(java.lang.String serviceName,
java.lang.String endpointName,
java.lang.String functionName,
IServiceMethod invocationMethod)
serviceName - Name of the configured service.endpointName - Name of the endpoint configured for the service.functionName - Name of the function configured for the endpoint.invocationMethod - Method type configured for the function.public IServiceMethod getInvocationMethod()
public void setInvocationMethod(IServiceMethod invocationMethod)
invocationMethod - Method type.public java.lang.String getEndpointName()
public void setEndpointName(java.lang.String endpointName)
endpointName - Endpoint name.public java.lang.String getFunctionName()
public void setFunctionName(java.lang.String functionName)
functionName - Function name.public java.lang.String getServiceName()
public void setServiceName(java.lang.String serviceName)
serviceName - Service name.