Package com.oracle.bmc.iot.model
Class DigitalTwinRelationship.Builder
- java.lang.Object
- 
- com.oracle.bmc.iot.model.DigitalTwinRelationship.Builder
 
- 
- Enclosing class:
- DigitalTwinRelationship
 
 public static class DigitalTwinRelationship.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DigitalTwinRelationshipbuild()DigitalTwinRelationship.Buildercontent(Map<String,Object> content)The value(s) of the relationship properties defined in the source digital twin model.DigitalTwinRelationship.BuildercontentPath(String contentPath)Its the name of the relationship that links two digital twin instances.DigitalTwinRelationship.Buildercopy(DigitalTwinRelationship model)DigitalTwinRelationship.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DigitalTwinRelationship.Builderdescription(String description)A short description of the resource.DigitalTwinRelationship.BuilderdisplayName(String displayName)A user-friendly name.DigitalTwinRelationship.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.DigitalTwinRelationship.Builderid(String id)The OCID of the resource.DigitalTwinRelationship.BuilderiotDomainId(String iotDomainId)The OCID of the IoT domain.DigitalTwinRelationship.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the digital twin relationship.DigitalTwinRelationship.BuildersourceDigitalTwinInstanceId(String sourceDigitalTwinInstanceId)The OCID of source digital twin instance.DigitalTwinRelationship.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.DigitalTwinRelationship.BuildertargetDigitalTwinInstanceId(String targetDigitalTwinInstanceId)The OCID of target digital twin instance.DigitalTwinRelationship.BuildertimeCreated(Date timeCreated)The date and time when the resource was created, in the format defined by RFC 3339.DigitalTwinRelationship.BuildertimeUpdated(Date timeUpdated)The date and time when the resource was last updated, in the format defined by RFC 3339.
 
- 
- 
- 
Method Detail- 
idpublic DigitalTwinRelationship.Builder id(String id) The OCID of the resource.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
iotDomainIdpublic DigitalTwinRelationship.Builder iotDomainId(String iotDomainId) The OCID of the IoT domain.- Parameters:
- iotDomainId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic DigitalTwinRelationship.Builder displayName(String displayName) A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic DigitalTwinRelationship.Builder description(String description) A short description of the resource.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
contentPathpublic DigitalTwinRelationship.Builder contentPath(String contentPath) Its the name of the relationship that links two digital twin instances.Here, it is the relationship name of the source digital twin model. - Parameters:
- contentPath- the value to set
- Returns:
- this builder
 
 - 
sourceDigitalTwinInstanceIdpublic DigitalTwinRelationship.Builder sourceDigitalTwinInstanceId(String sourceDigitalTwinInstanceId) The OCID of source digital twin instance.- Parameters:
- sourceDigitalTwinInstanceId- the value to set
- Returns:
- this builder
 
 - 
targetDigitalTwinInstanceIdpublic DigitalTwinRelationship.Builder targetDigitalTwinInstanceId(String targetDigitalTwinInstanceId) The OCID of target digital twin instance.- Parameters:
- targetDigitalTwinInstanceId- the value to set
- Returns:
- this builder
 
 - 
contentpublic DigitalTwinRelationship.Builder content(Map<String,Object> content) The value(s) of the relationship properties defined in the source digital twin model.- Parameters:
- content- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DigitalTwinRelationship.Builder lifecycleState(LifecycleState lifecycleState) The current state of the digital twin relationship.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic DigitalTwinRelationship.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic DigitalTwinRelationship.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic DigitalTwinRelationship.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic DigitalTwinRelationship.Builder timeCreated(Date timeCreated) The date and time when the resource was created, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic DigitalTwinRelationship.Builder timeUpdated(Date timeUpdated) The date and time when the resource was last updated, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
buildpublic DigitalTwinRelationship build() 
 - 
copypublic DigitalTwinRelationship.Builder copy(DigitalTwinRelationship model) 
 
- 
 
-