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.Flags
AbstractMap.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.
|
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 |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
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 |
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 |
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 |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
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 |
setZone(String zone)
[Output Only] The URL of the zone where the network endpoint group is located.
|
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 Map<String,String> getAnnotations()
null
for nonepublic NetworkEndpointGroup setAnnotations(Map<String,String> annotations)
annotations
- annotations 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 getSelfLink()
null
for nonepublic NetworkEndpointGroup setSelfLink(String selfLink)
selfLink
- selfLink 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 getZone()
null
for nonepublic NetworkEndpointGroup setZone(String zone)
zone
- zone or null
for nonepublic NetworkEndpointGroup set(String fieldName, Object value)
set
in class GenericJson
public NetworkEndpointGroup clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.