@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListServicesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListServicesResult() |
Modifier and Type | Method and Description |
---|---|
ListServicesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If present, indicates that more output is available than is included in the current response.
|
List<ServiceInfo> |
getServices()
The list of the Amazon Web Service names and service codes.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If present, indicates that more output is available than is included in the current response.
|
void |
setServices(Collection<ServiceInfo> services)
The list of the Amazon Web Service names and service codes.
|
String |
toString()
Returns a string representation of this object.
|
ListServicesResult |
withNextToken(String nextToken)
If present, indicates that more output is available than is included in the current response.
|
ListServicesResult |
withServices(Collection<ServiceInfo> services)
The list of the Amazon Web Service names and service codes.
|
ListServicesResult |
withServices(ServiceInfo... services)
The list of the Amazon Web Service names and service codes.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
If present, indicates that more output is available than is included in the current response. Use this value in
the NextToken
request parameter in a subsequent call to the operation to get the next part of the
output. You should repeat this until the NextToken
response element comes back as null
.
nextToken
- If present, indicates that more output is available than is included in the current response. Use this
value in the NextToken
request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken
response element comes
back as null
.public String getNextToken()
If present, indicates that more output is available than is included in the current response. Use this value in
the NextToken
request parameter in a subsequent call to the operation to get the next part of the
output. You should repeat this until the NextToken
response element comes back as null
.
NextToken
request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken
response element comes
back as null
.public ListServicesResult withNextToken(String nextToken)
If present, indicates that more output is available than is included in the current response. Use this value in
the NextToken
request parameter in a subsequent call to the operation to get the next part of the
output. You should repeat this until the NextToken
response element comes back as null
.
nextToken
- If present, indicates that more output is available than is included in the current response. Use this
value in the NextToken
request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken
response element comes
back as null
.public List<ServiceInfo> getServices()
The list of the Amazon Web Service names and service codes.
public void setServices(Collection<ServiceInfo> services)
The list of the Amazon Web Service names and service codes.
services
- The list of the Amazon Web Service names and service codes.public ListServicesResult withServices(ServiceInfo... services)
The list of the Amazon Web Service names and service codes.
NOTE: This method appends the values to the existing list (if any). Use
setServices(java.util.Collection)
or withServices(java.util.Collection)
if you want to override
the existing values.
services
- The list of the Amazon Web Service names and service codes.public ListServicesResult withServices(Collection<ServiceInfo> services)
The list of the Amazon Web Service names and service codes.
services
- The list of the Amazon Web Service names and service codes.public String toString()
toString
in class Object
Object.toString()
public ListServicesResult clone()