public class NexmoClient extends java.lang.Object
Construct an instance of this object with one or more AuthMethods (providing all the authentication methods
for the APIs you wish to use), and then call getVoiceClient() to obtain a client for the Nexmo Voice API.
Currently this object only constructs and provides access to VoiceClient. In the future it will manage
clients for all of the Nexmo APIs.
| Modifier and Type | Class and Description |
|---|---|
static class |
NexmoClient.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NexmoClient.Builder |
builder() |
java.lang.String |
generateJwt()
Generate a JWT for the application the client has been configured with.
|
AccountClient |
getAccountClient() |
ApplicationClient |
getApplicationClient() |
ConversionClient |
getConversionClient() |
InsightClient |
getInsightClient() |
NumbersClient |
getNumbersClient() |
RedactClient |
getRedactClient() |
SmsClient |
getSmsClient() |
SnsClient |
getSnsClient() |
VerifyClient |
getVerifyClient() |
VoiceClient |
getVoiceClient() |
public AccountClient getAccountClient()
public ApplicationClient getApplicationClient()
public InsightClient getInsightClient()
public NumbersClient getNumbersClient()
public SmsClient getSmsClient()
public SnsClient getSnsClient()
public VerifyClient getVerifyClient()
public VoiceClient getVoiceClient()
public ConversionClient getConversionClient()
public RedactClient getRedactClient()
public java.lang.String generateJwt() throws NexmoUnacceptableAuthException
NexmoUnacceptableAuthException - if no JWTAuthMethod is availablepublic static NexmoClient.Builder builder()