public static class RegistryModelImpl.RegistryModelBuilderImpl extends Object implements ModelBuilder
ModelBuilder.| Constructor and Description |
|---|
RegistryModelBuilderImpl(String name) |
| Modifier and Type | Method and Description |
|---|---|
RegistryModelImpl.RegistryModelBuilderImpl |
asPublic(boolean isPublic)
Updates the visibility of this model.
|
Model |
build()
Creates properly initialized
Model instance using defined by this builder configuration options. |
RegistryModelImpl.RegistryModelBuilderImpl |
withComment(String comment)
Updates the short comment associated with model's record.
|
RegistryModelImpl.RegistryModelBuilderImpl |
withDescription(String description)
Updates the long description associated with this model's record.
|
RegistryModelImpl.RegistryModelBuilderImpl |
withRegistryName(String registryModelName)
Updates the name of the model as defined in the Comet registry.
|
RegistryModelImpl.RegistryModelBuilderImpl |
withStages(List<String> tags)
Updates the TAGs associated with the model.
|
RegistryModelImpl.RegistryModelBuilderImpl |
withVersion(String version)
Updates the version of the model.
|
RegistryModelImpl.RegistryModelBuilderImpl |
withWorkspace(String workspace)
Updates the workspace name of the model.
|
public RegistryModelBuilderImpl(String name)
public RegistryModelImpl.RegistryModelBuilderImpl withVersion(String version)
ModelBuilder1.2.3-beta.4+sha899d8g79f87
1 is the major part (required)2 is the minor part (required)3 is the patch part (required)beta and 4 are the version suffixes (optional)sha899d8g79f87 is the build information (optional)withVersion in interface ModelBuilderversion - the version of the model to be applied.ModelBuilder instance.public RegistryModelImpl.RegistryModelBuilderImpl withWorkspace(String workspace)
ModelBuilderwithWorkspace in interface ModelBuilderworkspace - the name of the workspace.ModelBuilder instance.public RegistryModelImpl.RegistryModelBuilderImpl withRegistryName(String registryModelName)
ModelBuilderwithRegistryName in interface ModelBuilderregistryModelName - the name of the mode in the Comet registryModelBuilder instance.public RegistryModelImpl.RegistryModelBuilderImpl asPublic(boolean isPublic)
ModelBuilderasPublic in interface ModelBuilderisPublic - if true the model registry will be listed as public.ModelBuilder instance.public RegistryModelImpl.RegistryModelBuilderImpl withDescription(String description)
ModelBuilderwithDescription in interface ModelBuilderdescription - the long description of the model.ModelBuilder instance.public RegistryModelImpl.RegistryModelBuilderImpl withComment(String comment)
ModelBuilderwithComment in interface ModelBuildercomment - the short comment about the model.ModelBuilder instance.public RegistryModelImpl.RegistryModelBuilderImpl withStages(List<String> tags)
ModelBuilderwithStages in interface ModelBuildertags - the list of TAGs to associate with the model.ModelBuilder instance.public Model build()
ModelBuilderModel instance using defined by this builder configuration options.build in interface ModelBuilderModel instance.Copyright © 2022. All rights reserved.