@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
AppInstanceUserArn of the user that makes the API call. |
String |
getMemberArn()
The ARN of the member 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 |
setMemberArn(String memberArn)
The ARN of the member 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.
|
CreateChannelMembershipRequest |
withChannelArn(String channelArn)
The ARN of the channel to which you're adding users.
|
CreateChannelMembershipRequest |
withChimeBearer(String chimeBearer)
The
AppInstanceUserArn of the user that makes the API call. |
CreateChannelMembershipRequest |
withMemberArn(String memberArn)
The ARN of the member you want to add to the channel.
|
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, 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 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 ARN of the member you want to add to the channel.
memberArn
- The ARN of the member you want to add to the channel.public String getMemberArn()
The ARN of the member you want to add to the channel.
public CreateChannelMembershipRequest withMemberArn(String memberArn)
The ARN of the member you want to add to the channel.
memberArn
- The ARN 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.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 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.ChannelMembershipType
public 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.ChannelMembershipType
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 CreateChannelMembershipRequest 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 CreateChannelMembershipRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()