public final class NetworkEndpointGroupLbNetworkEndpointGroup 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 | 
|---|
| NetworkEndpointGroupLbNetworkEndpointGroup() | 
| Modifier and Type | Method and Description | 
|---|---|
| NetworkEndpointGroupLbNetworkEndpointGroup | clone() | 
| Integer | getDefaultPort()The default port used if the port number is not specified in the network endpoint. | 
| String | getNetwork()The URL of the network to which all network endpoints in the NEG belong. | 
| String | getSubnetwork()Optional URL of the subnetwork to which all network endpoints in the NEG belong. | 
| String | getZone()[Output Only] The URL of the zone where the network endpoint group is located. | 
| NetworkEndpointGroupLbNetworkEndpointGroup | set(String fieldName,
   Object value) | 
| NetworkEndpointGroupLbNetworkEndpointGroup | setDefaultPort(Integer defaultPort)The default port used if the port number is not specified in the network endpoint. | 
| NetworkEndpointGroupLbNetworkEndpointGroup | setNetwork(String network)The URL of the network to which all network endpoints in the NEG belong. | 
| NetworkEndpointGroupLbNetworkEndpointGroup | setSubnetwork(String subnetwork)Optional URL of the subnetwork to which all network endpoints in the NEG belong. | 
| NetworkEndpointGroupLbNetworkEndpointGroup | setZone(String zone)[Output Only] The URL of the zone where the network endpoint group is located. | 
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 NetworkEndpointGroupLbNetworkEndpointGroup()
public Integer getDefaultPort()
null for nonepublic NetworkEndpointGroupLbNetworkEndpointGroup setDefaultPort(Integer defaultPort)
defaultPort - defaultPort or null for nonepublic String getNetwork()
null for nonepublic NetworkEndpointGroupLbNetworkEndpointGroup setNetwork(String network)
network - network or null for nonepublic String getSubnetwork()
null for nonepublic NetworkEndpointGroupLbNetworkEndpointGroup setSubnetwork(String subnetwork)
subnetwork - subnetwork or null for nonepublic String getZone()
null for nonepublic NetworkEndpointGroupLbNetworkEndpointGroup setZone(String zone)
zone - zone or null for nonepublic NetworkEndpointGroupLbNetworkEndpointGroup set(String fieldName, Object value)
set in class GenericJsonpublic NetworkEndpointGroupLbNetworkEndpointGroup clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.