Package com.oracle.bmc.datacatalog.model
Class EntityTag.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.EntityTag.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityTag
build()
EntityTag.Builder
copy(EntityTag model)
EntityTag.Builder
createdById(String createdById)
OCID of the user who created the tag.EntityTag.Builder
entityKey(String entityKey)
The unique key of the parent entity.EntityTag.Builder
key(String key)
Unique tag key that is immutable.EntityTag.Builder
lifecycleState(LifecycleState lifecycleState)
The current state of the tag.EntityTag.Builder
name(String name)
Name of the tag which matches the term name.EntityTag.Builder
termDescription(String termDescription)
Description of the related term.EntityTag.Builder
termKey(String termKey)
Unique key of the related term.EntityTag.Builder
termPath(String termPath)
Path of the related term.EntityTag.Builder
timeCreated(Date timeCreated)
The date and time the tag was created, in the format defined by RFC3339.EntityTag.Builder
uri(String uri)
URI to the tag instance in the API.
-
-
-
Method Detail
-
entityKey
public EntityTag.Builder entityKey(String entityKey)
The unique key of the parent entity.- Parameters:
entityKey
- the value to set- Returns:
- this builder
-
key
public EntityTag.Builder key(String key)
Unique tag key that is immutable.- Parameters:
key
- the value to set- Returns:
- this builder
-
name
public EntityTag.Builder name(String name)
Name of the tag which matches the term name.- Parameters:
name
- the value to set- Returns:
- this builder
-
termKey
public EntityTag.Builder termKey(String termKey)
Unique key of the related term.- Parameters:
termKey
- the value to set- Returns:
- this builder
-
termPath
public EntityTag.Builder termPath(String termPath)
Path of the related term.- Parameters:
termPath
- the value to set- Returns:
- this builder
-
termDescription
public EntityTag.Builder termDescription(String termDescription)
Description of the related term.- Parameters:
termDescription
- the value to set- Returns:
- this builder
-
lifecycleState
public EntityTag.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the tag.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public EntityTag.Builder timeCreated(Date timeCreated)
The date and time the tag was created, in the format defined by RFC3339.Example: 2019-03-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
createdById
public EntityTag.Builder createdById(String createdById)
OCID of the user who created the tag.- Parameters:
createdById
- the value to set- Returns:
- this builder
-
uri
public EntityTag.Builder uri(String uri)
URI to the tag instance in the API.- Parameters:
uri
- the value to set- Returns:
- this builder
-
build
public EntityTag build()
-
copy
public EntityTag.Builder copy(EntityTag model)
-
-