public final class SubnetworkLogConfig extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
SubnetworkLogConfig() |
| Modifier and Type | Method and Description |
|---|---|
SubnetworkLogConfig |
clone() |
String |
getAggregationInterval()
Can only be specified if VPC flow logging for this subnetwork is enabled.
|
Boolean |
getEnable()
Whether to enable flow logging for this subnetwork.
|
Float |
getFlowSampling()
Can only be specified if VPC flow logging for this subnetwork is enabled.
|
String |
getMetadata()
Can only be specified if VPC flow logs for this subnetwork is enabled.
|
SubnetworkLogConfig |
set(String fieldName,
Object value) |
SubnetworkLogConfig |
setAggregationInterval(String aggregationInterval)
Can only be specified if VPC flow logging for this subnetwork is enabled.
|
SubnetworkLogConfig |
setEnable(Boolean enable)
Whether to enable flow logging for this subnetwork.
|
SubnetworkLogConfig |
setFlowSampling(Float flowSampling)
Can only be specified if VPC flow logging for this subnetwork is enabled.
|
SubnetworkLogConfig |
setMetadata(String metadata)
Can only be specified if VPC flow logs for this subnetwork is enabled.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAggregationInterval()
null for nonepublic SubnetworkLogConfig setAggregationInterval(String aggregationInterval)
aggregationInterval - aggregationInterval or null for nonepublic Boolean getEnable()
null for nonepublic SubnetworkLogConfig setEnable(Boolean enable)
enable - enable or null for nonepublic Float getFlowSampling()
null for nonepublic SubnetworkLogConfig setFlowSampling(Float flowSampling)
flowSampling - flowSampling or null for nonepublic String getMetadata()
null for nonepublic SubnetworkLogConfig setMetadata(String metadata)
metadata - metadata or null for nonepublic SubnetworkLogConfig set(String fieldName, Object value)
set in class GenericJsonpublic SubnetworkLogConfig clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.