@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListServersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
ListServersRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
ListServersRequest | 
clone()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
String | 
getFilterValue()
 Specifies the filter value, which is based on the type of server criteria. 
 | 
List<Group> | 
getGroupIdFilter()
 Specifies the group ID to filter on. 
 | 
Integer | 
getMaxResults()
 The maximum number of items to include in the response. 
 | 
String | 
getNextToken()
 The token from a previous call that you use to retrieve the next set of results. 
 | 
String | 
getServerCriteria()
 Criteria for filtering servers. 
 | 
String | 
getSort()
 Specifies whether to sort by ascending ( 
ASC) or descending (DESC) order. | 
int | 
hashCode()  | 
void | 
setFilterValue(String filterValue)
 Specifies the filter value, which is based on the type of server criteria. 
 | 
void | 
setGroupIdFilter(Collection<Group> groupIdFilter)
 Specifies the group ID to filter on. 
 | 
void | 
setMaxResults(Integer maxResults)
 The maximum number of items to include in the response. 
 | 
void | 
setNextToken(String nextToken)
 The token from a previous call that you use to retrieve the next set of results. 
 | 
void | 
setServerCriteria(String serverCriteria)
 Criteria for filtering servers. 
 | 
void | 
setSort(String sort)
 Specifies whether to sort by ascending ( 
ASC) or descending (DESC) order. | 
String | 
toString()
Returns a string representation of this object. 
 | 
ListServersRequest | 
withFilterValue(String filterValue)
 Specifies the filter value, which is based on the type of server criteria. 
 | 
ListServersRequest | 
withGroupIdFilter(Collection<Group> groupIdFilter)
 Specifies the group ID to filter on. 
 | 
ListServersRequest | 
withGroupIdFilter(Group... groupIdFilter)
 Specifies the group ID to filter on. 
 | 
ListServersRequest | 
withMaxResults(Integer maxResults)
 The maximum number of items to include in the response. 
 | 
ListServersRequest | 
withNextToken(String nextToken)
 The token from a previous call that you use to retrieve the next set of results. 
 | 
ListServersRequest | 
withServerCriteria(ServerCriteria serverCriteria)
 Criteria for filtering servers. 
 | 
ListServersRequest | 
withServerCriteria(String serverCriteria)
 Criteria for filtering servers. 
 | 
ListServersRequest | 
withSort(SortOrder sort)
 Specifies whether to sort by ascending ( 
ASC) or descending (DESC) order. | 
ListServersRequest | 
withSort(String sort)
 Specifies whether to sort by ascending ( 
ASC) or descending (DESC) order. | 
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, withSdkRequestTimeoutpublic void setFilterValue(String filterValue)
 Specifies the filter value, which is based on the type of server criteria. For example, if
 serverCriteria is OS_NAME, and the filterValue is equal to
 WindowsServer, then ListServers returns all of the servers matching the OS name
 WindowsServer.
 
filterValue - Specifies the filter value, which is based on the type of server criteria. For example, if
        serverCriteria is OS_NAME, and the filterValue is equal to
        WindowsServer, then ListServers returns all of the servers matching the OS name
        WindowsServer.public String getFilterValue()
 Specifies the filter value, which is based on the type of server criteria. For example, if
 serverCriteria is OS_NAME, and the filterValue is equal to
 WindowsServer, then ListServers returns all of the servers matching the OS name
 WindowsServer.
 
serverCriteria is OS_NAME, and the filterValue is equal to
         WindowsServer, then ListServers returns all of the servers matching the OS name
         WindowsServer.public ListServersRequest withFilterValue(String filterValue)
 Specifies the filter value, which is based on the type of server criteria. For example, if
 serverCriteria is OS_NAME, and the filterValue is equal to
 WindowsServer, then ListServers returns all of the servers matching the OS name
 WindowsServer.
 
