@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
AppInstanceUserArn of the user that makes the API call. |
List<String> |
getMemberArns()
The
AppInstanceUserArn s of the members you want to add to the channel. |
String |
getType()
The membership type of a user,
DEFAULT or HIDDEN . |
int |
hashCode() |
void |
setChannelArn(String channelArn)
The ARN of the channel to which you're adding users.
|
void |
setChimeBearer(String chimeBearer)
The
AppInstanceUserArn of the user that makes the API call. |
void |
setMemberArns(Collection<String> memberArns)
The
AppInstanceUserArn s of the members you want to add to the channel. |
void |
setType(String type)
The membership type of a user,
DEFAULT or HIDDEN . |
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
AppInstanceUserArn of the user that makes the API call. |
BatchCreateChannelMembershipRequest |
withMemberArns(Collection<String> memberArns)
The
AppInstanceUserArn s of the members you want to add to the channel. |
BatchCreateChannelMembershipRequest |
withMemberArns(String... memberArns)
The
AppInstanceUserArn s of the members you want to add to the channel. |
BatchCreateChannelMembershipRequest |
withType(ChannelMembershipType type)
The membership type of a user,
DEFAULT or HIDDEN . |
BatchCreateChannelMembershipRequest |
withType(String type)
The membership type of a user,
DEFAULT or HIDDEN . |
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, withSdkRequestTimeout
public 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.ChannelMembershipType
public 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.ChannelMembershipType
public 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.ChannelMembershipType
public 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.ChannelMembershipType
public List<String> getMemberArns()
The AppInstanceUserArn
s of the members you want to add to the channel.
AppInstanceUserArn
s of the members you want to add to the channel.public void setMemberArns(Collection<String> memberArns)
The AppInstanceUserArn
s of the members you want to add to the channel.
memberArns
- The AppInstanceUserArn
s of the members you want to add to the channel.public BatchCreateChannelMembershipRequest withMemberArns(String... memberArns)
The AppInstanceUserArn
s 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 AppInstanceUserArn
s of the members you want to add to the channel.public BatchCreateChannelMembershipRequest withMemberArns(Collection<String> memberArns)
The AppInstanceUserArn
s of the members you want to add to the channel.
memberArns
- The AppInstanceUserArn
s 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 Object
Object.toString()
public BatchCreateChannelMembershipRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()