Package com.oracle.bmc.iot.model
Class CreateIotDomainGroupDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.iot.model.CreateIotDomainGroupDetails.Builder
-
- Enclosing class:
- CreateIotDomainGroupDetails
public static class CreateIotDomainGroupDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateIotDomainGroupDetailsbuild()CreateIotDomainGroupDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment corresponding to the resource.CreateIotDomainGroupDetails.Buildercopy(CreateIotDomainGroupDetails model)CreateIotDomainGroupDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateIotDomainGroupDetails.Builderdescription(String description)A short description of the resource.CreateIotDomainGroupDetails.BuilderdisplayName(String displayName)A user-friendly name.CreateIotDomainGroupDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateIotDomainGroupDetails.Buildertype(CreateIotDomainGroupDetails.Type type)Type of domain group.
-
-
-
Method Detail
-
compartmentId
public CreateIotDomainGroupDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment corresponding to the resource.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
type
public CreateIotDomainGroupDetails.Builder type(CreateIotDomainGroupDetails.Type type)
Type of domain group.DEVELOPMENT uses fewer resources and has a higher Recovery Time Objective (RTO), making it suitable for development and testing. PRODUCTION is recommended for production workloads. LIGHTWEIGHT and STANDARD are deprecated aliases for DEVELOPMENT and PRODUCTION respectively and will be removed in a future release.
- Parameters:
type- the value to set- Returns:
- this builder
-
displayName
public CreateIotDomainGroupDetails.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 CreateIotDomainGroupDetails.Builder description(String description)
A short description of the resource.- Parameters:
description- the value to set- Returns:
- this builder
-
freeformTags
public CreateIotDomainGroupDetails.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 CreateIotDomainGroupDetails.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
-
build
public CreateIotDomainGroupDetails build()
-
copy
public CreateIotDomainGroupDetails.Builder copy(CreateIotDomainGroupDetails model)
-
-