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.Flags
AbstractMap.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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 GenericJson
public SubnetworkLogConfig clone()
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.