public static final class CookingStackExchange.Builder
extends java.lang.Object
CookingStackExchange.| Modifier and Type | Method and Description |
|---|---|
CookingStackExchange |
build()
Builds a new
CookingStackExchange. |
CookingStackExchange.Builder |
optArtifactId(java.lang.String artifactId)
Sets the optional artifactId.
|
CookingStackExchange.Builder |
optGroupId(java.lang.String groupId)
Sets optional groupId.
|
CookingStackExchange.Builder |
optRepository(ai.djl.repository.Repository repository)
Sets the optional repository for the dataset.
|
CookingStackExchange.Builder |
optUsage(ai.djl.training.dataset.Dataset.Usage usage)
Sets the optional usage for the dataset.
|
public CookingStackExchange.Builder optRepository(ai.djl.repository.Repository repository)
repository - the new repositorypublic CookingStackExchange.Builder optGroupId(java.lang.String groupId)
groupId - the groupId}public CookingStackExchange.Builder optArtifactId(java.lang.String artifactId)
artifactId - the artifactIdpublic CookingStackExchange.Builder optUsage(ai.djl.training.dataset.Dataset.Usage usage)
usage - the usagepublic CookingStackExchange build()
CookingStackExchange.CookingStackExchange