Class PlaybackGrantCreator
- java.lang.Object
-
- com.twilio.base.Creator<PlaybackGrant>
-
- com.twilio.rest.media.v1.playerstreamer.PlaybackGrantCreator
-
public class PlaybackGrantCreator extends Creator<PlaybackGrant>
-
-
Constructor Summary
Constructors Constructor Description PlaybackGrantCreator(String pathSid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlaybackGrantcreate(TwilioRestClient client)Execute a request using specified client.PlaybackGrantCreatorsetAccessControlAllowOrigin(String accessControlAllowOrigin)PlaybackGrantCreatorsetTtl(Integer ttl)-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Constructor Detail
-
PlaybackGrantCreator
public PlaybackGrantCreator(String pathSid)
-
-
Method Detail
-
setTtl
public PlaybackGrantCreator setTtl(Integer ttl)
-
setAccessControlAllowOrigin
public PlaybackGrantCreator setAccessControlAllowOrigin(String accessControlAllowOrigin)
-
create
public PlaybackGrant create(TwilioRestClient client)
Description copied from class:CreatorExecute a request using specified client.- Specified by:
createin classCreator<PlaybackGrant>- Parameters:
client- client used to make request- Returns:
- Requested object
-
-