Package com.lightbend.cinnamon.meta
Class Identity.Builder
- java.lang.Object
-
- com.lightbend.cinnamon.meta.Identity.Builder
-
- Enclosing class:
- Identity
public static class Identity.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Identity
build()
Identity.Builder
setDestroyable()
Identity.Builder
setDestroyable(boolean destroyable)
Identity.Builder
setUnique()
Identity.Builder
setUnique(boolean unique)
Identity.Builder
setVisible()
Identity.Builder
setVisible(boolean visible)
Identity.Builder
withCategory(java.lang.String category)
Identity.Builder
withClass(java.lang.Class entityClass)
Identity.Builder
withInstance(java.lang.Class entityClass, java.lang.String entityName)
Identity.Builder
withKey(java.lang.String key)
Identity.Builder
withName(java.lang.String entityName)
Identity.Builder
withParent(Identity parent)
Identity.Builder
withTag(java.lang.String key, java.lang.String value)
Identity.Builder
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
-
-
-
Method Detail
-
withCategory
public Identity.Builder withCategory(java.lang.String category)
-
withKey
public Identity.Builder withKey(java.lang.String key)
-
withClass
public Identity.Builder withClass(java.lang.Class entityClass)
-
withName
public Identity.Builder withName(java.lang.String entityName)
-
withInstance
public Identity.Builder withInstance(java.lang.Class entityClass, java.lang.String entityName)
-
withTag
public Identity.Builder withTag(java.lang.String key, java.lang.String value)
-
withTags
public Identity.Builder withTags(java.util.Map<java.lang.String,java.lang.String> tags)
-
withParent
public Identity.Builder withParent(Identity parent)
-
setDestroyable
public Identity.Builder setDestroyable(boolean destroyable)
-
setDestroyable
public Identity.Builder setDestroyable()
-
setVisible
public Identity.Builder setVisible(boolean visible)
-
setVisible
public Identity.Builder setVisible()
-
setUnique
public Identity.Builder setUnique(boolean unique)
-
setUnique
public Identity.Builder setUnique()
-
build
public Identity build()
-
-