public class DownloadModelOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DownloadModelOptions.DownloadModelOptionsBuilder
The factory to create properly initialized instance of the
DownloadModelOptions. |
| Modifier and Type | Method and Description |
|---|---|
String |
getStage()
Returns stage to be associated with given model version.
|
String |
getVersion()
Returns the model version string or
null if not set. |
boolean |
isExpand()
Returns
true if downloaded model's ZIP should be expanded. |
static DownloadModelOptions.DownloadModelOptionsBuilder |
Op()
Factory to create
DownloadModelOptions.DownloadModelOptionsBuilder which can be used to create
properly initialized instance of the DownloadModelOptions. |
public String getVersion()
null if not set.null if not set.public boolean isExpand()
true if downloaded model's ZIP should be expanded.true if downloaded model's ZIP should be expanded.public String getStage()
public static DownloadModelOptions.DownloadModelOptionsBuilder Op()
DownloadModelOptions.DownloadModelOptionsBuilder which can be used to create
properly initialized instance of the DownloadModelOptions.DownloadModelOptions.DownloadModelOptionsBuilder instance.Copyright © 2022. All rights reserved.