public final class NetworkAttachment
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
NetworkAttachment() |
| Modifier and Type | Method and Description |
|---|---|
NetworkAttachment |
clone() |
byte[] |
decodeFingerprint()
[Output Only] Fingerprint of this resource.
|
NetworkAttachment |
encodeFingerprint(byte[] fingerprint)
[Output Only] Fingerprint of this resource.
|
List<NetworkAttachmentConnectedEndpoint> |
getConnectionEndpoints()
[Output Only] An array of connections for all the producers connected to this network
attachment.
|
String |
getConnectionPreference() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
String |
getFingerprint()
[Output Only] Fingerprint of this resource.
|
BigInteger |
getId()
[Output Only] The unique identifier for the resource type.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
Name of the resource.
|
String |
getNetwork()
[Output Only] The URL of the network which the Network Attachment belongs to.
|
List<String> |
getProducerAcceptLists()
Projects that are allowed to connect to this network attachment.
|
List<String> |
getProducerRejectLists()
Projects that are not allowed to connect to this network attachment.
|
String |
getRegion()
[Output Only] URL of the region where the network attachment resides.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.
|
List<String> |
getSubnetworks()
An array of URLs where each entry is the URL of a subnet provided by the service consumer to
use for endpoints in the producers that connect to this network attachment.
|
NetworkAttachment |
set(String fieldName,
Object value) |
NetworkAttachment |
setConnectionEndpoints(List<NetworkAttachmentConnectedEndpoint> connectionEndpoints)
[Output Only] An array of connections for all the producers connected to this network
attachment.
|
NetworkAttachment |
setConnectionPreference(String connectionPreference) |
NetworkAttachment |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
NetworkAttachment |
setDescription(String description)
An optional description of this resource.
|
NetworkAttachment |
setFingerprint(String fingerprint)
[Output Only] Fingerprint of this resource.
|
NetworkAttachment |
setId(BigInteger id)
[Output Only] The unique identifier for the resource type.
|
NetworkAttachment |
setKind(String kind)
[Output Only] Type of the resource.
|
NetworkAttachment |
setName(String name)
Name of the resource.
|
NetworkAttachment |
setNetwork(String network)
[Output Only] The URL of the network which the Network Attachment belongs to.
|
NetworkAttachment |
setProducerAcceptLists(List<String> producerAcceptLists)
Projects that are allowed to connect to this network attachment.
|
NetworkAttachment |
setProducerRejectLists(List<String> producerRejectLists)
Projects that are not allowed to connect to this network attachment.
|
NetworkAttachment |
setRegion(String region)
[Output Only] URL of the region where the network attachment resides.
|
NetworkAttachment |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
NetworkAttachment |
setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL for this resource's resource id.
|
NetworkAttachment |
setSubnetworks(List<String> subnetworks)
An array of URLs where each entry is the URL of a subnet provided by the service consumer to
use for endpoints in the producers that connect to this network attachment.
|
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 List<NetworkAttachmentConnectedEndpoint> getConnectionEndpoints()
null for nonepublic NetworkAttachment setConnectionEndpoints(List<NetworkAttachmentConnectedEndpoint> connectionEndpoints)
connectionEndpoints - connectionEndpoints or null for nonepublic String getConnectionPreference()
null for nonepublic NetworkAttachment setConnectionPreference(String connectionPreference)
connectionPreference - connectionPreference or null for nonepublic String getCreationTimestamp()
null for nonepublic NetworkAttachment setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic NetworkAttachment setDescription(String description)
description - description or null for nonepublic String getFingerprint()
null for nonedecodeFingerprint()public byte[] decodeFingerprint()
null for nonegetFingerprint()public NetworkAttachment setFingerprint(String fingerprint)
fingerprint - fingerprint or null for none#encodeFingerprint()public NetworkAttachment encodeFingerprint(byte[] fingerprint)
The value is encoded Base64 or {@code null} for none.
public BigInteger getId()
null for nonepublic NetworkAttachment setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic NetworkAttachment setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic NetworkAttachment setName(String name)
name - name or null for nonepublic String getNetwork()
null for nonepublic NetworkAttachment setNetwork(String network)
network - network or null for nonepublic List<String> getProducerAcceptLists()
null for nonepublic NetworkAttachment setProducerAcceptLists(List<String> producerAcceptLists)
producerAcceptLists - producerAcceptLists or null for nonepublic List<String> getProducerRejectLists()
null for nonepublic NetworkAttachment setProducerRejectLists(List<String> producerRejectLists)
producerRejectLists - producerRejectLists or null for nonepublic String getRegion()
null for nonepublic NetworkAttachment setRegion(String region)
region - region or null for nonepublic String getSelfLink()
null for nonepublic NetworkAttachment setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getSelfLinkWithId()
null for nonepublic NetworkAttachment setSelfLinkWithId(String selfLinkWithId)
selfLinkWithId - selfLinkWithId or null for nonepublic List<String> getSubnetworks()
null for nonepublic NetworkAttachment setSubnetworks(List<String> subnetworks)
subnetworks - subnetworks or null for nonepublic NetworkAttachment set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic NetworkAttachment clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.