@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListChannelMembershipsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListChannelMembershipsRequest() |
Modifier and Type | Method and Description |
---|---|
ListChannelMembershipsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getChannelArn()
The maximum number of channel memberships that you want returned.
|
String |
getChimeBearer()
The ARN of the
AppInstanceUser or AppInstanceBot that makes the API call. |
Integer |
getMaxResults()
The maximum number of channel memberships that you want returned.
|
String |
getNextToken()
The token passed by previous API calls until all requested channel memberships are returned.
|
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 maximum number of channel memberships that you want returned.
|
void |
setChimeBearer(String chimeBearer)
The ARN of the
AppInstanceUser or AppInstanceBot that makes the API call. |
void |
setMaxResults(Integer maxResults)
The maximum number of channel memberships that you want returned.
|
void |
setNextToken(String nextToken)
The token passed by previous API calls until all requested channel memberships are returned.
|
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.
|
ListChannelMembershipsRequest |
withChannelArn(String channelArn)
The maximum number of channel memberships that you want returned.
|
ListChannelMembershipsRequest |
withChimeBearer(String chimeBearer)
The ARN of the
AppInstanceUser or AppInstanceBot that makes the API call. |
ListChannelMembershipsRequest |
withMaxResults(Integer maxResults)
The maximum number of channel memberships that you want returned.
|
ListChannelMembershipsRequest |
withNextToken(String nextToken)
The token passed by previous API calls until all requested channel memberships are returned.
|
ListChannelMembershipsRequest |
withSubChannelId(String subChannelId)
The ID of the SubChannel in the request.
|
ListChannelMembershipsRequest |
withType(ChannelMembershipType type)
The membership type of a user,
DEFAULT or HIDDEN . |
ListChannelMembershipsRequest |
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 maximum number of channel memberships that you want returned.
channelArn
- The maximum number of channel memberships that you want returned.public String getChannelArn()
The maximum number of channel memberships that you want returned.
public ListChannelMembershipsRequest withChannelArn(String channelArn)
The maximum number of channel memberships that you want returned.
channelArn
- The maximum number of channel memberships that you want returned.public void setType(String type)
The membership type of a user, DEFAULT
or HIDDEN
. Default members are returned as part
of ListChannelMemberships
if no type is specified. Hidden members are only returned if the type
filter in ListChannelMemberships
equals HIDDEN
.
type
- The membership type of a user, DEFAULT
or HIDDEN
. Default members are returned
as part of ListChannelMemberships
if no type is specified. Hidden members are only returned
if the type filter in ListChannelMemberships
equals HIDDEN
.ChannelMembershipType
public String getType()
The membership type of a user, DEFAULT
or HIDDEN
. Default members are returned as part
of ListChannelMemberships
if no type is specified. Hidden members are only returned if the type
filter in ListChannelMemberships
equals HIDDEN
.
DEFAULT
or HIDDEN
. Default members are returned
as part of ListChannelMemberships
if no type is specified. Hidden members are only returned
if the type filter in ListChannelMemberships
equals HIDDEN
.ChannelMembershipType
public ListChannelMembershipsRequest withType(String type)
The membership type of a user, DEFAULT
or HIDDEN
. Default members are returned as part
of ListChannelMemberships
if no type is specified. Hidden members are only returned if the type
filter in ListChannelMemberships
equals HIDDEN
.
type
- The membership type of a user, DEFAULT
or HIDDEN
. Default members are returned
as part of ListChannelMemberships
if no type is specified. Hidden members are only returned
if the type filter in ListChannelMemberships
equals HIDDEN
.ChannelMembershipType
public ListChannelMembershipsRequest withType(ChannelMembershipType type)
The membership type of a user, DEFAULT
or HIDDEN
. Default members are returned as part
of ListChannelMemberships
if no type is specified. Hidden members are only returned if the type
filter in ListChannelMemberships
equals HIDDEN
.
type
- The membership type of a user, DEFAULT
or HIDDEN
. Default members are returned
as part of ListChannelMemberships
if no type is specified. Hidden members are only returned
if the type filter in ListChannelMemberships
equals HIDDEN
.ChannelMembershipType
public void setMaxResults(Integer maxResults)
The maximum number of channel memberships that you want returned.
maxResults
- The maximum number of channel memberships that you want returned.public Integer getMaxResults()
The maximum number of channel memberships that you want returned.
public ListChannelMembershipsRequest withMaxResults(Integer maxResults)
The maximum number of channel memberships that you want returned.
maxResults
- The maximum number of channel memberships that you want returned.public void setNextToken(String nextToken)
The token passed by previous API calls until all requested channel memberships are returned.
nextToken
- The token passed by previous API calls until all requested channel memberships are returned.public String getNextToken()
The token passed by previous API calls until all requested channel memberships are returned.
public ListChannelMembershipsRequest withNextToken(String nextToken)
The token passed by previous API calls until all requested channel memberships are returned.
nextToken
- The token passed by previous API calls until all requested channel memberships are returned.public 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 ListChannelMembershipsRequest 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 listing a user's memberships in a particular sub-channel of an elastic channel.
subChannelId
- The ID of the SubChannel in the request. Only required when listing a user's memberships in a particular sub-channel of an elastic channel.
public String getSubChannelId()
The ID of the SubChannel in the request.
Only required when listing a user's memberships in a particular sub-channel of an elastic channel.
Only required when listing a user's memberships in a particular sub-channel of an elastic channel.
public ListChannelMembershipsRequest withSubChannelId(String subChannelId)
The ID of the SubChannel in the request.
Only required when listing a user's memberships in a particular sub-channel of an elastic channel.
subChannelId
- The ID of the SubChannel in the request. Only required when listing a user's memberships in a particular sub-channel of an elastic channel.
public String toString()
toString
in class Object
Object.toString()
public ListChannelMembershipsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.