Package com.oracle.bmc.datacatalog.model
Class Namespace.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.Namespace.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Namespace
build()
Namespace.Builder
copy(Namespace model)
Namespace.Builder
createdById(String createdById)
OCID of the user who created the namespace.Namespace.Builder
description(String description)
Description for the namespaceNamespace.Builder
displayName(String displayName)
Name of the NamespaceNamespace.Builder
isServiceDefined(Boolean isServiceDefined)
If this field is defined by service or by a userNamespace.Builder
key(String key)
Unique namespace key that is immutable.Namespace.Builder
lifecycleState(LifecycleState lifecycleState)
The current state of the namespace.Namespace.Builder
timeCreated(Date timeCreated)
The date and time the namespace was created, in the format defined by RFC3339.Namespace.Builder
timeUpdated(Date timeUpdated)
The last time that any change was made to the namespace.Namespace.Builder
updatedById(String updatedById)
OCID of the user who last modified the namespace.
-
-
-
Method Detail
-
key
public Namespace.Builder key(String key)
Unique namespace key that is immutable.- Parameters:
key
- the value to set- Returns:
- this builder
-
displayName
public Namespace.Builder displayName(String displayName)
Name of the Namespace- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public Namespace.Builder description(String description)
Description for the namespace- Parameters:
description
- the value to set- Returns:
- this builder
-
isServiceDefined
public Namespace.Builder isServiceDefined(Boolean isServiceDefined)
If this field is defined by service or by a user- Parameters:
isServiceDefined
- the value to set- Returns:
- this builder
-
lifecycleState
public Namespace.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the namespace.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public Namespace.Builder timeCreated(Date timeCreated)
The date and time the namespace was created, in the format defined by RFC3339.Example: 2019-03-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public Namespace.Builder timeUpdated(Date timeUpdated)
The last time that any change was made to the namespace.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
createdById
public Namespace.Builder createdById(String createdById)
OCID of the user who created the namespace.- Parameters:
createdById
- the value to set- Returns:
- this builder
-
updatedById
public Namespace.Builder updatedById(String updatedById)
OCID of the user who last modified the namespace.- Parameters:
updatedById
- the value to set- Returns:
- this builder
-
build
public Namespace build()
-
copy
public Namespace.Builder copy(Namespace model)
-
-