public final class RouterInterface 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 |
---|
RouterInterface() |
Modifier and Type | Method and Description |
---|---|
RouterInterface |
clone() |
String |
getIpRange()
IP address and range of the interface.
|
String |
getLinkedInterconnectAttachment()
URI of the linked Interconnect attachment.
|
String |
getLinkedVpnTunnel()
URI of the linked VPN tunnel, which must be in the same region as the router.
|
String |
getManagementType()
[Output Only] The resource that configures and manages this interface.
|
String |
getName()
Name of this interface entry.
|
RouterInterface |
set(String fieldName,
Object value) |
RouterInterface |
setIpRange(String ipRange)
IP address and range of the interface.
|
RouterInterface |
setLinkedInterconnectAttachment(String linkedInterconnectAttachment)
URI of the linked Interconnect attachment.
|
RouterInterface |
setLinkedVpnTunnel(String linkedVpnTunnel)
URI of the linked VPN tunnel, which must be in the same region as the router.
|
RouterInterface |
setManagementType(String managementType)
[Output Only] The resource that configures and manages this interface.
|
RouterInterface |
setName(String name)
Name of this interface entry.
|
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 getIpRange()
null
for nonepublic RouterInterface setIpRange(String ipRange)
ipRange
- ipRange or null
for nonepublic String getLinkedInterconnectAttachment()
null
for nonepublic RouterInterface setLinkedInterconnectAttachment(String linkedInterconnectAttachment)
linkedInterconnectAttachment
- linkedInterconnectAttachment or null
for nonepublic String getLinkedVpnTunnel()
null
for nonepublic RouterInterface setLinkedVpnTunnel(String linkedVpnTunnel)
linkedVpnTunnel
- linkedVpnTunnel or null
for nonepublic String getManagementType()
null
for nonepublic RouterInterface setManagementType(String managementType)
managementType
- managementType or null
for nonepublic String getName()
null
for nonepublic RouterInterface setName(String name)
name
- name or null
for nonepublic RouterInterface set(String fieldName, Object value)
set
in class GenericJson
public RouterInterface clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.