@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateChannelMembershipRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateChannelMembershipRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateChannelMembershipRequest |
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 ARN of the
AppInstanceUser or AppInstanceBot that makes the API call. |
String |
getMemberArn()
The
AppInstanceUserArn of the member you want to add to the channel. |
String |
getSubChannelId()
The ID of the SubChannel in the request.
|
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 ARN of the
AppInstanceUser or AppInstanceBot that makes the API call. |
void |
setMemberArn(String memberArn)
The
AppInstanceUserArn of the member you want to add to the channel. |
void |
setSubChannelId(String subChannelId)
The ID of the SubChannel in the request.
|
void |
setType(String type)
The membership type of a user,
DEFAULT or HIDDEN. |
String |
toString()
Returns a string representation of this object.
|
CreateChannelMembershipRequest |
withChannelArn(String channelArn)
The ARN of the channel to which you're adding users.
|
CreateChannelMembershipRequest |
withChimeBearer(String chimeBearer)
The ARN of the
AppInstanceUser or AppInstanceBot that makes the API call. |
CreateChannelMembershipRequest |
withMemberArn(String memberArn)
The
AppInstanceUserArn of the member you want to add to the channel. |
CreateChannelMembershipRequest |
withSubChannelId(String subChannelId)
The ID of the SubChannel in the request.
|
CreateChannelMembershipRequest |
withType(ChannelMembershipType type)
The membership type of a user,
DEFAULT or HIDDEN. |
CreateChannelMembershipRequest |
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, 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 CreateChannelMembershipRequest 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 setMemberArn(String memberArn)
The AppInstanceUserArn of the member you want to add to the channel.
memberArn - The AppInstanceUserArn of the member you want to add to the channel.public String getMemberArn()
The AppInstanceUserArn of the member you want to add to the channel.
AppInstanceUserArn of the member you want to add to the channel.public CreateChannelMembershipRequest withMemberArn(String memberArn)
The AppInstanceUserArn of the member you want to add to the channel.
memberArn - The AppInstanceUserArn of the member you want to add to the channel.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 CreateChannelMembershipRequest 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 CreateChannelMembershipRequest 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 void setChimeBearer(String chimeBearer)
The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.
chimeBearer - The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.public String getChimeBearer()
The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.
AppInstanceUser or AppInstanceBot that makes the API call.public CreateChannelMembershipRequest withChimeBearer(String chimeBearer)
The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.
chimeBearer - The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.public void setSubChannelId(String subChannelId)
The ID of the SubChannel in the request.
Only required when creating membership in a SubChannel for a moderator in an elastic channel.
subChannelId - The ID of the SubChannel in the request. Only required when creating membership in a SubChannel for a moderator in an elastic channel.
public String getSubChannelId()
The ID of the SubChannel in the request.
Only required when creating membership in a SubChannel for a moderator in an elastic channel.
Only required when creating membership in a SubChannel for a moderator in an elastic channel.
public CreateChannelMembershipRequest withSubChannelId(String subChannelId)
The ID of the SubChannel in the request.
Only required when creating membership in a SubChannel for a moderator in an elastic channel.
subChannelId - The ID of the SubChannel in the request. Only required when creating membership in a SubChannel for a moderator in an elastic channel.
public String toString()
toString in class ObjectObject.toString()public CreateChannelMembershipRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()