Package com.oracle.bmc.iot.model
Class IotDomainGroup.Builder
- java.lang.Object
-
- com.oracle.bmc.iot.model.IotDomainGroup.Builder
-
- Enclosing class:
- IotDomainGroup
public static class IotDomainGroup.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IotDomainGroup
build()
IotDomainGroup.Builder
compartmentId(String compartmentId)
The OCID of the compartment corresponding to the resource.IotDomainGroup.Builder
copy(IotDomainGroup model)
IotDomainGroup.Builder
dataHost(String dataHost)
The host name of the database corresponding to the IoT Domain group.IotDomainGroup.Builder
dbAllowListedVcnIds(List<String> dbAllowListedVcnIds)
This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.IotDomainGroup.Builder
dbConnectionString(String dbConnectionString)
The connection string used to connect to the data host associated with the IoT domain group.IotDomainGroup.Builder
dbTokenScope(String dbTokenScope)
The token scope used to connect to the data host associated with the IoT domain group.IotDomainGroup.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.IotDomainGroup.Builder
description(String description)
A short description of the resource.IotDomainGroup.Builder
displayName(String displayName)
A user-friendly name.IotDomainGroup.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.IotDomainGroup.Builder
id(String id)
The OCID of the resource.IotDomainGroup.Builder
lifecycleState(IotDomainGroup.LifecycleState lifecycleState)
The current state of an IoT Domain Group.IotDomainGroup.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.IotDomainGroup.Builder
timeCreated(Date timeCreated)
The date and time when the resource was created, in the format defined by RFC 3339.IotDomainGroup.Builder
timeUpdated(Date timeUpdated)
The date and time when the resource was last updated, in the format defined by RFC 3339.
-
-
-
Method Detail
-
id
public IotDomainGroup.Builder id(String id)
The OCID of the resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public IotDomainGroup.Builder compartmentId(String compartmentId)
The OCID of the compartment corresponding to the resource.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public IotDomainGroup.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 IotDomainGroup.Builder description(String description)
A short description of the resource.- Parameters:
description
- the value to set- Returns:
- this builder
-
dataHost
public IotDomainGroup.Builder dataHost(String dataHost)
The host name of the database corresponding to the IoT Domain group.- Parameters:
dataHost
- the value to set- Returns:
- this builder
-
dbAllowListedVcnIds
public IotDomainGroup.Builder dbAllowListedVcnIds(List<String> dbAllowListedVcnIds)
This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.- Parameters:
dbAllowListedVcnIds
- the value to set- Returns:
- this builder
-
dbConnectionString
public IotDomainGroup.Builder dbConnectionString(String dbConnectionString)
The connection string used to connect to the data host associated with the IoT domain group.- Parameters:
dbConnectionString
- the value to set- Returns:
- this builder
-
dbTokenScope
public IotDomainGroup.Builder dbTokenScope(String dbTokenScope)
The token scope used to connect to the data host associated with the IoT domain group.- Parameters:
dbTokenScope
- the value to set- Returns:
- this builder
-
lifecycleState
public IotDomainGroup.Builder lifecycleState(IotDomainGroup.LifecycleState lifecycleState)
The current state of an IoT Domain Group.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public IotDomainGroup.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 IotDomainGroup.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 IotDomainGroup.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 IotDomainGroup.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 IotDomainGroup.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 IotDomainGroup build()
-
copy
public IotDomainGroup.Builder copy(IotDomainGroup model)
-
-