public static class ModelVersionDTO.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ModelVersionDTO |
build()
Builds the Model Version DTO.
|
ModelVersionDTO.Builder |
withAliases(java.lang.String[] aliases)
Sets the aliases of the model version.
|
ModelVersionDTO.Builder |
withAudit(AuditDTO audit)
Sets the audit information of the model version.
|
ModelVersionDTO.Builder |
withComment(java.lang.String comment)
Sets the comment of the model version.
|
ModelVersionDTO.Builder |
withProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Sets the properties of the model version.
|
ModelVersionDTO.Builder |
withUri(java.lang.String uri)
Sets the URI of the model version.
|
ModelVersionDTO.Builder |
withVersion(int version)
Sets the version number of the model version.
|
public ModelVersionDTO.Builder withVersion(int version)
version
- The version number.public ModelVersionDTO.Builder withComment(java.lang.String comment)
comment
- The comment.public ModelVersionDTO.Builder withAliases(java.lang.String[] aliases)
aliases
- The aliases.public ModelVersionDTO.Builder withUri(java.lang.String uri)
uri
- The URI.public ModelVersionDTO.Builder withProperties(java.util.Map<java.lang.String,java.lang.String> properties)
properties
- The properties.public ModelVersionDTO.Builder withAudit(AuditDTO audit)
audit
- The audit information.public ModelVersionDTO build()