Class BucketDeleter


  • public class BucketDeleter
    extends Deleter<Bucket>
    PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
    • Constructor Detail

      • BucketDeleter

        public BucketDeleter​(String pathServiceSid,
                             String pathRateLimitSid,
                             String pathSid)
        Construct a new BucketDeleter.
        Parameters:
        pathServiceSid - The SID of the Service that the resource is associated with
        pathRateLimitSid - Rate Limit Sid.
        pathSid - A string that uniquely identifies this Bucket.
    • Method Detail

      • delete

        public boolean delete​(TwilioRestClient client)
        Make the request to the Twilio API to perform the delete.
        Specified by:
        delete in class Deleter<Bucket>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        true if the object was deleted