Package com.twilio.rest.notify.v1
Class CredentialUpdater
- java.lang.Object
-
- com.twilio.base.Updater<Credential>
-
- com.twilio.rest.notify.v1.CredentialUpdater
-
public class CredentialUpdater extends Updater<Credential>
-
-
Constructor Summary
Constructors Constructor Description CredentialUpdater(String pathSid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CredentialUpdater
setApiKey(String apiKey)
CredentialUpdater
setCertificate(String certificate)
CredentialUpdater
setFriendlyName(String friendlyName)
CredentialUpdater
setPrivateKey(String privateKey)
CredentialUpdater
setSandbox(Boolean sandbox)
CredentialUpdater
setSecret(String secret)
Credential
update(TwilioRestClient client)
Execute a request using specified client.-
Methods inherited from class com.twilio.base.Updater
update, updateAsync, updateAsync
-
-
-
-
Constructor Detail
-
CredentialUpdater
public CredentialUpdater(String pathSid)
-
-
Method Detail
-
setFriendlyName
public CredentialUpdater setFriendlyName(String friendlyName)
-
setCertificate
public CredentialUpdater setCertificate(String certificate)
-
setPrivateKey
public CredentialUpdater setPrivateKey(String privateKey)
-
setSandbox
public CredentialUpdater setSandbox(Boolean sandbox)
-
setApiKey
public CredentialUpdater setApiKey(String apiKey)
-
setSecret
public CredentialUpdater setSecret(String secret)
-
update
public Credential update(TwilioRestClient client)
Description copied from class:Updater
Execute a request using specified client.- Specified by:
update
in classUpdater<Credential>
- Parameters:
client
- client used to make request- Returns:
- Requested object
-
-