Uses of Class
com.google.monitoring.v3.AlertPolicy.Builder
-
Uses of AlertPolicy.Builder in com.google.monitoring.v3
Methods in com.google.monitoring.v3 that return AlertPolicy.BuilderModifier and TypeMethodDescriptionListAlertPoliciesResponse.Builder.addAlertPoliciesBuilder()The returned alert policies.ListAlertPoliciesResponse.Builder.addAlertPoliciesBuilder(int index) The returned alert policies.AlertPolicy.Builder.addAllConditions(Iterable<? extends AlertPolicy.Condition> values) A list of conditions for the policy.AlertPolicy.Builder.addAllNotificationChannels(Iterable<String> values) Identifies the notification channels to which notifications should be sent when incidents are opened or closed or when new violations occur on an already opened incident.AlertPolicy.Builder.addConditions(int index, AlertPolicy.Condition value) A list of conditions for the policy.AlertPolicy.Builder.addConditions(int index, AlertPolicy.Condition.Builder builderForValue) A list of conditions for the policy.AlertPolicy.Builder.addConditions(AlertPolicy.Condition value) A list of conditions for the policy.AlertPolicy.Builder.addConditions(AlertPolicy.Condition.Builder builderForValue) A list of conditions for the policy.AlertPolicy.Builder.addNotificationChannels(String value) Identifies the notification channels to which notifications should be sent when incidents are opened or closed or when new violations occur on an already opened incident.AlertPolicy.Builder.addNotificationChannelsBytes(com.google.protobuf.ByteString value) Identifies the notification channels to which notifications should be sent when incidents are opened or closed or when new violations occur on an already opened incident.AlertPolicy.Builder.clear()AlertPolicy.Builder.clearAlertStrategy()Control over how this alerting policy's notification channels are notified.AlertPolicy.Builder.clearCombiner()How to combine the results of multiple conditions to determine if an incident should be opened.AlertPolicy.Builder.clearConditions()A list of conditions for the policy.AlertPolicy.Builder.clearCreationRecord()A read-only record of the creation of the alerting policy.AlertPolicy.Builder.clearDisplayName()A short name or phrase used to identify the policy in dashboards, notifications, and incidents.AlertPolicy.Builder.clearDocumentation()Documentation that is included with notifications and incidents related to this policy.AlertPolicy.Builder.clearEnabled()Whether or not the policy is enabled.AlertPolicy.Builder.clearMutationRecord()A read-only record of the most recent change to the alerting policy.AlertPolicy.Builder.clearName()Identifier.AlertPolicy.Builder.clearNotificationChannels()Identifies the notification channels to which notifications should be sent when incidents are opened or closed or when new violations occur on an already opened incident.AlertPolicy.Builder.clearSeverity()Optional.AlertPolicy.Builder.clearUserLabels()AlertPolicy.Builder.clearValidity()Read-only description of how the alerting policy is invalid.ListAlertPoliciesResponse.Builder.getAlertPoliciesBuilder(int index) The returned alert policies.CreateAlertPolicyRequest.Builder.getAlertPolicyBuilder()Required.UpdateAlertPolicyRequest.Builder.getAlertPolicyBuilder()Required.AlertPolicy.Builder.mergeAlertStrategy(AlertPolicy.AlertStrategy value) Control over how this alerting policy's notification channels are notified.AlertPolicy.Builder.mergeCreationRecord(MutationRecord value) A read-only record of the creation of the alerting policy.AlertPolicy.Builder.mergeDocumentation(AlertPolicy.Documentation value) Documentation that is included with notifications and incidents related to this policy.AlertPolicy.Builder.mergeEnabled(com.google.protobuf.BoolValue value) Whether or not the policy is enabled.AlertPolicy.Builder.mergeFrom(AlertPolicy other) AlertPolicy.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) AlertPolicy.Builder.mergeFrom(com.google.protobuf.Message other) AlertPolicy.Builder.mergeMutationRecord(MutationRecord value) A read-only record of the most recent change to the alerting policy.AlertPolicy.Builder.mergeValidity(Status value) Read-only description of how the alerting policy is invalid.static AlertPolicy.BuilderAlertPolicy.newBuilder()static AlertPolicy.BuilderAlertPolicy.newBuilder(AlertPolicy prototype) AlertPolicy.newBuilderForType()protected AlertPolicy.BuilderAlertPolicy.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) AlertPolicy.Builder.putAllUserLabels(Map<String, String> values) User-supplied key/value data to be used for organizing and identifying the `AlertPolicy` objects.AlertPolicy.Builder.putUserLabels(String key, String value) User-supplied key/value data to be used for organizing and identifying the `AlertPolicy` objects.AlertPolicy.Builder.removeConditions(int index) A list of conditions for the policy.AlertPolicy.Builder.removeUserLabels(String key) User-supplied key/value data to be used for organizing and identifying the `AlertPolicy` objects.AlertPolicy.Builder.setAlertStrategy(AlertPolicy.AlertStrategy value) Control over how this alerting policy's notification channels are notified.AlertPolicy.Builder.setAlertStrategy(AlertPolicy.AlertStrategy.Builder builderForValue) Control over how this alerting policy's notification channels are notified.AlertPolicy.Builder.setCombiner(AlertPolicy.ConditionCombinerType value) How to combine the results of multiple conditions to determine if an incident should be opened.AlertPolicy.Builder.setCombinerValue(int value) How to combine the results of multiple conditions to determine if an incident should be opened.AlertPolicy.Builder.setConditions(int index, AlertPolicy.Condition value) A list of conditions for the policy.AlertPolicy.Builder.setConditions(int index, AlertPolicy.Condition.Builder builderForValue) A list of conditions for the policy.AlertPolicy.Builder.setCreationRecord(MutationRecord value) A read-only record of the creation of the alerting policy.AlertPolicy.Builder.setCreationRecord(MutationRecord.Builder builderForValue) A read-only record of the creation of the alerting policy.AlertPolicy.Builder.setDisplayName(String value) A short name or phrase used to identify the policy in dashboards, notifications, and incidents.AlertPolicy.Builder.setDisplayNameBytes(com.google.protobuf.ByteString value) A short name or phrase used to identify the policy in dashboards, notifications, and incidents.AlertPolicy.Builder.setDocumentation(AlertPolicy.Documentation value) Documentation that is included with notifications and incidents related to this policy.AlertPolicy.Builder.setDocumentation(AlertPolicy.Documentation.Builder builderForValue) Documentation that is included with notifications and incidents related to this policy.AlertPolicy.Builder.setEnabled(com.google.protobuf.BoolValue value) Whether or not the policy is enabled.AlertPolicy.Builder.setEnabled(com.google.protobuf.BoolValue.Builder builderForValue) Whether or not the policy is enabled.AlertPolicy.Builder.setMutationRecord(MutationRecord value) A read-only record of the most recent change to the alerting policy.AlertPolicy.Builder.setMutationRecord(MutationRecord.Builder builderForValue) A read-only record of the most recent change to the alerting policy.Identifier.AlertPolicy.Builder.setNameBytes(com.google.protobuf.ByteString value) Identifier.AlertPolicy.Builder.setNotificationChannels(int index, String value) Identifies the notification channels to which notifications should be sent when incidents are opened or closed or when new violations occur on an already opened incident.AlertPolicy.Builder.setSeverity(AlertPolicy.Severity value) Optional.AlertPolicy.Builder.setSeverityValue(int value) Optional.AlertPolicy.Builder.setValidity(Status value) Read-only description of how the alerting policy is invalid.AlertPolicy.Builder.setValidity(Status.Builder builderForValue) Read-only description of how the alerting policy is invalid.AlertPolicy.toBuilder()Methods in com.google.monitoring.v3 that return types with arguments of type AlertPolicy.BuilderModifier and TypeMethodDescriptionListAlertPoliciesResponse.Builder.getAlertPoliciesBuilderList()The returned alert policies.Methods in com.google.monitoring.v3 with parameters of type AlertPolicy.BuilderModifier and TypeMethodDescriptionListAlertPoliciesResponse.Builder.addAlertPolicies(int index, AlertPolicy.Builder builderForValue) The returned alert policies.ListAlertPoliciesResponse.Builder.addAlertPolicies(AlertPolicy.Builder builderForValue) The returned alert policies.ListAlertPoliciesResponse.Builder.setAlertPolicies(int index, AlertPolicy.Builder builderForValue) The returned alert policies.CreateAlertPolicyRequest.Builder.setAlertPolicy(AlertPolicy.Builder builderForValue) Required.UpdateAlertPolicyRequest.Builder.setAlertPolicy(AlertPolicy.Builder builderForValue) Required.