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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectRelationshipbuild()ObjectRelationship.Buildercopy(ObjectRelationship model)ObjectRelationship.Builderkey(String key)Unique id of the object.ObjectRelationship.Buildername(String name)Name of the object.ObjectRelationship.BuilderparentKey(String parentKey)Key of the parent object for the resource.ObjectRelationship.BuilderparentPath(String parentPath)Full path of the parent object.ObjectRelationship.Builderpath(String path)Full path of the object.ObjectRelationship.BuilderrelationshipType(String relationshipType)Type of relationship with the referencing object.ObjectRelationship.BuildertimeCreated(Date timeCreated)The date and time the relationship was created, in the format defined by RFC3339.ObjectRelationship.BuildertimeUpdated(Date timeUpdated)The last time a change was made to this reference.ObjectRelationship.BuildertypeKey(String typeKey)Type key of the object.ObjectRelationship.BuildertypeName(String typeName)Type name of the object.
 
- 
- 
- 
Method Detail- 
relationshipTypepublic ObjectRelationship.Builder relationshipType(String relationshipType) Type of relationship with the referencing object.- Parameters:
- relationshipType- the value to set
- Returns:
- this builder
 
 - 
keypublic ObjectRelationship.Builder key(String key) Unique id of the object.- Parameters:
- key- the value to set
- Returns:
- this builder
 
 - 
namepublic ObjectRelationship.Builder name(String name) Name of the object.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
typeNamepublic 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
 
 - 
typeKeypublic 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
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
pathpublic ObjectRelationship.Builder path(String path) Full path of the object.- Parameters:
- path- the value to set
- Returns:
- this builder
 
 - 
parentKeypublic ObjectRelationship.Builder parentKey(String parentKey) Key of the parent object for the resource.- Parameters:
- parentKey- the value to set
- Returns:
- this builder
 
 - 
parentPathpublic ObjectRelationship.Builder parentPath(String parentPath) Full path of the parent object.- Parameters:
- parentPath- the value to set
- Returns:
- this builder
 
 - 
buildpublic ObjectRelationship build() 
 - 
copypublic ObjectRelationship.Builder copy(ObjectRelationship model) 
 
- 
 
-