public final class NetworkAttachmentConnectedEndpoint
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
NetworkAttachmentConnectedEndpoint() |
Modifier and Type | Method and Description |
---|---|
NetworkAttachmentConnectedEndpoint |
clone() |
String |
getIpAddress()
The IPv4 address assigned to the producer instance network interface.
|
String |
getIpv6Address()
The IPv6 address assigned to the producer instance network interface.
|
String |
getProjectIdOrNum()
The project id or number of the interface to which the IP was assigned.
|
List<String> |
getSecondaryIpCidrRanges()
Alias IP ranges from the same subnetwork.
|
String |
getStatus()
The status of a connected endpoint to this network attachment.
|
String |
getSubnetwork()
The subnetwork used to assign the IP to the producer instance network interface.
|
String |
getSubnetworkCidrRange()
[Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
|
NetworkAttachmentConnectedEndpoint |
set(String fieldName,
Object value) |
NetworkAttachmentConnectedEndpoint |
setIpAddress(String ipAddress)
The IPv4 address assigned to the producer instance network interface.
|
NetworkAttachmentConnectedEndpoint |
setIpv6Address(String ipv6Address)
The IPv6 address assigned to the producer instance network interface.
|
NetworkAttachmentConnectedEndpoint |
setProjectIdOrNum(String projectIdOrNum)
The project id or number of the interface to which the IP was assigned.
|
NetworkAttachmentConnectedEndpoint |
setSecondaryIpCidrRanges(List<String> secondaryIpCidrRanges)
Alias IP ranges from the same subnetwork.
|
NetworkAttachmentConnectedEndpoint |
setStatus(String status)
The status of a connected endpoint to this network attachment.
|
NetworkAttachmentConnectedEndpoint |
setSubnetwork(String subnetwork)
The subnetwork used to assign the IP to the producer instance network interface.
|
NetworkAttachmentConnectedEndpoint |
setSubnetworkCidrRange(String subnetworkCidrRange)
[Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
|
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 getIpAddress()
null
for nonepublic NetworkAttachmentConnectedEndpoint setIpAddress(String ipAddress)
ipAddress
- ipAddress or null
for nonepublic String getIpv6Address()
null
for nonepublic NetworkAttachmentConnectedEndpoint setIpv6Address(String ipv6Address)
ipv6Address
- ipv6Address or null
for nonepublic String getProjectIdOrNum()
null
for nonepublic NetworkAttachmentConnectedEndpoint setProjectIdOrNum(String projectIdOrNum)
projectIdOrNum
- projectIdOrNum or null
for nonepublic List<String> getSecondaryIpCidrRanges()
null
for nonepublic NetworkAttachmentConnectedEndpoint setSecondaryIpCidrRanges(List<String> secondaryIpCidrRanges)
secondaryIpCidrRanges
- secondaryIpCidrRanges or null
for nonepublic String getStatus()
null
for nonepublic NetworkAttachmentConnectedEndpoint setStatus(String status)
status
- status or null
for nonepublic String getSubnetwork()
null
for nonepublic NetworkAttachmentConnectedEndpoint setSubnetwork(String subnetwork)
subnetwork
- subnetwork or null
for nonepublic String getSubnetworkCidrRange()
null
for nonepublic NetworkAttachmentConnectedEndpoint setSubnetworkCidrRange(String subnetworkCidrRange)
subnetworkCidrRange
- subnetworkCidrRange or null
for nonepublic NetworkAttachmentConnectedEndpoint set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public NetworkAttachmentConnectedEndpoint clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.