@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()
The token for the next page of results.
|
List<ServiceSummary> |
getServiceSummaryList()
The list of
ServiceSummary objects. |
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next page of results.
|
void |
setServiceSummaryList(Collection<ServiceSummary> serviceSummaryList)
The list of
ServiceSummary objects. |
String |
toString()
Returns a string representation of this object.
|
ListServicesResult |
withNextToken(String nextToken)
The token for the next page of results.
|
ListServicesResult |
withServiceSummaryList(Collection<ServiceSummary> serviceSummaryList)
The list of
ServiceSummary objects. |
ListServicesResult |
withServiceSummaryList(ServiceSummary... serviceSummaryList)
The list of
ServiceSummary objects. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public ListServicesResult withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public List<ServiceSummary> getServiceSummaryList()
The list of ServiceSummary
objects.
ServiceSummary
objects.public void setServiceSummaryList(Collection<ServiceSummary> serviceSummaryList)
The list of ServiceSummary
objects.
serviceSummaryList
- The list of ServiceSummary
objects.public ListServicesResult withServiceSummaryList(ServiceSummary... serviceSummaryList)
The list of ServiceSummary
objects.
NOTE: This method appends the values to the existing list (if any). Use
setServiceSummaryList(java.util.Collection)
or withServiceSummaryList(java.util.Collection)
if
you want to override the existing values.
serviceSummaryList
- The list of ServiceSummary
objects.public ListServicesResult withServiceSummaryList(Collection<ServiceSummary> serviceSummaryList)
The list of ServiceSummary
objects.
serviceSummaryList
- The list of ServiceSummary
objects.public String toString()
toString
in class Object
Object.toString()
public ListServicesResult clone()