filterValue - Specifies the filter value, which is based on the type of server criteria. For example, if
        serverCriteria is OS_NAME, and the filterValue is equal to
        WindowsServer, then ListServers returns all of the servers matching the OS name
        WindowsServer.public List<Group> getGroupIdFilter()
Specifies the group ID to filter on.
public void setGroupIdFilter(Collection<Group> groupIdFilter)
Specifies the group ID to filter on.
groupIdFilter - Specifies the group ID to filter on.public ListServersRequest withGroupIdFilter(Group... groupIdFilter)
Specifies the group ID to filter on.
 NOTE: This method appends the values to the existing list (if any). Use
 setGroupIdFilter(java.util.Collection) or withGroupIdFilter(java.util.Collection) if you want
 to override the existing values.
 
groupIdFilter - Specifies the group ID to filter on.public ListServersRequest withGroupIdFilter(Collection<Group> groupIdFilter)
Specifies the group ID to filter on.
groupIdFilter - Specifies the group ID to filter on.public void setMaxResults(Integer maxResults)
The maximum number of items to include in the response. The maximum value is 100.
maxResults - The maximum number of items to include in the response. The maximum value is 100.public Integer getMaxResults()
The maximum number of items to include in the response. The maximum value is 100.
public ListServersRequest withMaxResults(Integer maxResults)
The maximum number of items to include in the response. The maximum value is 100.
maxResults - The maximum number of items to include in the response. The maximum value is 100.public void setNextToken(String nextToken)
 The token from a previous call that you use to retrieve the next set of results. For example, if a previous call
 to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results
 along with a token. You then use the returned token to retrieve the next set of 10.
 
nextToken - The token from a previous call that you use to retrieve the next set of results. For example, if a
        previous call to this action returned 100 items, but you set maxResults to 10. You'll receive
        a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.public String getNextToken()
 The token from a previous call that you use to retrieve the next set of results. For example, if a previous call
 to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results
 along with a token. You then use the returned token to retrieve the next set of 10.
 
maxResults to 10. You'll
         receive a set of 10 results along with a token. You then use the returned token to retrieve the next set
         of 10.public ListServersRequest withNextToken(String nextToken)
 The token from a previous call that you use to retrieve the next set of results. For example, if a previous call
 to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results
 along with a token. You then use the returned token to retrieve the next set of 10.
 
nextToken - The token from a previous call that you use to retrieve the next set of results. For example, if a
        previous call to this action returned 100 items, but you set maxResults to 10. You'll receive
        a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.public void setServerCriteria(String serverCriteria)
Criteria for filtering servers.
serverCriteria - Criteria for filtering servers.ServerCriteriapublic String getServerCriteria()
Criteria for filtering servers.
ServerCriteriapublic ListServersRequest withServerCriteria(String serverCriteria)
Criteria for filtering servers.
serverCriteria - Criteria for filtering servers.ServerCriteriapublic ListServersRequest withServerCriteria(ServerCriteria serverCriteria)
Criteria for filtering servers.
serverCriteria - Criteria for filtering servers.ServerCriteriapublic void setSort(String sort)
 Specifies whether to sort by ascending (ASC) or descending (DESC) order.
 
sort - Specifies whether to sort by ascending (ASC) or descending (DESC) order.SortOrderpublic String getSort()
 Specifies whether to sort by ascending (ASC) or descending (DESC) order.
 
ASC) or descending (DESC) order.SortOrderpublic ListServersRequest withSort(String sort)
 Specifies whether to sort by ascending (ASC) or descending (DESC) order.
 
sort - Specifies whether to sort by ascending (ASC) or descending (DESC) order.SortOrderpublic ListServersRequest withSort(SortOrder sort)
 Specifies whether to sort by ascending (ASC) or descending (DESC) order.
 
sort - Specifies whether to sort by ascending (ASC) or descending (DESC) order.SortOrderpublic String toString()
toString in class ObjectObject.toString()public ListServersRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()