Class IpAccessControlListCreator
- java.lang.Object
-
- com.twilio.base.Creator<IpAccessControlList>
-
- com.twilio.rest.trunking.v1.trunk.IpAccessControlListCreator
-
public class IpAccessControlListCreator extends Creator<IpAccessControlList>
-
-
Constructor Summary
Constructors Constructor Description IpAccessControlListCreator(String pathTrunkSid, String ipAccessControlListSid)
Construct a new IpAccessControlListCreator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IpAccessControlList
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Constructor Detail
-
IpAccessControlListCreator
public IpAccessControlListCreator(String pathTrunkSid, String ipAccessControlListSid)
Construct a new IpAccessControlListCreator.- Parameters:
pathTrunkSid
- The SID of the Trunk to associate the IP Access Control List withipAccessControlListSid
- The SID of the IP Access Control List that you want to associate with the trunk
-
-
Method Detail
-
create
public IpAccessControlList create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.- Specified by:
create
in classCreator<IpAccessControlList>
- Parameters:
client
- TwilioRestClient with which to make the request- Returns:
- Created IpAccessControlList
-
-