@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDeviceDefinitionVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| ListDeviceDefinitionVersionsResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| ListDeviceDefinitionVersionsResult | 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()Information about a version. | 
| 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)Information about a version. | 
| String | toString()Returns a string representation of this object. | 
| ListDeviceDefinitionVersionsResult | withNextToken(String nextToken)The token for the next set of results, or ''null'' if there are no additional results. | 
| ListDeviceDefinitionVersionsResult | withVersions(Collection<VersionInformation> versions)Information about a version. | 
| ListDeviceDefinitionVersionsResult | withVersions(VersionInformation... versions)Information about a version. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 ListDeviceDefinitionVersionsResult 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 - Information about a version.public ListDeviceDefinitionVersionsResult 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 - Information about a version.public ListDeviceDefinitionVersionsResult withVersions(Collection<VersionInformation> versions)
versions - Information about a version.public String toString()
toString in class ObjectObject.toString()public ListDeviceDefinitionVersionsResult clone()