@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListServiceVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListServiceVersionsResult() |
Modifier and Type | Method and Description |
---|---|
ListServiceVersionsResult |
clone() |
boolean |
equals(Object obj) |
List<DependentService> |
getDependentServices()
A list of names and versions of dependant services of the service for which the system provided supported
versions.
|
String |
getNextToken()
Because HTTP requests are stateless, this is the starting point of the next list of returned
ListServiceVersionsResult results. |
String |
getServiceName()
The name of the service for which the system provided supported versions.
|
List<ServiceVersion> |
getServiceVersions()
A list of supported versions.
|
int |
hashCode() |
void |
setDependentServices(Collection<DependentService> dependentServices)
A list of names and versions of dependant services of the service for which the system provided supported
versions.
|
void |
setNextToken(String nextToken)
Because HTTP requests are stateless, this is the starting point of the next list of returned
ListServiceVersionsResult results. |
void |
setServiceName(String serviceName)
The name of the service for which the system provided supported versions.
|
void |
setServiceVersions(Collection<ServiceVersion> serviceVersions)
A list of supported versions.
|
String |
toString()
Returns a string representation of this object.
|
ListServiceVersionsResult |
withDependentServices(Collection<DependentService> dependentServices)
A list of names and versions of dependant services of the service for which the system provided supported
versions.
|
ListServiceVersionsResult |
withDependentServices(DependentService... dependentServices)
A list of names and versions of dependant services of the service for which the system provided supported
versions.
|
ListServiceVersionsResult |
withNextToken(String nextToken)
Because HTTP requests are stateless, this is the starting point of the next list of returned
ListServiceVersionsResult results. |
ListServiceVersionsResult |
withServiceName(ServiceName serviceName)
The name of the service for which the system provided supported versions.
|
ListServiceVersionsResult |
withServiceName(String serviceName)
The name of the service for which the system provided supported versions.
|
ListServiceVersionsResult |
withServiceVersions(Collection<ServiceVersion> serviceVersions)
A list of supported versions.
|
ListServiceVersionsResult |
withServiceVersions(ServiceVersion... serviceVersions)
A list of supported versions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ServiceVersion> getServiceVersions()
A list of supported versions.
public void setServiceVersions(Collection<ServiceVersion> serviceVersions)
A list of supported versions.
serviceVersions
- A list of supported versions.public ListServiceVersionsResult withServiceVersions(ServiceVersion... serviceVersions)
A list of supported versions.
NOTE: This method appends the values to the existing list (if any). Use
setServiceVersions(java.util.Collection)
or withServiceVersions(java.util.Collection)
if you
want to override the existing values.
serviceVersions
- A list of supported versions.public ListServiceVersionsResult withServiceVersions(Collection<ServiceVersion> serviceVersions)
A list of supported versions.
serviceVersions
- A list of supported versions.public void setServiceName(String serviceName)
The name of the service for which the system provided supported versions.
serviceName
- The name of the service for which the system provided supported versions.ServiceName
public String getServiceName()
The name of the service for which the system provided supported versions.
ServiceName
public ListServiceVersionsResult withServiceName(String serviceName)
The name of the service for which the system provided supported versions.
serviceName
- The name of the service for which the system provided supported versions.ServiceName
public ListServiceVersionsResult withServiceName(ServiceName serviceName)
The name of the service for which the system provided supported versions.
serviceName
- The name of the service for which the system provided supported versions.ServiceName
public List<DependentService> getDependentServices()
A list of names and versions of dependant services of the service for which the system provided supported versions.
public void setDependentServices(Collection<DependentService> dependentServices)
A list of names and versions of dependant services of the service for which the system provided supported versions.
dependentServices
- A list of names and versions of dependant services of the service for which the system provided supported
versions.public ListServiceVersionsResult withDependentServices(DependentService... dependentServices)
A list of names and versions of dependant services of the service for which the system provided supported versions.
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 service for which the system provided supported
versions.public ListServiceVersionsResult withDependentServices(Collection<DependentService> dependentServices)
A list of names and versions of dependant services of the service for which the system provided supported versions.
dependentServices
- A list of names and versions of dependant services of the service for which the system provided supported
versions.public void setNextToken(String nextToken)
Because HTTP requests are stateless, this is the starting point of the next list of returned
ListServiceVersionsResult
results.
nextToken
- Because HTTP requests are stateless, this is the starting point of the next list of returned
ListServiceVersionsResult
results.public String getNextToken()
Because HTTP requests are stateless, this is the starting point of the next list of returned
ListServiceVersionsResult
results.
ListServiceVersionsResult
results.public ListServiceVersionsResult withNextToken(String nextToken)
Because HTTP requests are stateless, this is the starting point of the next list of returned
ListServiceVersionsResult
results.
nextToken
- Because HTTP requests are stateless, this is the starting point of the next list of returned
ListServiceVersionsResult
results.public String toString()
toString
in class Object
Object.toString()
public ListServiceVersionsResult clone()