Package com.oracle.bmc.iot.model
Class IotDomain.Builder
- java.lang.Object
-
- com.oracle.bmc.iot.model.IotDomain.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IotDomain
build()
IotDomain.Builder
compartmentId(String compartmentId)
The OCID of the compartment corresponding to the resource.IotDomain.Builder
copy(IotDomain model)
IotDomain.Builder
dataRetentionPeriodsInDays(DataRetentionPeriodsInDays dataRetentionPeriodsInDays)
IotDomain.Builder
dbAllowedIdentityDomainHost(String dbAllowedIdentityDomainHost)
Host name of identity domain that is used for authenticating connect to data host via ORDS.IotDomain.Builder
dbAllowListedIdentityGroupNames(List<String> dbAllowListedIdentityGroupNames)
List of IAM groups of form described in here that are allowed to directly connect to the data host.IotDomain.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.IotDomain.Builder
description(String description)
A short description of the resource.IotDomain.Builder
deviceHost(String deviceHost)
Host name of an IoT domain, where IoT devices can connect to.IotDomain.Builder
displayName(String displayName)
A user-friendly name.IotDomain.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.IotDomain.Builder
id(String id)
The OCID of the resource.IotDomain.Builder
iotDomainGroupId(String iotDomainGroupId)
The OCID of the IoT domain group.IotDomain.Builder
lifecycleState(IotDomain.LifecycleState lifecycleState)
The current state of the IoT domain.IotDomain.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.IotDomain.Builder
timeCreated(Date timeCreated)
The date and time when the resource was created, in the format defined by RFC 3339.IotDomain.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 IotDomain.Builder id(String id)
The OCID of the resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
iotDomainGroupId
public IotDomain.Builder iotDomainGroupId(String iotDomainGroupId)
The OCID of the IoT domain group.- Parameters:
iotDomainGroupId
- the value to set- Returns:
- this builder
-
compartmentId
public IotDomain.Builder compartmentId(String compartmentId)
The OCID of the compartment corresponding to the resource.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public IotDomain.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 IotDomain.Builder description(String description)
A short description of the resource.- Parameters:
description
- the value to set- Returns:
- this builder
-
deviceHost
public IotDomain.Builder deviceHost(String deviceHost)
Host name of an IoT domain, where IoT devices can connect to.- Parameters:
deviceHost
- the value to set- Returns:
- this builder
-
dbAllowListedIdentityGroupNames
public IotDomain.Builder dbAllowListedIdentityGroupNames(List<String> dbAllowListedIdentityGroupNames)
List of IAM groups of form described in here that are allowed to directly connect to the data host.- Parameters:
dbAllowListedIdentityGroupNames
- the value to set- Returns:
- this builder
-
dbAllowedIdentityDomainHost
public IotDomain.Builder dbAllowedIdentityDomainHost(String dbAllowedIdentityDomainHost)
Host name of identity domain that is used for authenticating connect to data host via ORDS.- Parameters:
dbAllowedIdentityDomainHost
- the value to set- Returns:
- this builder
-
dataRetentionPeriodsInDays
public IotDomain.Builder dataRetentionPeriodsInDays(DataRetentionPeriodsInDays dataRetentionPeriodsInDays)
-
lifecycleState
public IotDomain.Builder lifecycleState(IotDomain.LifecycleState lifecycleState)
The current state of the IoT domain.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public IotDomain.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 IotDomain.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 IotDomain.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 IotDomain.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 IotDomain.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 IotDomain build()
-
copy
public IotDomain.Builder copy(IotDomain model)
-
-