public final class SetNetworkPolicyRequest 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 Google Kubernetes Engine API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
SetNetworkPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
SetNetworkPolicyRequest |
clone() |
NetworkPolicy |
getNetworkPolicy()
Configuration options for the NetworkPolicy feature.
|
SetNetworkPolicyRequest |
set(String fieldName,
Object value) |
SetNetworkPolicyRequest |
setNetworkPolicy(NetworkPolicy networkPolicy)
Configuration options for the NetworkPolicy feature.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic NetworkPolicy getNetworkPolicy()
null for nonepublic SetNetworkPolicyRequest setNetworkPolicy(NetworkPolicy networkPolicy)
networkPolicy - networkPolicy or null for nonepublic SetNetworkPolicyRequest set(String fieldName, Object value)
set in class GenericJsonpublic SetNetworkPolicyRequest clone()
clone in class GenericJson