Package com.oracle.bmc.monitoring.model
Class AlarmSuppressionCompartmentTarget.Builder
- java.lang.Object
- 
- com.oracle.bmc.monitoring.model.AlarmSuppressionCompartmentTarget.Builder
 
- 
- Enclosing class:
- AlarmSuppressionCompartmentTarget
 
 public static class AlarmSuppressionCompartmentTarget.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AlarmSuppressionCompartmentTargetbuild()AlarmSuppressionCompartmentTarget.BuildercompartmentId(String compartmentId)The OCID of the compartment or tenancy that is the target of the alarm suppression.AlarmSuppressionCompartmentTarget.BuildercompartmentIdInSubtree(Boolean compartmentIdInSubtree)When true, the alarm suppression targets all alarms under all compartments and subcompartments of the tenancy specified.AlarmSuppressionCompartmentTarget.Buildercopy(AlarmSuppressionCompartmentTarget model)
 
- 
- 
- 
Method Detail- 
compartmentIdpublic AlarmSuppressionCompartmentTarget.Builder compartmentId(String compartmentId) The OCID of the compartment or tenancy that is the target of the alarm suppression.Example: ocid1.compartment.oc1..exampleuniqueID - Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdInSubtreepublic AlarmSuppressionCompartmentTarget.Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree) When true, the alarm suppression targets all alarms under all compartments and subcompartments of the tenancy specified.The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). When false, the alarm suppression targets only the alarms under the specified compartment. - Parameters:
- compartmentIdInSubtree- the value to set
- Returns:
- this builder
 
 - 
buildpublic AlarmSuppressionCompartmentTarget build() 
 - 
copypublic AlarmSuppressionCompartmentTarget.Builder copy(AlarmSuppressionCompartmentTarget model) 
 
- 
 
-