Package com.oracle.bmc.iot.model
Class CreateDigitalTwinRelationshipDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.iot.model.CreateDigitalTwinRelationshipDetails.Builder
-
- Enclosing class:
- CreateDigitalTwinRelationshipDetails
public static class CreateDigitalTwinRelationshipDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
iotDomainId
public CreateDigitalTwinRelationshipDetails.Builder iotDomainId(String iotDomainId)
The OCID of the IoT domain.- Parameters:
iotDomainId
- the value to set- Returns:
- this builder
-
displayName
public CreateDigitalTwinRelationshipDetails.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
-
description
public CreateDigitalTwinRelationshipDetails.Builder description(String description)
A short description of the resource.- Parameters:
description
- the value to set- Returns:
- this builder
-
contentPath
public CreateDigitalTwinRelationshipDetails.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
-
sourceDigitalTwinInstanceId
public CreateDigitalTwinRelationshipDetails.Builder sourceDigitalTwinInstanceId(String sourceDigitalTwinInstanceId)
The OCID of source digital twin instance.- Parameters:
sourceDigitalTwinInstanceId
- the value to set- Returns:
- this builder
-
targetDigitalTwinInstanceId
public CreateDigitalTwinRelationshipDetails.Builder targetDigitalTwinInstanceId(String targetDigitalTwinInstanceId)
The OCID of target digital twin instance.- Parameters:
targetDigitalTwinInstanceId
- the value to set- Returns:
- this builder
-
content
public CreateDigitalTwinRelationshipDetails.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
-
freeformTags
public CreateDigitalTwinRelationshipDetails.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
-
definedTags
public CreateDigitalTwinRelationshipDetails.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
-
build
public CreateDigitalTwinRelationshipDetails build()
-
copy
public CreateDigitalTwinRelationshipDetails.Builder copy(CreateDigitalTwinRelationshipDetails model)
-
-