Package com.twilio.rest.iam.v1
Class KeyCreator
- java.lang.Object
-
- com.twilio.base.Creator<Key>
-
- com.twilio.rest.iam.v1.KeyCreator
-
-
Constructor Summary
Constructors Constructor Description KeyCreator(String accountSid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Key
create(TwilioRestClient client)
Execute a request using specified client.KeyCreator
setAccountSid(String accountSid)
KeyCreator
setFriendlyName(String friendlyName)
KeyCreator
setKeyType(Key.Keytype keyType)
KeyCreator
setPolicy(Map<String,Object> policy)
-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Constructor Detail
-
KeyCreator
public KeyCreator(String accountSid)
-
-
Method Detail
-
setAccountSid
public KeyCreator setAccountSid(String accountSid)
-
setFriendlyName
public KeyCreator setFriendlyName(String friendlyName)
-
setKeyType
public KeyCreator setKeyType(Key.Keytype keyType)
-
setPolicy
public KeyCreator setPolicy(Map<String,Object> policy)
-
-