Class BucketCreator
- java.lang.Object
-
- com.twilio.base.Creator<Bucket>
-
- com.twilio.rest.verify.v2.service.ratelimit.BucketCreator
-
-
Constructor Summary
Constructors Constructor Description BucketCreator(String pathServiceSid, String pathRateLimitSid, Integer max, Integer interval)
Construct a new BucketCreator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bucket
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
-
BucketCreator
public BucketCreator(String pathServiceSid, String pathRateLimitSid, Integer max, Integer interval)
Construct a new BucketCreator.- Parameters:
pathServiceSid
- The SID of the Service that the resource is associated withpathRateLimitSid
- Rate Limit Sid.max
- Max number of requests.interval
- Number of seconds that the rate limit will be enforced over.
-
-
Method Detail
-
create
public Bucket create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
-
-