Class BundleCreator
- java.lang.Object
-
- com.twilio.base.Creator<Bundle>
-
- com.twilio.rest.numbers.v2.regulatorycompliance.BundleCreator
-
-
Constructor Summary
Constructors Constructor Description BundleCreator(String friendlyName, String email)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bundlecreate(TwilioRestClient client)Execute a request using specified client.TwilioResponse<Bundle>createWithResponse(TwilioRestClient client)BundleCreatorsetEmail(String email)BundleCreatorsetEndUserType(Bundle.EndUserType endUserType)BundleCreatorsetFriendlyName(String friendlyName)BundleCreatorsetIsoCountry(String isoCountry)BundleCreatorsetIsTest(Boolean isTest)BundleCreatorsetNumberType(String numberType)BundleCreatorsetRegulationSid(String regulationSid)BundleCreatorsetStatusCallback(String statusCallback)BundleCreatorsetStatusCallback(URI statusCallback)-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync, createWithResponse
-
-
-
-
Method Detail
-
setFriendlyName
public BundleCreator setFriendlyName(String friendlyName)
-
setEmail
public BundleCreator setEmail(String email)
-
setStatusCallback
public BundleCreator setStatusCallback(URI statusCallback)
-
setStatusCallback
public BundleCreator setStatusCallback(String statusCallback)
-
setRegulationSid
public BundleCreator setRegulationSid(String regulationSid)
-
setIsoCountry
public BundleCreator setIsoCountry(String isoCountry)
-
setEndUserType
public BundleCreator setEndUserType(Bundle.EndUserType endUserType)
-
setNumberType
public BundleCreator setNumberType(String numberType)
-
setIsTest
public BundleCreator setIsTest(Boolean isTest)
-
create
public Bundle create(TwilioRestClient client)
Description copied from class:CreatorExecute a request using specified client.
-
createWithResponse
public TwilioResponse<Bundle> createWithResponse(TwilioRestClient client)
- Overrides:
createWithResponsein classCreator<Bundle>
-
-