Constructor and Description |
---|
NewKeyCreator()
Construct a new NewKeyCreator.
|
NewKeyCreator(String pathAccountSid)
Construct a new NewKeyCreator.
|
Modifier and Type | Method and Description |
---|---|
NewKey |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
NewKeyCreator |
setFriendlyName(String friendlyName)
A descriptive string that you create to describe the resource.
|
create, createAsync, createAsync
public NewKeyCreator()
public NewKeyCreator(String pathAccountSid)
pathAccountSid
- The SID of the Account that will be responsible for
the new Key resourcepublic NewKeyCreator setFriendlyName(String friendlyName)
friendlyName
- A string to describe the resourcepublic NewKey create(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.