Class MemberCreator
- java.lang.Object
-
- com.twilio.base.Creator<Member>
-
- com.twilio.rest.ipmessaging.v1.service.channel.MemberCreator
-
-
Constructor Summary
Constructors Constructor Description MemberCreator(String pathServiceSid, String pathChannelSid, String identity)
Construct a new MemberCreator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Member
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.MemberCreator
setRoleSid(String roleSid)
The SID of the [Role](https://www.twilio.com/docs/api/chat/rest/roles) to assign to the member.-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Constructor Detail
-
MemberCreator
public MemberCreator(String pathServiceSid, String pathChannelSid, String identity)
Construct a new MemberCreator.- Parameters:
pathServiceSid
- The SID of the Service to create the resource underpathChannelSid
- The unique ID of the channel the new member belongs toidentity
- The `identity` value that identifies the new resource's User
-
-
Method Detail
-
setRoleSid
public MemberCreator setRoleSid(String roleSid)
The SID of the [Role](https://www.twilio.com/docs/api/chat/rest/roles) to assign to the member. The default roles are those specified on the [Service](https://www.twilio.com/docs/chat/api/services)..- Parameters:
roleSid
- The SID of the Role to assign to the member- Returns:
- this
-
create
public Member create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
-
-