public class ListApplicationsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a list applications operation.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
applications
A list of application names.
|
private java.lang.String |
nextToken
If a large amount of information is returned, an identifier is also
returned.
|
Constructor and Description |
---|
ListApplicationsResult() |
Modifier and Type | Method and Description |
---|---|
ListApplicationsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getApplications()
A list of application names.
|
java.lang.String |
getNextToken()
If a large amount of information is returned, an identifier is also
returned.
|
int |
hashCode() |
void |
setApplications(java.util.Collection<java.lang.String> applications)
A list of application names.
|
void |
setNextToken(java.lang.String nextToken)
If a large amount of information is returned, an identifier is also
returned.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListApplicationsResult |
withApplications(java.util.Collection<java.lang.String> applications)
A list of application names.
|
ListApplicationsResult |
withApplications(java.lang.String... applications)
A list of application names.
|
ListApplicationsResult |
withNextToken(java.lang.String nextToken)
If a large amount of information is returned, an identifier is also
returned.
|
private SdkInternalList<java.lang.String> applications
A list of application names.
private java.lang.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.
public java.util.List<java.lang.String> getApplications()
A list of application names.
public void setApplications(java.util.Collection<java.lang.String> applications)
A list of application names.
applications
- A list of application names.public ListApplicationsResult withApplications(java.lang.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(java.util.Collection<java.lang.String> applications)
A list of application names.
applications
- A list of application names.public void setNextToken(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListApplicationsResult clone()
clone
in class java.lang.Object