@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSubscriptionDefinitionVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSubscriptionDefinitionVersionsResult() |
Modifier and Type | Method and Description |
---|---|
ListSubscriptionDefinitionVersionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next set of results, or ''null'' if there are no additional results.
|
List<VersionInformation> |
getVersions()
Versions
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of results, or ''null'' if there are no additional results.
|
void |
setVersions(Collection<VersionInformation> versions)
Versions
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListSubscriptionDefinitionVersionsResult |
withNextToken(String nextToken)
The token for the next set of results, or ''null'' if there are no additional results.
|
ListSubscriptionDefinitionVersionsResult |
withVersions(Collection<VersionInformation> versions)
Versions
|
ListSubscriptionDefinitionVersionsResult |
withVersions(VersionInformation... versions)
Versions
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListSubscriptionDefinitionVersionsResult()
public void setNextToken(String nextToken)
nextToken
- The token for the next set of results, or ''null'' if there are no additional results.public String getNextToken()
public ListSubscriptionDefinitionVersionsResult withNextToken(String nextToken)
nextToken
- The token for the next set of results, or ''null'' if there are no additional results.public List<VersionInformation> getVersions()
public void setVersions(Collection<VersionInformation> versions)
versions
- Versionspublic ListSubscriptionDefinitionVersionsResult withVersions(VersionInformation... versions)
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
- Versionspublic ListSubscriptionDefinitionVersionsResult withVersions(Collection<VersionInformation> versions)
versions
- Versionspublic String toString()
toString
in class Object
Object.toString()
public ListSubscriptionDefinitionVersionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.