@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListChannelsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListChannelsRequest() |
Modifier and Type | Method and Description |
---|---|
ListChannelsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAppInstanceArn()
The ARN of the
AppInstance . |
String |
getChimeBearer()
The ARN of the
AppInstanceUser or AppInstanceBot that makes the API call. |
Integer |
getMaxResults()
The maximum number of channels that you want to return.
|
String |
getNextToken()
The token passed by previous API calls until all requested channels are returned.
|
String |
getPrivacy()
The privacy setting.
|
int |
hashCode() |
void |
setAppInstanceArn(String appInstanceArn)
The ARN of the
AppInstance . |
void |
setChimeBearer(String chimeBearer)
The ARN of the
AppInstanceUser or AppInstanceBot that makes the API call. |
void |
setMaxResults(Integer maxResults)
The maximum number of channels that you want to return.
|
void |
setNextToken(String nextToken)
The token passed by previous API calls until all requested channels are returned.
|
void |
setPrivacy(String privacy)
The privacy setting.
|
String |
toString()
Returns a string representation of this object.
|
ListChannelsRequest |
withAppInstanceArn(String appInstanceArn)
The ARN of the
AppInstance . |
ListChannelsRequest |
withChimeBearer(String chimeBearer)
The ARN of the
AppInstanceUser or AppInstanceBot that makes the API call. |
ListChannelsRequest |
withMaxResults(Integer maxResults)
The maximum number of channels that you want to return.
|
ListChannelsRequest |
withNextToken(String nextToken)
The token passed by previous API calls until all requested channels are returned.
|
ListChannelsRequest |
withPrivacy(ChannelPrivacy privacy)
The privacy setting.
|
ListChannelsRequest |
withPrivacy(String privacy)
The privacy setting.
|
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 setAppInstanceArn(String appInstanceArn)
The ARN of the AppInstance
.
appInstanceArn
- The ARN of the AppInstance
.public String getAppInstanceArn()
The ARN of the AppInstance
.
AppInstance
.public ListChannelsRequest withAppInstanceArn(String appInstanceArn)
The ARN of the AppInstance
.
appInstanceArn
- The ARN of the AppInstance
.public void setPrivacy(String privacy)
The privacy setting. PUBLIC
retrieves all the public channels. PRIVATE
retrieves
private channels. Only an AppInstanceAdmin
can retrieve private channels.
privacy
- The privacy setting. PUBLIC
retrieves all the public channels. PRIVATE
retrieves
private channels. Only an AppInstanceAdmin
can retrieve private channels.ChannelPrivacy
public String getPrivacy()
The privacy setting. PUBLIC
retrieves all the public channels. PRIVATE
retrieves
private channels. Only an AppInstanceAdmin
can retrieve private channels.
PUBLIC
retrieves all the public channels. PRIVATE
retrieves private channels. Only an AppInstanceAdmin
can retrieve private channels.ChannelPrivacy
public ListChannelsRequest withPrivacy(String privacy)
The privacy setting. PUBLIC
retrieves all the public channels. PRIVATE
retrieves
private channels. Only an AppInstanceAdmin
can retrieve private channels.
privacy
- The privacy setting. PUBLIC
retrieves all the public channels. PRIVATE
retrieves
private channels. Only an AppInstanceAdmin
can retrieve private channels.ChannelPrivacy
public ListChannelsRequest withPrivacy(ChannelPrivacy privacy)
The privacy setting. PUBLIC
retrieves all the public channels. PRIVATE
retrieves
private channels. Only an AppInstanceAdmin
can retrieve private channels.
privacy
- The privacy setting. PUBLIC
retrieves all the public channels. PRIVATE
retrieves
private channels. Only an AppInstanceAdmin
can retrieve private channels.ChannelPrivacy
public void setMaxResults(Integer maxResults)
The maximum number of channels that you want to return.
maxResults
- The maximum number of channels that you want to return.public Integer getMaxResults()
The maximum number of channels that you want to return.
public ListChannelsRequest withMaxResults(Integer maxResults)
The maximum number of channels that you want to return.
maxResults
- The maximum number of channels that you want to return.public void setNextToken(String nextToken)
The token passed by previous API calls until all requested channels are returned.
nextToken
- The token passed by previous API calls until all requested channels are returned.public String getNextToken()
The token passed by previous API calls until all requested channels are returned.
public ListChannelsRequest withNextToken(String nextToken)
The token passed by previous API calls until all requested channels are returned.
nextToken
- The token passed by previous API calls until all requested channels 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 ListChannelsRequest 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 String toString()
toString
in class Object
Object.toString()
public ListChannelsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()