Package com.oracle.bmc.iot.model
Class DigitalTwinModel.Builder
- java.lang.Object
- 
- com.oracle.bmc.iot.model.DigitalTwinModel.Builder
 
- 
- Enclosing class:
- DigitalTwinModel
 
 public static class DigitalTwinModel.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DigitalTwinModelbuild()DigitalTwinModel.Buildercopy(DigitalTwinModel model)DigitalTwinModel.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DigitalTwinModel.Builderdescription(String description)A short description of the resource.DigitalTwinModel.BuilderdisplayName(String displayName)A user-friendly name.DigitalTwinModel.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.DigitalTwinModel.Builderid(String id)The OCID of the resource.DigitalTwinModel.BuilderiotDomainId(String iotDomainId)The OCID of the IoT domain.DigitalTwinModel.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the digital twin model.DigitalTwinModel.BuilderspecUri(String specUri)This is the DTMI (Digital Twin Model Identifier) of the digital twin model as defined in DTDL specification.DigitalTwinModel.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.DigitalTwinModel.BuildertimeCreated(Date timeCreated)The date and time when the resource was created, in the format defined by RFC 3339.DigitalTwinModel.BuildertimeUpdated(Date timeUpdated)The date and time when the resource was last updated, in the format defined by RFC 3339.
 
- 
- 
- 
Method Detail- 
idpublic DigitalTwinModel.Builder id(String id) The OCID of the resource.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
iotDomainIdpublic DigitalTwinModel.Builder iotDomainId(String iotDomainId) The OCID of the IoT domain.- Parameters:
- iotDomainId- the value to set
- Returns:
- this builder
 
 - 
specUripublic DigitalTwinModel.Builder specUri(String specUri) This is the DTMI (Digital Twin Model Identifier) of the digital twin model as defined in DTDL specification.- Parameters:
- specUri- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic DigitalTwinModel.Builder displayName(String displayName) A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. If left blank, the display name will be derived from the spec. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic DigitalTwinModel.Builder description(String description) A short description of the resource.If left blank, the description will be derived from the spec. - Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DigitalTwinModel.Builder lifecycleState(LifecycleState lifecycleState) The current state of the digital twin model.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic DigitalTwinModel.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 DigitalTwinModel.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 DigitalTwinModel.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 DigitalTwinModel.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 DigitalTwinModel.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 DigitalTwinModel build() 
 - 
copypublic DigitalTwinModel.Builder copy(DigitalTwinModel model) 
 
- 
 
-