Package com.twilio.rest.trusthub.v1
Class TrustProductsCreator
- java.lang.Object
-
- com.twilio.base.Creator<TrustProducts>
-
- com.twilio.rest.trusthub.v1.TrustProductsCreator
-
public class TrustProductsCreator extends Creator<TrustProducts>
-
-
Constructor Summary
Constructors Constructor Description TrustProductsCreator(String friendlyName, String email, String policySid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TrustProductscreate(TwilioRestClient client)Execute a request using specified client.TrustProductsCreatorsetEmail(String email)TrustProductsCreatorsetFriendlyName(String friendlyName)TrustProductsCreatorsetPolicySid(String policySid)TrustProductsCreatorsetStatusCallback(String statusCallback)TrustProductsCreatorsetStatusCallback(URI statusCallback)-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Method Detail
-
setFriendlyName
public TrustProductsCreator setFriendlyName(String friendlyName)
-
setEmail
public TrustProductsCreator setEmail(String email)
-
setPolicySid
public TrustProductsCreator setPolicySid(String policySid)
-
setStatusCallback
public TrustProductsCreator setStatusCallback(URI statusCallback)
-
setStatusCallback
public TrustProductsCreator setStatusCallback(String statusCallback)
-
create
public TrustProducts create(TwilioRestClient client)
Description copied from class:CreatorExecute a request using specified client.- Specified by:
createin classCreator<TrustProducts>- Parameters:
client- client used to make request- Returns:
- Requested object
-
-