public final class NotificationChannel
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Monitoring API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
NotificationChannel() |
| Modifier and Type | Method and Description |
|---|---|
NotificationChannel |
clone() |
MutationRecord |
getCreationRecord()
Record of the creation of this channel.
|
String |
getDescription()
An optional human-readable description of this notification channel.
|
String |
getDisplayName()
An optional human-readable name for this notification channel.
|
Boolean |
getEnabled()
Whether notifications are forwarded to the described channel.
|
Map<String,String> |
getLabels()
Configuration fields that define the channel and its behavior.
|
List<MutationRecord> |
getMutationRecords()
Records of the modification of this channel.
|
String |
getName()
Identifier.
|
String |
getType()
The type of the notification channel.
|
Map<String,String> |
getUserLabels()
User-supplied key/value data that does not need to conform to the corresponding
NotificationChannelDescriptor's schema, unlike the labels field.
|
String |
getVerificationStatus()
Indicates whether this channel has been verified or not.
|
NotificationChannel |
set(String fieldName,
Object value) |
NotificationChannel |
setCreationRecord(MutationRecord creationRecord)
Record of the creation of this channel.
|
NotificationChannel |
setDescription(String description)
An optional human-readable description of this notification channel.
|
NotificationChannel |
setDisplayName(String displayName)
An optional human-readable name for this notification channel.
|
NotificationChannel |
setEnabled(Boolean enabled)
Whether notifications are forwarded to the described channel.
|
NotificationChannel |
setLabels(Map<String,String> labels)
Configuration fields that define the channel and its behavior.
|
NotificationChannel |
setMutationRecords(List<MutationRecord> mutationRecords)
Records of the modification of this channel.
|
NotificationChannel |
setName(String name)
Identifier.
|
NotificationChannel |
setType(String type)
The type of the notification channel.
|
NotificationChannel |
setUserLabels(Map<String,String> userLabels)
User-supplied key/value data that does not need to conform to the corresponding
NotificationChannelDescriptor's schema, unlike the labels field.
|
NotificationChannel |
setVerificationStatus(String verificationStatus)
Indicates whether this channel has been verified or not.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic MutationRecord getCreationRecord()
null for nonepublic NotificationChannel setCreationRecord(MutationRecord creationRecord)
creationRecord - creationRecord or null for nonepublic String getDescription()
null for nonepublic NotificationChannel setDescription(String description)
description - description or null for nonepublic String getDisplayName()
null for nonepublic NotificationChannel setDisplayName(String displayName)
displayName - displayName or null for nonepublic Boolean getEnabled()
null for nonepublic NotificationChannel setEnabled(Boolean enabled)
enabled - enabled or null for nonepublic Map<String,String> getLabels()
null for nonepublic NotificationChannel setLabels(Map<String,String> labels)
labels - labels or null for nonepublic List<MutationRecord> getMutationRecords()
null for nonepublic NotificationChannel setMutationRecords(List<MutationRecord> mutationRecords)
mutationRecords - mutationRecords or null for nonepublic String getName()
null for nonepublic NotificationChannel setName(String name)
name - name or null for nonepublic String getType()
null for nonepublic NotificationChannel setType(String type)
type - type or null for nonepublic Map<String,String> getUserLabels()
null for nonepublic NotificationChannel setUserLabels(Map<String,String> userLabels)
userLabels - userLabels or null for nonepublic String getVerificationStatus()
null for nonepublic NotificationChannel setVerificationStatus(String verificationStatus)
verificationStatus - verificationStatus or null for nonepublic NotificationChannel set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic NotificationChannel clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.