Package com.oracle.bmc.iot.model
Class UpdateDigitalTwinInstanceDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.iot.model.UpdateDigitalTwinInstanceDetails.Builder
-
- Enclosing class:
- UpdateDigitalTwinInstanceDetails
public static class UpdateDigitalTwinInstanceDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDigitalTwinInstanceDetails.BuilderauthId(String authId)The OCID of the resource (like VaultSecret, ClientCertificate etc.,) used to authenticate the digital twin instance.UpdateDigitalTwinInstanceDetailsbuild()UpdateDigitalTwinInstanceDetails.Buildercopy(UpdateDigitalTwinInstanceDetails model)UpdateDigitalTwinInstanceDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.UpdateDigitalTwinInstanceDetails.Builderdescription(String description)A short description of the resource.UpdateDigitalTwinInstanceDetails.BuilderdigitalTwinAdapterId(String digitalTwinAdapterId)The OCID of the digital twin adapter.UpdateDigitalTwinInstanceDetails.BuilderdisplayName(String displayName)A user-friendly name.UpdateDigitalTwinInstanceDetails.BuilderexternalKey(String externalKey)A unique identifier for the physical entity (typically an IoT device) represented by the digital twin instance.UpdateDigitalTwinInstanceDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.
-
-
-
Method Detail
-
authId
public UpdateDigitalTwinInstanceDetails.Builder authId(String authId)
The OCID of the resource (like VaultSecret, ClientCertificate etc.,) used to authenticate the digital twin instance.- Parameters:
authId- the value to set- Returns:
- this builder
-
externalKey
public UpdateDigitalTwinInstanceDetails.Builder externalKey(String externalKey)
A unique identifier for the physical entity (typically an IoT device) represented by the digital twin instance.This could be a Bluetooth address, Ethernet MAC address, or serial number, depending on the use case. If not provided, the system will automatically generate one.
- Parameters:
externalKey- the value to set- Returns:
- this builder
-
displayName
public UpdateDigitalTwinInstanceDetails.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 UpdateDigitalTwinInstanceDetails.Builder description(String description)
A short description of the resource.- Parameters:
description- the value to set- Returns:
- this builder
-
digitalTwinAdapterId
public UpdateDigitalTwinInstanceDetails.Builder digitalTwinAdapterId(String digitalTwinAdapterId)
The OCID of the digital twin adapter.- Parameters:
digitalTwinAdapterId- the value to set- Returns:
- this builder
-
freeformTags
public UpdateDigitalTwinInstanceDetails.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 UpdateDigitalTwinInstanceDetails.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 UpdateDigitalTwinInstanceDetails build()
-
copy
public UpdateDigitalTwinInstanceDetails.Builder copy(UpdateDigitalTwinInstanceDetails model)
-
-