@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) |
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.
|
int |
hashCode() |
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.
|
String |
toString()
Returns a string representation of this object.
|
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.
|
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 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 String toString()
toString
in class Object
Object.toString()
public ListServiceInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()