public class ListApplicationsResult extends Object implements Serializable, Cloneable
Represents the output of a list applications operation.
Constructor and Description |
---|
ListApplicationsResult() |
Modifier and Type | Method and Description |
---|---|
ListApplicationsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getApplications()
A list of application names.
|
String |
getNextToken()
If a large amount of information is returned, an identifier is also
returned.
|
int |
hashCode() |
void |
setApplications(Collection<String> applications)
A list of application names.
|
void |
setNextToken(String nextToken)
If a large amount of information is returned, an identifier is also
returned.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListApplicationsResult |
withApplications(Collection<String> applications)
A list of application names.
|
ListApplicationsResult |
withApplications(String... applications)
A list of application names.
|
ListApplicationsResult |
withNextToken(String nextToken)
If a large amount of information is returned, an identifier is also
returned.
|
public List<String> getApplications()
A list of application names.
public void setApplications(Collection<String> applications)
A list of application names.
applications
- A list of application names.public ListApplicationsResult withApplications(String... applications)
A list of application names.
NOTE: This method appends the values to the existing list (if
any). Use setApplications(java.util.Collection)
or
withApplications(java.util.Collection)
if you want to override
the existing values.
applications
- A list of application names.public ListApplicationsResult withApplications(Collection<String> applications)
A list of application names.
applications
- A list of application names.public void setNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list applications call to return the next set of applications, will also be returned. in the list.
nextToken
- If a large amount of information is returned, an identifier is
also returned. It can be used in a subsequent list applications
call to return the next set of applications, will also be
returned. in the list.public String getNextToken()
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list applications call to return the next set of applications, will also be returned. in the list.
public ListApplicationsResult withNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list applications call to return the next set of applications, will also be returned. in the list.
nextToken
- If a large amount of information is returned, an identifier is
also returned. It can be used in a subsequent list applications
call to return the next set of applications, will also be
returned. in the list.public String toString()
toString
in class Object
Object.toString()
public ListApplicationsResult clone()
Copyright © 2018. All rights reserved.