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