public final class NetworkEndpointGroup 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 | 
|---|
NetworkEndpointGroup()  | 
| Modifier and Type | Method and Description | 
|---|---|
NetworkEndpointGroup | 
clone()  | 
Map<String,String> | 
getAnnotations()
Metadata defined as annotations on the network endpoint group. 
 | 
NetworkEndpointGroupAppEngine | 
getAppEngine()
Only valid when networkEndpointType is "SERVERLESS". 
 | 
NetworkEndpointGroupCloudFunction | 
getCloudFunction()
Only valid when networkEndpointType is "SERVERLESS". 
 | 
NetworkEndpointGroupCloudRun | 
getCloudRun()
Only valid when networkEndpointType is "SERVERLESS". 
 | 
String | 
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format. 
 | 
Integer | 
getDefaultPort()
The default port used if the port number is not specified in the network endpoint. 
 | 
String | 
getDescription()
An optional description of this resource. 
 | 
BigInteger | 
getId()
[Output Only] The unique identifier for the resource. 
 | 
String | 
getKind()
[Output Only] Type of the resource. 
 | 
NetworkEndpointGroupLbNetworkEndpointGroup | 
getLoadBalancer()
This field is only valid when the network endpoint group is used for load balancing. 
 | 
String | 
getName()
Name of the resource; provided by the client when the resource is created. 
 | 
String | 
getNetwork()
The URL of the network to which all network endpoints in the NEG belong. 
 | 
String | 
getNetworkEndpointType()
Type of network endpoints in this network endpoint group. 
 | 
String | 
getRegion()
[Output Only] The URL of the region where the network endpoint group is located. 
 | 
String | 
getSelfLink()
[Output Only] Server-defined URL for the resource. 
 | 
String | 
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id. 
 | 
Integer | 
getSize()
[Output only] Number of network endpoints in the network endpoint group. 
 | 
String | 
getSubnetwork()
Optional URL of the subnetwork to which all network endpoints in the NEG belong. 
 | 
String | 
getType()
Specify the type of this network endpoint group. 
 | 
String | 
getZone()
[Output Only] The URL of the zone where the network endpoint group is located. 
 | 
NetworkEndpointGroup | 
set(String fieldName,
   Object value)  | 
NetworkEndpointGroup | 
setAnnotations(Map<String,String> annotations)
Metadata defined as annotations on the network endpoint group. 
 | 
NetworkEndpointGroup | 
setAppEngine(NetworkEndpointGroupAppEngine appEngine)
Only valid when networkEndpointType is "SERVERLESS". 
 | 
NetworkEndpointGroup | 
setCloudFunction(NetworkEndpointGroupCloudFunction cloudFunction)
Only valid when networkEndpointType is "SERVERLESS". 
 | 
NetworkEndpointGroup | 
setCloudRun(NetworkEndpointGroupCloudRun cloudRun)
Only valid when networkEndpointType is "SERVERLESS". 
 | 
NetworkEndpointGroup | 
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format. 
 | 
NetworkEndpointGroup | 
setDefaultPort(Integer defaultPort)
The default port used if the port number is not specified in the network endpoint. 
 | 
NetworkEndpointGroup | 
setDescription(String description)
An optional description of this resource. 
 | 
NetworkEndpointGroup | 
setId(BigInteger id)
[Output Only] The unique identifier for the resource. 
 | 
NetworkEndpointGroup | 
setKind(String kind)
[Output Only] Type of the resource. 
 | 
NetworkEndpointGroup | 
setLoadBalancer(NetworkEndpointGroupLbNetworkEndpointGroup loadBalancer)
This field is only valid when the network endpoint group is used for load balancing. 
 | 
NetworkEndpointGroup | 
setName(String name)
Name of the resource; provided by the client when the resource is created. 
 | 
NetworkEndpointGroup | 
setNetwork(String network)
The URL of the network to which all network endpoints in the NEG belong. 
 | 
