@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
AppInstanceUserArn of the user 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 |
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
AppInstanceUserArn of the user 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 |
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
AppInstanceUserArn of the user 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 |
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 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.
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.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.
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.ChannelMembershipType
public ListChannelMembershipsRequest 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.
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.ChannelMembershipType
public ListChannelMembershipsRequest 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.
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.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 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 ListChannelMembershipsRequest 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 ListChannelMembershipsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()