| Constructor and Description |
|---|
KeyCreator(String pathFleetSid)
Construct a new KeyCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Key |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
KeyCreator |
setDeviceSid(String deviceSid)
Provides the unique string identifier of an existing Device to become
authenticated with this Key credential..
|
KeyCreator |
setFriendlyName(String friendlyName)
Provides a human readable descriptive text for this Key credential, up to 256
characters long..
|
create, createAsync, createAsyncpublic KeyCreator(String pathFleetSid)
pathFleetSid - The fleet_sidpublic KeyCreator setFriendlyName(String friendlyName)
friendlyName - The human readable description for this Key.public KeyCreator setDeviceSid(String deviceSid)
deviceSid - The unique identifier of a Key to be authenticated.public Key create(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.