@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAgentStatusesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAgentStatusesRequest() |
Modifier and Type | Method and Description |
---|---|
ListAgentStatusesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAgentStatusTypes()
Available agent status types.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
Integer |
getMaxResults()
The maximum number of results to return per page.
|
String |
getNextToken()
The token for the next set of results.
|
int |
hashCode() |
void |
setAgentStatusTypes(Collection<String> agentStatusTypes)
Available agent status types.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListAgentStatusesRequest |
withAgentStatusTypes(AgentStatusType... agentStatusTypes)
Available agent status types.
|
ListAgentStatusesRequest |
withAgentStatusTypes(Collection<String> agentStatusTypes)
Available agent status types.
|
ListAgentStatusesRequest |
withAgentStatusTypes(String... agentStatusTypes)
Available agent status types.
|
ListAgentStatusesRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
ListAgentStatusesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
ListAgentStatusesRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
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 setInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public ListAgentStatusesRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public void setNextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request
to retrieve the next set of results.public String getNextToken()
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public ListAgentStatusesRequest withNextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request
to retrieve the next set of results.public void setMaxResults(Integer maxResults)
The maximum number of results to return per page.
maxResults
- The maximum number of results to return per page.public Integer getMaxResults()
The maximum number of results to return per page.
public ListAgentStatusesRequest withMaxResults(Integer maxResults)
The maximum number of results to return per page.
maxResults
- The maximum number of results to return per page.public List<String> getAgentStatusTypes()
Available agent status types.
AgentStatusType
public void setAgentStatusTypes(Collection<String> agentStatusTypes)
Available agent status types.
agentStatusTypes
- Available agent status types.AgentStatusType
public ListAgentStatusesRequest withAgentStatusTypes(String... agentStatusTypes)
Available agent status types.
NOTE: This method appends the values to the existing list (if any). Use
setAgentStatusTypes(java.util.Collection)
or withAgentStatusTypes(java.util.Collection)
if you
want to override the existing values.
agentStatusTypes
- Available agent status types.AgentStatusType
public ListAgentStatusesRequest withAgentStatusTypes(Collection<String> agentStatusTypes)
Available agent status types.
agentStatusTypes
- Available agent status types.AgentStatusType
public ListAgentStatusesRequest withAgentStatusTypes(AgentStatusType... agentStatusTypes)
Available agent status types.
agentStatusTypes
- Available agent status types.AgentStatusType
public String toString()
toString
in class Object
Object.toString()
public ListAgentStatusesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()