@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchAgentStatusesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchAgentStatusesResult() |
Modifier and Type | Method and Description |
---|---|
SearchAgentStatusesResult |
clone() |
boolean |
equals(Object obj) |
List<AgentStatus> |
getAgentStatuses()
The search criteria to be used to return agent statuses.
|
Long |
getApproximateTotalCount()
The total number of agent statuses which matched your search query.
|
String |
getNextToken()
If there are additional results, this is the token for the next set of results.
|
int |
hashCode() |
void |
setAgentStatuses(Collection<AgentStatus> agentStatuses)
The search criteria to be used to return agent statuses.
|
void |
setApproximateTotalCount(Long approximateTotalCount)
The total number of agent statuses which matched your search query.
|
void |
setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
SearchAgentStatusesResult |
withAgentStatuses(AgentStatus... agentStatuses)
The search criteria to be used to return agent statuses.
|
SearchAgentStatusesResult |
withAgentStatuses(Collection<AgentStatus> agentStatuses)
The search criteria to be used to return agent statuses.
|
SearchAgentStatusesResult |
withApproximateTotalCount(Long approximateTotalCount)
The total number of agent statuses which matched your search query.
|
SearchAgentStatusesResult |
withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AgentStatus> getAgentStatuses()
The search criteria to be used to return agent statuses.
public void setAgentStatuses(Collection<AgentStatus> agentStatuses)
The search criteria to be used to return agent statuses.
agentStatuses
- The search criteria to be used to return agent statuses.public SearchAgentStatusesResult withAgentStatuses(AgentStatus... agentStatuses)
The search criteria to be used to return agent statuses.
NOTE: This method appends the values to the existing list (if any). Use
setAgentStatuses(java.util.Collection)
or withAgentStatuses(java.util.Collection)
if you want
to override the existing values.
agentStatuses
- The search criteria to be used to return agent statuses.public SearchAgentStatusesResult withAgentStatuses(Collection<AgentStatus> agentStatuses)
The search criteria to be used to return agent statuses.
agentStatuses
- The search criteria to be used to return agent statuses.public void setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String getNextToken()
If there are additional results, this is the token for the next set of results.
public SearchAgentStatusesResult withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public void setApproximateTotalCount(Long approximateTotalCount)
The total number of agent statuses which matched your search query.
approximateTotalCount
- The total number of agent statuses which matched your search query.public Long getApproximateTotalCount()
The total number of agent statuses which matched your search query.
public SearchAgentStatusesResult withApproximateTotalCount(Long approximateTotalCount)
The total number of agent statuses which matched your search query.
approximateTotalCount
- The total number of agent statuses which matched your search query.public String toString()
toString
in class Object
Object.toString()
public SearchAgentStatusesResult clone()