Package com.oracle.bmc.iot.model
Class DigitalTwinAdapter.Builder
- java.lang.Object
-
- com.oracle.bmc.iot.model.DigitalTwinAdapter.Builder
-
- Enclosing class:
- DigitalTwinAdapter
public static class DigitalTwinAdapter.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public DigitalTwinAdapter.Builder id(String id)
The OCID of the resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
iotDomainId
public DigitalTwinAdapter.Builder iotDomainId(String iotDomainId)
The OCID of the IoT domain.- Parameters:
iotDomainId
- the value to set- Returns:
- this builder
-
digitalTwinModelId
public DigitalTwinAdapter.Builder digitalTwinModelId(String digitalTwinModelId)
The OCID of the digital twin model.- Parameters:
digitalTwinModelId
- the value to set- Returns:
- this builder
-
digitalTwinModelSpecUri
public DigitalTwinAdapter.Builder digitalTwinModelSpecUri(String digitalTwinModelSpecUri)
The URI of the digital twin model specification.- Parameters:
digitalTwinModelSpecUri
- the value to set- Returns:
- this builder
-
displayName
public DigitalTwinAdapter.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 DigitalTwinAdapter.Builder description(String description)
A short description of the resource.- Parameters:
description
- the value to set- Returns:
- this builder
-
inboundEnvelope
public DigitalTwinAdapter.Builder inboundEnvelope(DigitalTwinAdapterInboundEnvelope inboundEnvelope)
-
inboundRoutes
public DigitalTwinAdapter.Builder inboundRoutes(List<DigitalTwinAdapterInboundRoute> inboundRoutes)
list of routes- Parameters:
inboundRoutes
- the value to set- Returns:
- this builder
-
lifecycleState
public DigitalTwinAdapter.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the digital twin adapter.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public DigitalTwinAdapter.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 DigitalTwinAdapter.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
-
systemTags
public DigitalTwinAdapter.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
-
timeCreated
public DigitalTwinAdapter.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
-
timeUpdated
public DigitalTwinAdapter.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
-
build
public DigitalTwinAdapter build()
-
copy
public DigitalTwinAdapter.Builder copy(DigitalTwinAdapter model)
-
-