public final class RiskDetails
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 Compute Engine 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 |
|---|
RiskDetails() |
| Modifier and Type | Method and Description |
|---|---|
RiskDetails |
clone() |
String |
getDuration()
The duration of the risk since it was detected.
|
RiskDetailsGlobalDnsInsight |
getGlobalDnsInsight() |
String |
getLastUpdateTimestamp()
The last time the risk was updated.
|
String |
getSeverity()
The severity of the risk.
|
String |
getType()
The type of risk.
|
RiskDetails |
set(String fieldName,
Object value) |
RiskDetails |
setDuration(String duration)
The duration of the risk since it was detected.
|
RiskDetails |
setGlobalDnsInsight(RiskDetailsGlobalDnsInsight globalDnsInsight) |
RiskDetails |
setLastUpdateTimestamp(String lastUpdateTimestamp)
The last time the risk was updated.
|
RiskDetails |
setSeverity(String severity)
The severity of the risk.
|
RiskDetails |
setType(String type)
The type of risk.
|
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 String getDuration()
null for nonepublic RiskDetails setDuration(String duration)
duration - duration or null for nonepublic RiskDetailsGlobalDnsInsight getGlobalDnsInsight()
null for nonepublic RiskDetails setGlobalDnsInsight(RiskDetailsGlobalDnsInsight globalDnsInsight)
globalDnsInsight - globalDnsInsight or null for nonepublic String getLastUpdateTimestamp()
null for nonepublic RiskDetails setLastUpdateTimestamp(String lastUpdateTimestamp)
lastUpdateTimestamp - lastUpdateTimestamp or null for nonepublic String getSeverity()
null for nonepublic RiskDetails setSeverity(String severity)
severity - severity or null for nonepublic String getType()
null for nonepublic RiskDetails setType(String type)
type - type or null for nonepublic RiskDetails set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic RiskDetails clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.