Package com.merative.acd.v1.model
Class Entity.Builder
- java.lang.Object
-
- com.merative.acd.v1.model.Entity.Builder
-
- Enclosing class:
- Entity
public static class Entity.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 Entity
build()
Builds a Entity.Entity.Builder
id(java.lang.String id)
Set the id.Entity.Builder
mergeid(long mergeid)
Set the mergeid.Entity.Builder
type(java.lang.String type)
Set the type.Entity.Builder
uid(long uid)
Set the uid.
-
-
-
Method Detail
-
build
public Entity build()
Builds a Entity.- Returns:
- the new Entity instance
-
id
public Entity.Builder id(java.lang.String id)
Set the id.- Parameters:
id
- the id- Returns:
- the Entity builder
-
type
public Entity.Builder type(java.lang.String type)
Set the type.- Parameters:
type
- the type- Returns:
- the Entity builder
-
uid
public Entity.Builder uid(long uid)
Set the uid.- Parameters:
uid
- the uid- Returns:
- the Entity builder
-
mergeid
public Entity.Builder mergeid(long mergeid)
Set the mergeid.- Parameters:
mergeid
- the mergeid- Returns:
- the Entity builder
-
-