public static final class ModelMetadata.Builder extends Object implements AutoCloseable
Constructor and Description |
---|
Builder(ModelMetadata.Builder other) |
Modifier and Type | Method and Description |
---|---|
ModelMetadata |
build()
Builds the
ModelMetadata . |
void |
close() |
protected void |
finalize() |
ModelMetadata.Builder |
title(String title)
Sets the title for the model.
|
public Builder(@NotNull ModelMetadata.Builder other)
public void close()
close
in interface AutoCloseable
@NotNull public ModelMetadata build()
ModelMetadata
.ModelMetadata
.@NotNull public ModelMetadata.Builder title(@NotNull String title)
title
- the model's title.