Package com.oracle.bmc.datacatalog.model
Class DataAssetSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.DataAssetSummary.Builder
-
- Enclosing class:
- DataAssetSummary
public static class DataAssetSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataAssetSummary
build()
DataAssetSummary.Builder
catalogId(String catalogId)
The data catalog’s OCID.DataAssetSummary.Builder
copy(DataAssetSummary model)
DataAssetSummary.Builder
description(String description)
Detailed description of the data asset.DataAssetSummary.Builder
displayName(String displayName)
A user-friendly display name.DataAssetSummary.Builder
externalKey(String externalKey)
External URI that can be used to reference the object.DataAssetSummary.Builder
key(String key)
Unique data asset key that is immutable.DataAssetSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.DataAssetSummary.Builder
lifecycleState(LifecycleState lifecycleState)
State of the data asset.DataAssetSummary.Builder
timeCreated(Date timeCreated)
The date and time the data asset was created, in the format defined by RFC3339.DataAssetSummary.Builder
typeKey(String typeKey)
The key of the object type.DataAssetSummary.Builder
uri(String uri)
URI to the data asset instance in the API.
-
-
-
Method Detail
-
key
public DataAssetSummary.Builder key(String key)
Unique data asset key that is immutable.- Parameters:
key
- the value to set- Returns:
- this builder
-
displayName
public DataAssetSummary.Builder displayName(String displayName)
A user-friendly display name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public DataAssetSummary.Builder description(String description)
Detailed description of the data asset.- Parameters:
description
- the value to set- Returns:
- this builder
-
catalogId
public DataAssetSummary.Builder catalogId(String catalogId)
The data catalog’s OCID.- Parameters:
catalogId
- the value to set- Returns:
- this builder
-
externalKey
public DataAssetSummary.Builder externalKey(String externalKey)
External URI that can be used to reference the object.Format will differ based on the type of object.
- Parameters:
externalKey
- the value to set- Returns:
- this builder
-
uri
public DataAssetSummary.Builder uri(String uri)
URI to the data asset instance in the API.- Parameters:
uri
- the value to set- Returns:
- this builder
-
timeCreated
public DataAssetSummary.Builder timeCreated(Date timeCreated)
The date and time the data asset was created, in the format defined by RFC3339.Example: 2019-03-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
typeKey
public DataAssetSummary.Builder typeKey(String typeKey)
The key of the object type.Type keys’s can be found via the ‘/types’ endpoint.
- Parameters:
typeKey
- the value to set- Returns:
- this builder
-
lifecycleState
public DataAssetSummary.Builder lifecycleState(LifecycleState lifecycleState)
State of the data asset.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public DataAssetSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.An object not in ACTIVE state may have functional limitations, see service documentation for details.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
build
public DataAssetSummary build()
-
copy
public DataAssetSummary.Builder copy(DataAssetSummary model)
-
-