Class DynamicSet.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.model.DynamicSet.Builder
-
- Enclosing class:
- DynamicSet
public static class DynamicSet.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicSetbuild()DynamicSet.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the dynamic set.DynamicSet.Buildercopy(DynamicSet model)DynamicSet.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DynamicSet.Builderdescription(String description)User-specified description for the dynamic set.DynamicSet.BuilderdisplayName(String displayName)User-friendly name for the dynamic set.DynamicSet.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.DynamicSet.Builderid(String id)The OCID of the dynamic set.DynamicSet.BuilderlifecycleState(DynamicSet.LifecycleState lifecycleState)The current state of the event.DynamicSet.BuildermatchingRule(MatchingRule matchingRule)DynamicSet.BuildermatchType(MatchType matchType)Include either any or all attributes.DynamicSet.BuilderscheduledJobCount(String scheduledJobCount)Number of scheduled jobs currently targeting this dynamic set.DynamicSet.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.DynamicSet.BuildertargetCompartments(List<TargetCompartmentDetails> targetCompartments)The list of compartment details.DynamicSet.BuildertimeCreated(Date timeCreated)The date and time the dynamic set was created (in RFC 3339 format).DynamicSet.BuildertimeUpdated(Date timeUpdated)The date and time the dynamic set was last updated (in RFC 3339 format).
-
-
-
Method Detail
-
id
public DynamicSet.Builder id(String id)
The OCID of the dynamic set.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public DynamicSet.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the dynamic set.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public DynamicSet.Builder displayName(String displayName)
User-friendly name for the dynamic set.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public DynamicSet.Builder description(String description)
User-specified description for the dynamic set.- Parameters:
description- the value to set- Returns:
- this builder
-
timeCreated
public DynamicSet.Builder timeCreated(Date timeCreated)
The date and time the dynamic set was created (in RFC 3339 format).- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public DynamicSet.Builder timeUpdated(Date timeUpdated)
The date and time the dynamic set was last updated (in RFC 3339 format).- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public DynamicSet.Builder lifecycleState(DynamicSet.LifecycleState lifecycleState)
The current state of the event.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
scheduledJobCount
public DynamicSet.Builder scheduledJobCount(String scheduledJobCount)
Number of scheduled jobs currently targeting this dynamic set.- Parameters:
scheduledJobCount- the value to set- Returns:
- this builder
-
targetCompartments
public DynamicSet.Builder targetCompartments(List<TargetCompartmentDetails> targetCompartments)
The list of compartment details.- Parameters:
targetCompartments- the value to set- Returns:
- this builder
-
matchType
public DynamicSet.Builder matchType(MatchType matchType)
Include either any or all attributes.- Parameters:
matchType- the value to set- Returns:
- this builder
-
matchingRule
public DynamicSet.Builder matchingRule(MatchingRule matchingRule)
-
freeformTags
public DynamicSet.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 DynamicSet.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 DynamicSet.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
-
build
public DynamicSet build()
-
copy
public DynamicSet.Builder copy(DynamicSet model)
-
-