Package com.oracle.bmc.datacatalog.model
Class DataAssetTag.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.DataAssetTag.Builder
-
- Enclosing class:
- DataAssetTag
public static class DataAssetTag.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataAssetTagbuild()DataAssetTag.Buildercopy(DataAssetTag model)DataAssetTag.BuildercreatedById(String createdById)OCID of the user who created the tag.DataAssetTag.BuilderdataAssetKey(String dataAssetKey)The unique key of the parent data asset.DataAssetTag.Builderkey(String key)Unique tag key that is immutable.DataAssetTag.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the tag.DataAssetTag.Buildername(String name)Name of the tag which matches the term name.DataAssetTag.BuildertermDescription(String termDescription)Description of the related term.DataAssetTag.BuildertermKey(String termKey)Unique key of the related term.DataAssetTag.BuildertermPath(String termPath)Path of the related term.DataAssetTag.BuildertimeCreated(Date timeCreated)The date and time the tag was created, in the format defined by RFC3339.DataAssetTag.Builderuri(String uri)URI to the tag instance in the API.
-
-
-
Method Detail
-
dataAssetKey
public DataAssetTag.Builder dataAssetKey(String dataAssetKey)
The unique key of the parent data asset.- Parameters:
dataAssetKey- the value to set- Returns:
- this builder
-
key
public DataAssetTag.Builder key(String key)
Unique tag key that is immutable.- Parameters:
key- the value to set- Returns:
- this builder
-
name
public DataAssetTag.Builder name(String name)
Name of the tag which matches the term name.- Parameters:
name- the value to set- Returns:
- this builder
-
termKey
public DataAssetTag.Builder termKey(String termKey)
Unique key of the related term.- Parameters:
termKey- the value to set- Returns:
- this builder
-
termPath
public DataAssetTag.Builder termPath(String termPath)
Path of the related term.- Parameters:
termPath- the value to set- Returns:
- this builder
-
termDescription
public DataAssetTag.Builder termDescription(String termDescription)
Description of the related term.- Parameters:
termDescription- the value to set- Returns:
- this builder
-
lifecycleState
public DataAssetTag.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the tag.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public DataAssetTag.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 DataAssetTag.Builder createdById(String createdById)
OCID of the user who created the tag.- Parameters:
createdById- the value to set- Returns:
- this builder
-
uri
public DataAssetTag.Builder uri(String uri)
URI to the tag instance in the API.- Parameters:
uri- the value to set- Returns:
- this builder
-
build
public DataAssetTag build()
-
copy
public DataAssetTag.Builder copy(DataAssetTag model)
-
-