Class Rule.Builder
- java.lang.Object
- 
- com.oracle.bmc.fleetappsmanagement.model.Rule.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Rule.Builderbasis(String basis)Based on what the rule is created.Rulebuild()Rule.BuildercompartmentId(String compartmentId)Compartment Id for which the rule is created.Rule.Builderconditions(List<Condition> conditions)Rule ConditionsRule.Buildercopy(Rule model)Rule.BuilderresourceCompartmentId(String resourceCompartmentId)The Compartment ID to dynamically search resources.
 
- 
- 
- 
Method Detail- 
basispublic Rule.Builder basis(String basis) Based on what the rule is created.It can be based on a resourceProperty or a tag. If based on a tag, basis will be ‘definedTagEquals’ If based on a resource property, basis will be ‘inventoryProperties’ - Parameters:
- basis- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Rule.Builder compartmentId(String compartmentId) Compartment Id for which the rule is created.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
resourceCompartmentIdpublic Rule.Builder resourceCompartmentId(String resourceCompartmentId) The Compartment ID to dynamically search resources.Provide the compartment ID to which the rule is applicable. - Parameters:
- resourceCompartmentId- the value to set
- Returns:
- this builder
 
 - 
conditionspublic Rule.Builder conditions(List<Condition> conditions) Rule Conditions- Parameters:
- conditions- the value to set
- Returns:
- this builder
 
 - 
buildpublic Rule build() 
 - 
copypublic Rule.Builder copy(Rule model) 
 
- 
 
-