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 the amount of information that is returned is significantly large, an
identifier will also be returned, which can be used in a subsequent list
applications call to return the next set of applications in the list.
|
int |
hashCode() |
void |
setApplications(Collection<String> applications)
A list of application names.
|
void |
setNextToken(String nextToken)
If the amount of information that is returned is significantly large, an
identifier will also be returned, which can be used in a subsequent list
applications call to return the next set of applications in the list.
|
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 the amount of information that is returned is significantly large, an
identifier will also be returned, which can be used in a subsequent list
applications call to return the next set of applications in the list.
|
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 the amount of information that is returned is significantly large, an identifier will also be returned, which can be used in a subsequent list applications call to return the next set of applications in the list.
nextToken
- If the amount of information that is returned is significantly
large, an identifier will also be returned, which can be used in a
subsequent list applications call to return the next set of
applications in the list.public String getNextToken()
If the amount of information that is returned is significantly large, an identifier will also be returned, which can be used in a subsequent list applications call to return the next set of applications in the list.
public ListApplicationsResult withNextToken(String nextToken)
If the amount of information that is returned is significantly large, an identifier will also be returned, which can be used in a subsequent list applications call to return the next set of applications in the list.
nextToken
- If the amount of information that is returned is significantly
large, an identifier will also be returned, which can be used in a
subsequent list applications call to return the next set of
applications in the list.public String toString()
toString
in class Object
Object.toString()
public ListApplicationsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.