public static class AlarmSuppressionCompartmentTarget.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AlarmSuppressionCompartmentTarget |
build() |
AlarmSuppressionCompartmentTarget.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment or tenancy that is the target of the alarm suppression.
|
AlarmSuppressionCompartmentTarget.Builder |
compartmentIdInSubtree(Boolean compartmentIdInSubtree)
When true, the alarm suppression targets all alarms under all compartments and
subcompartments of the tenancy specified.
|
AlarmSuppressionCompartmentTarget.Builder |
copy(AlarmSuppressionCompartmentTarget model) |
public 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
compartmentId
- the value to setpublic 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.
compartmentIdInSubtree
- the value to setpublic AlarmSuppressionCompartmentTarget build()
public AlarmSuppressionCompartmentTarget.Builder copy(AlarmSuppressionCompartmentTarget model)
Copyright © 2016–2024. All rights reserved.