public final class NetworkInterface 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 |
|---|
NetworkInterface() |
| Modifier and Type | Method and Description |
|---|---|
NetworkInterface |
clone() |
byte[] |
decodeFingerprint()
Fingerprint hash of contents stored in this network interface.
|
NetworkInterface |
encodeFingerprint(byte[] fingerprint)
Fingerprint hash of contents stored in this network interface.
|
List<AccessConfig> |
getAccessConfigs()
An array of configurations for this interface.
|
List<AliasIpRange> |
getAliasIpRanges()
An array of alias IP ranges for this network interface.
|
String |
getFingerprint()
Fingerprint hash of contents stored in this network interface.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
[Output Only] The name of the network interface, which is generated by the server.
|
String |
getNetwork()
URL of the network resource for this instance.
|
String |
getNetworkIP()
An IPv4 internal IP address to assign to the instance for this network interface.
|
String |
getSubnetwork()
The URL of the Subnetwork resource for this instance.
|
NetworkInterface |
set(String fieldName,
Object value) |
NetworkInterface |
setAccessConfigs(List<AccessConfig> accessConfigs)
An array of configurations for this interface.
|
NetworkInterface |
setAliasIpRanges(List<AliasIpRange> aliasIpRanges)
An array of alias IP ranges for this network interface.
|
NetworkInterface |
setFingerprint(String fingerprint)
Fingerprint hash of contents stored in this network interface.
|
NetworkInterface |
setKind(String kind)
[Output Only] Type of the resource.
|
NetworkInterface |
setName(String name)
[Output Only] The name of the network interface, which is generated by the server.
|
NetworkInterface |
setNetwork(String network)
URL of the network resource for this instance.
|
NetworkInterface |
setNetworkIP(String networkIP)
An IPv4 internal IP address to assign to the instance for this network interface.
|
NetworkInterface |
setSubnetwork(String subnetwork)
The URL of the Subnetwork resource for this instance.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<AccessConfig> getAccessConfigs()
null for nonepublic NetworkInterface setAccessConfigs(List<AccessConfig> accessConfigs)
accessConfigs - accessConfigs or null for nonepublic List<AliasIpRange> getAliasIpRanges()
null for nonepublic NetworkInterface setAliasIpRanges(List<AliasIpRange> aliasIpRanges)
aliasIpRanges - aliasIpRanges or null for nonepublic String getFingerprint()
null for nonedecodeFingerprint()public byte[] decodeFingerprint()
null for nonegetFingerprint()public NetworkInterface setFingerprint(String fingerprint)
fingerprint - fingerprint or null for none#encodeFingerprint()public NetworkInterface encodeFingerprint(byte[] fingerprint)
The value is encoded Base64 or {@code null} for none.
public String getKind()
null for nonepublic NetworkInterface setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic NetworkInterface setName(String name)
name - name or null for nonepublic String getNetwork()
null for nonepublic NetworkInterface setNetwork(String network)
network - network or null for nonepublic String getNetworkIP()
null for nonepublic NetworkInterface setNetworkIP(String networkIP)
networkIP - networkIP or null for nonepublic String getSubnetwork()
null for nonepublic NetworkInterface setSubnetwork(String subnetwork)
subnetwork - subnetwork or null for nonepublic NetworkInterface set(String fieldName, Object value)
set in class GenericJsonpublic NetworkInterface clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.