public class GetDocumentStreamResult extends Object implements Closeable
| Constructor and Description | 
|---|
| GetDocumentStreamResult(GetDocumentStreamRequest request)Initializes  GetDocumentStreamResultobject. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Closes underlying stream if specified. | 
| boolean | equals(Object obj) | 
| String | getDocumentId()Gets document ID. | 
| InputStream | getStream()Gets input stream of document. | 
| String | getVersionId()Gets document version ID. | 
| int | hashCode() | 
| String | toString() | 
public GetDocumentStreamResult(GetDocumentStreamRequest request)
GetDocumentStreamResult object.request - GetDocumentStreamRequest object.public final String getDocumentId()
public final String getVersionId()
public final InputStream getStream()
public void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableIOException - IO Exception.