Package com.oracle.bmc.datacatalog.model
Class ObjectRelationship.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.ObjectRelationship.Builder
-
- Enclosing class:
- ObjectRelationship
public static class ObjectRelationship.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectRelationship
build()
ObjectRelationship.Builder
copy(ObjectRelationship model)
ObjectRelationship.Builder
key(String key)
Unique id of the object.ObjectRelationship.Builder
name(String name)
Name of the object.ObjectRelationship.Builder
parentKey(String parentKey)
Key of the parent object for the resource.ObjectRelationship.Builder
parentPath(String parentPath)
Full path of the parent object.ObjectRelationship.Builder
path(String path)
Full path of the object.ObjectRelationship.Builder
relationshipType(String relationshipType)
Type of relationship with the referencing object.ObjectRelationship.Builder
timeCreated(Date timeCreated)
The date and time the relationship was created, in the format defined by RFC3339.ObjectRelationship.Builder
timeUpdated(Date timeUpdated)
The last time a change was made to this reference.ObjectRelationship.Builder
typeKey(String typeKey)
Type key of the object.ObjectRelationship.Builder
typeName(String typeName)
Type name of the object.
-
-
-
Method Detail
-
relationshipType
public ObjectRelationship.Builder relationshipType(String relationshipType)
Type of relationship with the referencing object.- Parameters:
relationshipType
- the value to set- Returns:
- this builder
-
key
public ObjectRelationship.Builder key(String key)
Unique id of the object.- Parameters:
key
- the value to set- Returns:
- this builder
-
name
public ObjectRelationship.Builder name(String name)
Name of the object.- Parameters:
name
- the value to set- Returns:
- this builder
-
typeName
public ObjectRelationship.Builder typeName(String typeName)
Type name of the object.Type names can be found via the ‘/types’ endpoint.
- Parameters:
typeName
- the value to set- Returns:
- this builder
-
typeKey
public ObjectRelationship.Builder typeKey(String typeKey)
Type key of the object.Type keys can be found via the ‘/types’ endpoint.
- Parameters:
typeKey
- the value to set- Returns:
- this builder
-
timeCreated
public ObjectRelationship.Builder timeCreated(Date timeCreated)
The date and time the relationship 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 ObjectRelationship.Builder timeUpdated(Date timeUpdated)
The last time a change was made to this reference.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
path
public ObjectRelationship.Builder path(String path)
Full path of the object.- Parameters:
path
- the value to set- Returns:
- this builder
-
parentKey
public ObjectRelationship.Builder parentKey(String parentKey)
Key of the parent object for the resource.- Parameters:
parentKey
- the value to set- Returns:
- this builder
-
parentPath
public ObjectRelationship.Builder parentPath(String parentPath)
Full path of the parent object.- Parameters:
parentPath
- the value to set- Returns:
- this builder
-
build
public ObjectRelationship build()
-
copy
public ObjectRelationship.Builder copy(ObjectRelationship model)
-
-