@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListApplicationVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListApplicationVersionsResult() |
Modifier and Type | Method and Description |
---|---|
ListApplicationVersionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to request the next page of results.
|
List<VersionSummary> |
getVersions()
An array of version summaries for the application.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to request the next page of results.
|
void |
setVersions(Collection<VersionSummary> versions)
An array of version summaries for the application.
|
String |
toString()
Returns a string representation of this object.
|
ListApplicationVersionsResult |
withNextToken(String nextToken)
The token to request the next page of results.
|
ListApplicationVersionsResult |
withVersions(Collection<VersionSummary> versions)
An array of version summaries for the application.
|
ListApplicationVersionsResult |
withVersions(VersionSummary... versions)
An array of version summaries for the application.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token to request the next page of results.
nextToken
- The token to request the next page of results.public String getNextToken()
The token to request the next page of results.
public ListApplicationVersionsResult withNextToken(String nextToken)
The token to request the next page of results.
nextToken
- The token to request the next page of results.public List<VersionSummary> getVersions()
An array of version summaries for the application.
public void setVersions(Collection<VersionSummary> versions)
An array of version summaries for the application.
versions
- An array of version summaries for the application.public ListApplicationVersionsResult withVersions(VersionSummary... versions)
An array of version summaries for the application.
NOTE: This method appends the values to the existing list (if any). Use
setVersions(java.util.Collection)
or withVersions(java.util.Collection)
if you want to override
the existing values.
versions
- An array of version summaries for the application.public ListApplicationVersionsResult withVersions(Collection<VersionSummary> versions)
An array of version summaries for the application.
versions
- An array of version summaries for the application.public String toString()
toString
in class Object
Object.toString()
public ListApplicationVersionsResult clone()