Package com.oracle.bmc.identity.model
Class CreateDynamicGroupDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.identity.model.CreateDynamicGroupDetails.Builder
-
- Enclosing class:
- CreateDynamicGroupDetails
public static class CreateDynamicGroupDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDynamicGroupDetails
build()
CreateDynamicGroupDetails.Builder
compartmentId(String compartmentId)
The OCID of the tenancy containing the group.CreateDynamicGroupDetails.Builder
copy(CreateDynamicGroupDetails model)
CreateDynamicGroupDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CreateDynamicGroupDetails.Builder
description(String description)
The description you assign to the group during creation.CreateDynamicGroupDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.CreateDynamicGroupDetails.Builder
matchingRule(String matchingRule)
The matching rule to dynamically match an instance certificate to this dynamic group.CreateDynamicGroupDetails.Builder
name(String name)
The name you assign to the group during creation.
-
-
-
Method Detail
-
compartmentId
public CreateDynamicGroupDetails.Builder compartmentId(String compartmentId)
The OCID of the tenancy containing the group.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
name
public CreateDynamicGroupDetails.Builder name(String name)
The name you assign to the group during creation.The name must be unique across all groups in the tenancy and cannot be changed.
- Parameters:
name
- the value to set- Returns:
- this builder
-
matchingRule
public CreateDynamicGroupDetails.Builder matchingRule(String matchingRule)
The matching rule to dynamically match an instance certificate to this dynamic group.For rule syntax, see Managing Dynamic Groups.
- Parameters:
matchingRule
- the value to set- Returns:
- this builder
-
description
public CreateDynamicGroupDetails.Builder description(String description)
The description you assign to the group during creation.Does not have to be unique, and it’s changeable.
(For tenancies that support identity domains) You can have an empty description.
- Parameters:
description
- the value to set- Returns:
- this builder
-
freeformTags
public CreateDynamicGroupDetails.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 CreateDynamicGroupDetails.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 CreateDynamicGroupDetails build()
-
copy
public CreateDynamicGroupDetails.Builder copy(CreateDynamicGroupDetails model)
-
-