@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDocumentationVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The collection of documentation snapshots of an API.
Use the DocumentationVersions to manage documentation snapshots associated with various API stages.
Constructor and Description |
---|
GetDocumentationVersionsResult() |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPosition(String position)
position
- public String getPosition()
public GetDocumentationVersionsResult withPosition(String position)
position
- public List<DocumentationVersion> getItems()
The current page of DocumentationVersion items from the DocumentationVersions collection of an API.
public void setItems(Collection<DocumentationVersion> items)
The current page of DocumentationVersion items from the DocumentationVersions collection of an API.
items
- The current page of DocumentationVersion items from the DocumentationVersions collection of
an API.public GetDocumentationVersionsResult withItems(DocumentationVersion... items)
The current page of DocumentationVersion items from the DocumentationVersions collection of an API.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- The current page of DocumentationVersion items from the DocumentationVersions collection of
an API.public GetDocumentationVersionsResult withItems(Collection<DocumentationVersion> items)
The current page of DocumentationVersion items from the DocumentationVersions collection of an API.
items
- The current page of DocumentationVersion items from the DocumentationVersions collection of
an API.public String toString()
toString
in class Object
Object.toString()
public GetDocumentationVersionsResult clone()
Copyright © 2017. All rights reserved.