Package com.merative.acd.v1.model
Class UnstructuredContainer.Builder
- java.lang.Object
-
- com.merative.acd.v1.model.UnstructuredContainer.Builder
-
- Enclosing class:
- UnstructuredContainer
public static class UnstructuredContainer.Builder extends java.lang.Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnstructuredContainer
build()
Builds a UnstructuredContainer.UnstructuredContainer.Builder
data(ContainerAnnotation data)
Set the data.UnstructuredContainer.Builder
id(java.lang.String id)
Set the id.UnstructuredContainer.Builder
metadata(java.util.Map<java.lang.String,java.util.Map> metadata)
Set the metadata.UnstructuredContainer.Builder
text(java.lang.String text)
Set the text.UnstructuredContainer.Builder
type(java.lang.String type)
Set the type.UnstructuredContainer.Builder
uid(long uid)
Set the uid.
-
-
-
Method Detail
-
build
public UnstructuredContainer build()
Builds a UnstructuredContainer.- Returns:
- the unstructuredContainer
-
text
public UnstructuredContainer.Builder text(java.lang.String text)
Set the text.- Parameters:
text
- the text- Returns:
- the UnstructuredContainer builder
-
id
public UnstructuredContainer.Builder id(java.lang.String id)
Set the id.- Parameters:
id
- the id- Returns:
- the UnstructuredContainer builder
-
type
public UnstructuredContainer.Builder type(java.lang.String type)
Set the type.- Parameters:
type
- the type- Returns:
- the UnstructuredContainer builder
-
data
public UnstructuredContainer.Builder data(ContainerAnnotation data)
Set the data.- Parameters:
data
- the data- Returns:
- the UnstructuredContainer builder
-
metadata
public UnstructuredContainer.Builder metadata(java.util.Map<java.lang.String,java.util.Map> metadata)
Set the metadata.- Parameters:
metadata
- the metadata- Returns:
- the UnstructuredContainer builder
-
uid
public UnstructuredContainer.Builder uid(long uid)
Set the uid.- Parameters:
uid
- the uid- Returns:
- the UnstructuredContainer builder
-
-