@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAppsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The result structure for an Amplify app list request.
Constructor and Description |
---|
ListAppsResult() |
Modifier and Type | Method and Description |
---|---|
ListAppsResult |
clone() |
boolean |
equals(Object obj) |
List<App> |
getApps()
A list of Amplify apps.
|
String |
getNextToken()
A pagination token.
|
int |
hashCode() |
void |
setApps(Collection<App> apps)
A list of Amplify apps.
|
void |
setNextToken(String nextToken)
A pagination token.
|
String |
toString()
Returns a string representation of this object.
|
ListAppsResult |
withApps(App... apps)
A list of Amplify apps.
|
ListAppsResult |
withApps(Collection<App> apps)
A list of Amplify apps.
|
ListAppsResult |
withNextToken(String nextToken)
A pagination token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setApps(Collection<App> apps)
A list of Amplify apps.
apps
- A list of Amplify apps.public ListAppsResult withApps(App... apps)
A list of Amplify apps.
NOTE: This method appends the values to the existing list (if any). Use
setApps(java.util.Collection)
or withApps(java.util.Collection)
if you want to override the
existing values.
apps
- A list of Amplify apps.public ListAppsResult withApps(Collection<App> apps)
A list of Amplify apps.
apps
- A list of Amplify apps.public void setNextToken(String nextToken)
A pagination token. Set to null to start listing apps from start. If non-null, the pagination token is returned in a result. Pass its value in here to list more projects.
nextToken
- A pagination token. Set to null to start listing apps from start. If non-null, the pagination token is
returned in a result. Pass its value in here to list more projects.public String getNextToken()
A pagination token. Set to null to start listing apps from start. If non-null, the pagination token is returned in a result. Pass its value in here to list more projects.
public ListAppsResult withNextToken(String nextToken)
A pagination token. Set to null to start listing apps from start. If non-null, the pagination token is returned in a result. Pass its value in here to list more projects.
nextToken
- A pagination token. Set to null to start listing apps from start. If non-null, the pagination token is
returned in a result. Pass its value in here to list more projects.public String toString()
toString
in class Object
Object.toString()
public ListAppsResult clone()