@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListServiceInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListServiceInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
ListServiceInstancesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<ListServiceInstancesFilter> |
getFilters()
An array of filtering criteria that scope down the result list.
|
Integer |
getMaxResults()
The maximum number of service instances to list.
|
String |
getNextToken()
A token that indicates the location of the next service in the array of service instances, after the list of
service instances that was previously requested.
|
String |
getServiceName()
The name of the service that the service instance belongs to.
|
String |
getSortBy()
The field that the result list is sorted by.
|
String |
getSortOrder()
Result list sort order.
|
int |
hashCode() |
void |
setFilters(Collection<ListServiceInstancesFilter> filters)
An array of filtering criteria that scope down the result list.
|
void |
setMaxResults(Integer maxResults)
The maximum number of service instances to list.
|
void |
setNextToken(String nextToken)
A token that indicates the location of the next service in the array of service instances, after the list of
service instances that was previously requested.
|
void |
setServiceName(String serviceName)
The name of the service that the service instance belongs to.
|
void |
setSortBy(String sortBy)
The field that the result list is sorted by.
|
void |
setSortOrder(String sortOrder)
Result list sort order.
|
String |
toString()
Returns a string representation of this object.
|
ListServiceInstancesRequest |
withFilters(Collection<ListServiceInstancesFilter> filters)
An array of filtering criteria that scope down the result list.
|
ListServiceInstancesRequest |
withFilters(ListServiceInstancesFilter... filters)
An array of filtering criteria that scope down the result list.
|
ListServiceInstancesRequest |
withMaxResults(Integer maxResults)
The maximum number of service instances to list.
|
ListServiceInstancesRequest |
withNextToken(String nextToken)
A token that indicates the location of the next service in the array of service instances, after the list of
service instances that was previously requested.
|
ListServiceInstancesRequest |
withServiceName(String serviceName)
The name of the service that the service instance belongs to.
|
ListServiceInstancesRequest |
withSortBy(ListServiceInstancesSortBy sortBy)
The field that the result list is sorted by.
|
ListServiceInstancesRequest |
withSortBy(String sortBy)
The field that the result list is sorted by.
|
ListServiceInstancesRequest |
withSortOrder(SortOrder sortOrder)
Result list sort order.
|
ListServiceInstancesRequest |
withSortOrder(String sortOrder)
Result list sort 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, withSdkRequestTimeout
public List<ListServiceInstancesFilter> getFilters()
An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.
public void setFilters(Collection<ListServiceInstancesFilter> filters)
An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.
filters
- An array of filtering criteria that scope down the result list. By default, all service instances in the
Amazon Web Services account are returned.public ListServiceInstancesRequest withFilters(ListServiceInstancesFilter... filters)
An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- An array of filtering criteria that scope down the result list. By default, all service instances in the
Amazon Web Services account are returned.public ListServiceInstancesRequest withFilters(Collection<ListServiceInstancesFilter> filters)
An array of filtering criteria that scope down the result list. By default, all service instances in the Amazon Web Services account are returned.
filters
- An array of filtering criteria that scope down the result list. By default, all service instances in the
Amazon Web Services account are returned.public void setMaxResults(Integer maxResults)
The maximum number of service instances to list.
maxResults
- The maximum number of service instances to list.public Integer getMaxResults()
The maximum number of service instances to list.
public ListServiceInstancesRequest withMaxResults(Integer maxResults)
The maximum number of service instances to list.
maxResults
- The maximum number of service instances to list.public void setNextToken(String nextToken)
A token that indicates the location of the next service in the array of service instances, after the list of service instances that was previously requested.
nextToken
- A token that indicates the location of the next service in the array of service instances, after the list
of service instances that was previously requested.public String getNextToken()
A token that indicates the location of the next service in the array of service instances, after the list of service instances that was previously requested.
public ListServiceInstancesRequest withNextToken(String nextToken)
A token that indicates the location of the next service in the array of service instances, after the list of service instances that was previously requested.
nextToken
- A token that indicates the location of the next service in the array of service instances, after the list
of service instances that was previously requested.public void setServiceName(String serviceName)
The name of the service that the service instance belongs to.
serviceName
- The name of the service that the service instance belongs to.public String getServiceName()
The name of the service that the service instance belongs to.
public ListServiceInstancesRequest withServiceName(String serviceName)
The name of the service that the service instance belongs to.
serviceName
- The name of the service that the service instance belongs to.public void setSortBy(String sortBy)
The field that the result list is sorted by.
When you choose to sort by serviceName
, service instances within each service are sorted by service
instance name.
Default: serviceName
sortBy
- The field that the result list is sorted by.
When you choose to sort by serviceName
, service instances within each service are sorted by
service instance name.
Default: serviceName
ListServiceInstancesSortBy
public String getSortBy()
The field that the result list is sorted by.
When you choose to sort by serviceName
, service instances within each service are sorted by service
instance name.
Default: serviceName
When you choose to sort by serviceName
, service instances within each service are sorted by
service instance name.
Default: serviceName
ListServiceInstancesSortBy
public ListServiceInstancesRequest withSortBy(String sortBy)
The field that the result list is sorted by.
When you choose to sort by serviceName
, service instances within each service are sorted by service
instance name.
Default: serviceName
sortBy
- The field that the result list is sorted by.
When you choose to sort by serviceName
, service instances within each service are sorted by
service instance name.
Default: serviceName
ListServiceInstancesSortBy
public ListServiceInstancesRequest withSortBy(ListServiceInstancesSortBy sortBy)
The field that the result list is sorted by.
When you choose to sort by serviceName
, service instances within each service are sorted by service
instance name.
Default: serviceName
sortBy
- The field that the result list is sorted by.
When you choose to sort by serviceName
, service instances within each service are sorted by
service instance name.
Default: serviceName
ListServiceInstancesSortBy
public void setSortOrder(String sortOrder)
Result list sort order.
Default: ASCENDING
sortOrder
- Result list sort order.
Default: ASCENDING
SortOrder
public String getSortOrder()
Result list sort order.
Default: ASCENDING
Default: ASCENDING
SortOrder
public ListServiceInstancesRequest withSortOrder(String sortOrder)
Result list sort order.
Default: ASCENDING
sortOrder
- Result list sort order.
Default: ASCENDING
SortOrder
public ListServiceInstancesRequest withSortOrder(SortOrder sortOrder)
Result list sort order.
Default: ASCENDING
sortOrder
- Result list sort order.
Default: ASCENDING
SortOrder
public String toString()
toString
in class Object
Object.toString()
public ListServiceInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()