Class CreateDynamicSetDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.model.CreateDynamicSetDetails.Builder
-
- Enclosing class:
- CreateDynamicSetDetails
public static class CreateDynamicSetDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateDynamicSetDetails.Builder displayName(String displayName)
User-friendly name for the dynamic set.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public CreateDynamicSetDetails.Builder description(String description)
User-specified description for the dynamic set.- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public CreateDynamicSetDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the dynamic set.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
targetCompartments
public CreateDynamicSetDetails.Builder targetCompartments(List<TargetCompartmentDetails> targetCompartments)
The list of compartment details.- Parameters:
targetCompartments- the value to set- Returns:
- this builder
-
matchType
public CreateDynamicSetDetails.Builder matchType(MatchType matchType)
Include either any or all attributes.- Parameters:
matchType- the value to set- Returns:
- this builder
-
matchingRule
public CreateDynamicSetDetails.Builder matchingRule(MatchingRule matchingRule)
-
freeformTags
public CreateDynamicSetDetails.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 CreateDynamicSetDetails.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 CreateDynamicSetDetails build()
-
copy
public CreateDynamicSetDetails.Builder copy(CreateDynamicSetDetails model)
-
-