Package com.oracle.bmc.iot.model
Class DigitalTwinInstance.Builder
- java.lang.Object
- 
- com.oracle.bmc.iot.model.DigitalTwinInstance.Builder
 
- 
- Enclosing class:
- DigitalTwinInstance
 
 public static class DigitalTwinInstance.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DigitalTwinInstance.BuilderauthId(String authId)The OCID of the resource (like VaultSecret, ClientCertificate etc.,) used to authenticate the digital twin instance.DigitalTwinInstancebuild()DigitalTwinInstance.Buildercopy(DigitalTwinInstance model)DigitalTwinInstance.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DigitalTwinInstance.Builderdescription(String description)A short description of the resource.DigitalTwinInstance.BuilderdigitalTwinAdapterId(String digitalTwinAdapterId)The OCID of the digital twin adapter.DigitalTwinInstance.BuilderdigitalTwinModelId(String digitalTwinModelId)The OCID of the digital twin model.DigitalTwinInstance.BuilderdigitalTwinModelSpecUri(String digitalTwinModelSpecUri)The URI of the digital twin model specification.DigitalTwinInstance.BuilderdisplayName(String displayName)A user-friendly name.DigitalTwinInstance.BuilderexternalKey(String externalKey)A unique identifier for the physical entity (typically an IoT device) represented by the digital twin instance.DigitalTwinInstance.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.DigitalTwinInstance.Builderid(String id)The OCID of the resource.DigitalTwinInstance.BuilderiotDomainId(String iotDomainId)The OCID of the IoT domain.DigitalTwinInstance.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the digital twin instance.DigitalTwinInstance.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.DigitalTwinInstance.BuildertimeCreated(Date timeCreated)The date and time when the resource was created, in the format defined by RFC 3339.DigitalTwinInstance.BuildertimeUpdated(Date timeUpdated)The date and time when the resource was last updated, in the format defined by RFC 3339.
 
- 
- 
- 
Method Detail- 
idpublic DigitalTwinInstance.Builder id(String id) The OCID of the resource.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
iotDomainIdpublic DigitalTwinInstance.Builder iotDomainId(String iotDomainId) The OCID of the IoT domain.- Parameters:
- iotDomainId- the value to set
- Returns:
- this builder
 
 - 
authIdpublic DigitalTwinInstance.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
 
 - 
externalKeypublic DigitalTwinInstance.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
 
 - 
displayNamepublic DigitalTwinInstance.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 DigitalTwinInstance.Builder description(String description) A short description of the resource.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
digitalTwinModelIdpublic DigitalTwinInstance.Builder digitalTwinModelId(String digitalTwinModelId) The OCID of the digital twin model.- Parameters:
- digitalTwinModelId- the value to set
- Returns:
- this builder
 
 - 
digitalTwinModelSpecUripublic DigitalTwinInstance.Builder digitalTwinModelSpecUri(String digitalTwinModelSpecUri) The URI of the digital twin model specification.- Parameters:
- digitalTwinModelSpecUri- the value to set
- Returns:
- this builder
 
 - 
digitalTwinAdapterIdpublic DigitalTwinInstance.Builder digitalTwinAdapterId(String digitalTwinAdapterId) The OCID of the digital twin adapter.- Parameters:
- digitalTwinAdapterId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DigitalTwinInstance.Builder lifecycleState(LifecycleState lifecycleState) The current state of the digital twin instance.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic DigitalTwinInstance.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 DigitalTwinInstance.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 DigitalTwinInstance.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 DigitalTwinInstance.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 DigitalTwinInstance.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 DigitalTwinInstance build() 
 - 
copypublic DigitalTwinInstance.Builder copy(DigitalTwinInstance model) 
 
- 
 
-