| Constructor and Description |
|---|
DeviceCreator(String pathFleetSid)
Construct a new DeviceCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Device |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
DeviceCreator |
setDeploymentSid(String deploymentSid)
Specifies the unique string identifier of the Deployment group that this
Device is going to be associated with..
|
DeviceCreator |
setEnabled(Boolean enabled)
The enabled.
|
DeviceCreator |
setFriendlyName(String friendlyName)
Provides a human readable descriptive text to be assigned to this Device, up
to 256 characters long..
|
DeviceCreator |
setIdentity(String identity)
Provides an arbitrary string identifier representing a human user to be
associated with this Device, up to 256 characters long..
|
DeviceCreator |
setUniqueName(String uniqueName)
Provides a unique and addressable name to be assigned to this Device, to be
used in addition to SID, up to 128 characters long..
|
create, createAsync, createAsyncpublic DeviceCreator(String pathFleetSid)
pathFleetSid - The fleet_sidpublic DeviceCreator setUniqueName(String uniqueName)
uniqueName - A unique, addressable name of this Device.public DeviceCreator setFriendlyName(String friendlyName)
friendlyName - A human readable description for this Device.public DeviceCreator setIdentity(String identity)
identity - An identifier of the Device user.public DeviceCreator setDeploymentSid(String deploymentSid)
deploymentSid - The unique SID of the Deployment group.public DeviceCreator setEnabled(Boolean enabled)
enabled - The enabledpublic Device create(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.