@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListServiceVersionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListServiceVersionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListServiceVersionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<DependentService> |
getDependentServices()
A list of names and versions of dependant services of the requested service.
|
Integer |
getMaxResults()
The maximum number of
ListServiceVersions objects to return. |
String |
getNextToken()
Because HTTP requests are stateless, this is the starting point for the next list of returned
ListServiceVersionsRequest versions. |
String |
getServiceName()
The name of the service for which you're requesting supported versions.
|
int |
hashCode() |
void |
setDependentServices(Collection<DependentService> dependentServices)
A list of names and versions of dependant services of the requested service.
|
void |
setMaxResults(Integer maxResults)
The maximum number of
ListServiceVersions objects to return. |
void |
setNextToken(String nextToken)
Because HTTP requests are stateless, this is the starting point for the next list of returned
ListServiceVersionsRequest versions. |
void |
setServiceName(String serviceName)
The name of the service for which you're requesting supported versions.
|
String |
toString()
Returns a string representation of this object.
|
ListServiceVersionsRequest |
withDependentServices(Collection<DependentService> dependentServices)
A list of names and versions of dependant services of the requested service.
|
ListServiceVersionsRequest |
withDependentServices(DependentService... dependentServices)
A list of names and versions of dependant services of the requested service.
|
ListServiceVersionsRequest |
withMaxResults(Integer maxResults)
The maximum number of
ListServiceVersions objects to return. |
ListServiceVersionsRequest |
withNextToken(String nextToken)
Because HTTP requests are stateless, this is the starting point for the next list of returned
ListServiceVersionsRequest versions. |
ListServiceVersionsRequest |
withServiceName(ServiceName serviceName)
The name of the service for which you're requesting supported versions.
|
ListServiceVersionsRequest |
withServiceName(String serviceName)
The name of the service for which you're requesting supported versions.
|
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 setServiceName(String serviceName)
The name of the service for which you're requesting supported versions.
serviceName
- The name of the service for which you're requesting supported versions.ServiceName
public String getServiceName()
The name of the service for which you're requesting supported versions.
ServiceName
public ListServiceVersionsRequest withServiceName(String serviceName)
The name of the service for which you're requesting supported versions.
serviceName
- The name of the service for which you're requesting supported versions.ServiceName
public ListServiceVersionsRequest withServiceName(ServiceName serviceName)
The name of the service for which you're requesting supported versions.
serviceName
- The name of the service for which you're requesting supported versions.ServiceName
public List<DependentService> getDependentServices()
A list of names and versions of dependant services of the requested service.
public void setDependentServices(Collection<DependentService> dependentServices)
A list of names and versions of dependant services of the requested service.
dependentServices
- A list of names and versions of dependant services of the requested service.public ListServiceVersionsRequest withDependentServices(DependentService... dependentServices)
A list of names and versions of dependant services of the requested service.
NOTE: This method appends the values to the existing list (if any). Use
setDependentServices(java.util.Collection)
or withDependentServices(java.util.Collection)
if
you want to override the existing values.
dependentServices
- A list of names and versions of dependant services of the requested service.public ListServiceVersionsRequest withDependentServices(Collection<DependentService> dependentServices)
A list of names and versions of dependant services of the requested service.
dependentServices
- A list of names and versions of dependant services of the requested service.public void setMaxResults(Integer maxResults)
The maximum number of ListServiceVersions
objects to return.
maxResults
- The maximum number of ListServiceVersions
objects to return.public Integer getMaxResults()
The maximum number of ListServiceVersions
objects to return.
ListServiceVersions
objects to return.public ListServiceVersionsRequest withMaxResults(Integer maxResults)
The maximum number of ListServiceVersions
objects to return.
maxResults
- The maximum number of ListServiceVersions
objects to return.public void setNextToken(String nextToken)
Because HTTP requests are stateless, this is the starting point for the next list of returned
ListServiceVersionsRequest
versions.
nextToken
- Because HTTP requests are stateless, this is the starting point for the next list of returned
ListServiceVersionsRequest
versions.public String getNextToken()
Because HTTP requests are stateless, this is the starting point for the next list of returned
ListServiceVersionsRequest
versions.
ListServiceVersionsRequest
versions.public ListServiceVersionsRequest withNextToken(String nextToken)
Because HTTP requests are stateless, this is the starting point for the next list of returned
ListServiceVersionsRequest
versions.
nextToken
- Because HTTP requests are stateless, this is the starting point for the next list of returned
ListServiceVersionsRequest
versions.public String toString()
toString
in class Object
Object.toString()
public ListServiceVersionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()