NetworkEndpointGroup | 
setNetworkEndpointType(String networkEndpointType)
Type of network endpoints in this network endpoint group. 
 | 
NetworkEndpointGroup | 
setRegion(String region)
[Output Only] The URL of the region where the network endpoint group is located. 
 | 
NetworkEndpointGroup | 
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource. 
 | 
NetworkEndpointGroup | 
setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL for this resource with the resource id. 
 | 
NetworkEndpointGroup | 
setSize(Integer size)
[Output only] Number of network endpoints in the network endpoint group. 
 | 
NetworkEndpointGroup | 
setSubnetwork(String subnetwork)
Optional URL of the subnetwork to which all network endpoints in the NEG belong. 
 | 
NetworkEndpointGroup | 
setType(String type)
Specify the type of this network endpoint group. 
 | 
NetworkEndpointGroup | 
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 Map<String,String> getAnnotations()
null for nonepublic NetworkEndpointGroup setAnnotations(Map<String,String> annotations)
annotations - annotations or null for nonepublic NetworkEndpointGroupAppEngine getAppEngine()
null for nonepublic NetworkEndpointGroup setAppEngine(NetworkEndpointGroupAppEngine appEngine)
appEngine - appEngine or null for nonepublic NetworkEndpointGroupCloudFunction getCloudFunction()
null for nonepublic NetworkEndpointGroup setCloudFunction(NetworkEndpointGroupCloudFunction cloudFunction)
cloudFunction - cloudFunction or null for nonepublic NetworkEndpointGroupCloudRun getCloudRun()
null for nonepublic NetworkEndpointGroup setCloudRun(NetworkEndpointGroupCloudRun cloudRun)
cloudRun - cloudRun or null for nonepublic String getCreationTimestamp()
null for nonepublic NetworkEndpointGroup setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic Integer getDefaultPort()
null for nonepublic NetworkEndpointGroup setDefaultPort(Integer defaultPort)
defaultPort - defaultPort or null for nonepublic String getDescription()
null for nonepublic NetworkEndpointGroup setDescription(String description)
description - description or null for nonepublic BigInteger getId()
null for nonepublic NetworkEndpointGroup setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic NetworkEndpointGroup setKind(String kind)
kind - kind or null for nonepublic NetworkEndpointGroupLbNetworkEndpointGroup getLoadBalancer()
null for nonepublic NetworkEndpointGroup setLoadBalancer(NetworkEndpointGroupLbNetworkEndpointGroup loadBalancer)
loadBalancer - loadBalancer or null for nonepublic String getName()
null for nonepublic NetworkEndpointGroup setName(String name)
name - name or null for nonepublic String getNetwork()
null for nonepublic NetworkEndpointGroup setNetwork(String network)
network - network or null for nonepublic String getNetworkEndpointType()
null for nonepublic NetworkEndpointGroup setNetworkEndpointType(String networkEndpointType)
networkEndpointType - networkEndpointType or null for nonepublic String getRegion()
null for nonepublic NetworkEndpointGroup setRegion(String region)
region - region or null for nonepublic String getSelfLink()
null for nonepublic NetworkEndpointGroup setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getSelfLinkWithId()
null for nonepublic NetworkEndpointGroup setSelfLinkWithId(String selfLinkWithId)
selfLinkWithId - selfLinkWithId or null for nonepublic Integer getSize()
null for nonepublic NetworkEndpointGroup setSize(Integer size)
size - size or null for nonepublic String getSubnetwork()
null for nonepublic NetworkEndpointGroup setSubnetwork(String subnetwork)
subnetwork - subnetwork or null for nonepublic String getType()
null for nonepublic NetworkEndpointGroup setType(String type)
type - type or null for nonepublic String getZone()
null for nonepublic NetworkEndpointGroup setZone(String zone)
zone - zone or null for nonepublic NetworkEndpointGroup set(String fieldName, Object value)
set in class GenericJsonpublic NetworkEndpointGroup clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.