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 DataAssetTag
build()
DataAssetTag.Builder
copy(DataAssetTag model)
DataAssetTag.Builder
createdById(String createdById)
OCID of the user who created the tag.DataAssetTag.Builder
dataAssetKey(String dataAssetKey)
The unique key of the parent data asset.DataAssetTag.Builder
key(String key)
Unique tag key that is immutable.DataAssetTag.Builder
lifecycleState(LifecycleState lifecycleState)
The current state of the tag.DataAssetTag.Builder
name(String name)
Name of the tag which matches the term name.DataAssetTag.Builder
termDescription(String termDescription)
Description of the related term.DataAssetTag.Builder
termKey(String termKey)
Unique key of the related term.DataAssetTag.Builder
termPath(String termPath)
Path of the related term.DataAssetTag.Builder
timeCreated(Date timeCreated)
The date and time the tag was created, in the format defined by RFC3339.DataAssetTag.Builder
uri(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)
-
-