@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) |
List<ServiceSummary> |
getItems()
Information about the services.
|
String |
getNextToken()
If there are additional results, a pagination token for the next page of results.
|
int |
hashCode() |
void |
setItems(Collection<ServiceSummary> items)
Information about the services.
|
void |
setNextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListServicesResult |
withItems(Collection<ServiceSummary> items)
Information about the services.
|
ListServicesResult |
withItems(ServiceSummary... items)
Information about the services.
|
ListServicesResult |
withNextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ServiceSummary> getItems()
Information about the services.
public void setItems(Collection<ServiceSummary> items)
Information about the services.
items
- Information about the services.public ListServicesResult withItems(ServiceSummary... items)
Information about the services.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- Information about the services.public ListServicesResult withItems(Collection<ServiceSummary> items)
Information about the services.
items
- Information about the services.public void setNextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
nextToken
- If there are additional results, a pagination token for the next page of results.public String getNextToken()
If there are additional results, a pagination token for the next page of results.
public ListServicesResult withNextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
nextToken
- If there are additional results, a pagination token for the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListServicesResult clone()