@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchCreateChannelMembershipRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| BatchCreateChannelMembershipRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| BatchCreateChannelMembershipRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getChannelArn()
 The ARN of the channel to which you're adding users. | 
| String | getChimeBearer()
 The  AppInstanceUserArnof the user that makes the API call. | 
| List<String> | getMemberArns()
 The ARNs of the members you want to add to the channel. | 
| String | getType()
 The membership type of a user,  DEFAULTorHIDDEN. | 
| int | hashCode() | 
| void | setChannelArn(String channelArn)
 The ARN of the channel to which you're adding users. | 
| void | setChimeBearer(String chimeBearer)
 The  AppInstanceUserArnof the user that makes the API call. | 
| void | setMemberArns(Collection<String> memberArns)
 The ARNs of the members you want to add to the channel. | 
| void | setType(String type)
 The membership type of a user,  DEFAULTorHIDDEN. | 
| String | toString()Returns a string representation of this object. | 
| BatchCreateChannelMembershipRequest | withChannelArn(String channelArn)
 The ARN of the channel to which you're adding users. | 
| BatchCreateChannelMembershipRequest | withChimeBearer(String chimeBearer)
 The  AppInstanceUserArnof the user that makes the API call. | 
| BatchCreateChannelMembershipRequest | withMemberArns(Collection<String> memberArns)
 The ARNs of the members you want to add to the channel. | 
| BatchCreateChannelMembershipRequest | withMemberArns(String... memberArns)
 The ARNs of the members you want to add to the channel. | 
| BatchCreateChannelMembershipRequest | withType(ChannelMembershipType type)
 The membership type of a user,  DEFAULTorHIDDEN. | 
| BatchCreateChannelMembershipRequest | withType(String type)
 The membership type of a user,  DEFAULTorHIDDEN. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setChannelArn(String channelArn)
The ARN of the channel to which you're adding users.
channelArn - The ARN of the channel to which you're adding users.public String getChannelArn()
The ARN of the channel to which you're adding users.
public BatchCreateChannelMembershipRequest withChannelArn(String channelArn)
The ARN of the channel to which you're adding users.
channelArn - The ARN of the channel to which you're adding users.public void setType(String type)
 The membership type of a user, DEFAULT or HIDDEN. Default members are always returned
 as part of ListChannelMemberships. Hidden members are only returned if the type filter in
 ListChannelMemberships equals HIDDEN. Otherwise hidden members are not returned. This
 is only supported by moderators.
 
type - The membership type of a user, DEFAULT or HIDDEN. Default members are always
        returned as part of ListChannelMemberships. Hidden members are only returned if the type
        filter in ListChannelMemberships equals HIDDEN. Otherwise hidden members are not
        returned. This is only supported by moderators.ChannelMembershipTypepublic String getType()
 The membership type of a user, DEFAULT or HIDDEN. Default members are always returned
 as part of ListChannelMemberships. Hidden members are only returned if the type filter in
 ListChannelMemberships equals HIDDEN. Otherwise hidden members are not returned. This
 is only supported by moderators.
 
DEFAULT or HIDDEN. Default members are always
         returned as part of ListChannelMemberships. Hidden members are only returned if the type
         filter in ListChannelMemberships equals HIDDEN. Otherwise hidden members are
         not returned. This is only supported by moderators.ChannelMembershipTypepublic BatchCreateChannelMembershipRequest withType(String type)
 The membership type of a user, DEFAULT or HIDDEN. Default members are always returned
 as part of ListChannelMemberships. Hidden members are only returned if the type filter in
 ListChannelMemberships equals HIDDEN. Otherwise hidden members are not returned. This
 is only supported by moderators.
 
type - The membership type of a user, DEFAULT or HIDDEN. Default members are always
        returned as part of ListChannelMemberships. Hidden members are only returned if the type
        filter in ListChannelMemberships equals HIDDEN. Otherwise hidden members are not
        returned. This is only supported by moderators.ChannelMembershipTypepublic BatchCreateChannelMembershipRequest withType(ChannelMembershipType type)
 The membership type of a user, DEFAULT or HIDDEN. Default members are always returned
 as part of ListChannelMemberships. Hidden members are only returned if the type filter in
 ListChannelMemberships equals HIDDEN. Otherwise hidden members are not returned. This
 is only supported by moderators.
 
type - The membership type of a user, DEFAULT or HIDDEN. Default members are always
        returned as part of ListChannelMemberships. Hidden members are only returned if the type
        filter in ListChannelMemberships equals HIDDEN. Otherwise hidden members are not
        returned. This is only supported by moderators.ChannelMembershipTypepublic List<String> getMemberArns()
The ARNs of the members you want to add to the channel.
public void setMemberArns(Collection<String> memberArns)
The ARNs of the members you want to add to the channel.
memberArns - The ARNs of the members you want to add to the channel.public BatchCreateChannelMembershipRequest withMemberArns(String... memberArns)
The ARNs of the members you want to add to the channel.
 NOTE: This method appends the values to the existing list (if any). Use
 setMemberArns(java.util.Collection) or withMemberArns(java.util.Collection) if you want to
 override the existing values.
 
memberArns - The ARNs of the members you want to add to the channel.public BatchCreateChannelMembershipRequest withMemberArns(Collection<String> memberArns)
The ARNs of the members you want to add to the channel.
memberArns - The ARNs of the members you want to add to the channel.public void setChimeBearer(String chimeBearer)
 The AppInstanceUserArn of the user that makes the API call.
 
chimeBearer - The AppInstanceUserArn of the user that makes the API call.public String getChimeBearer()
 The AppInstanceUserArn of the user that makes the API call.
 
AppInstanceUserArn of the user that makes the API call.public BatchCreateChannelMembershipRequest withChimeBearer(String chimeBearer)
 The AppInstanceUserArn of the user that makes the API call.
 
chimeBearer - The AppInstanceUserArn of the user that makes the API call.public String toString()
toString in class ObjectObject.toString()public BatchCreateChannelMembershipRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()