public final class InterconnectAttachment 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 | 
|---|
InterconnectAttachment()  | 
| Modifier and Type | Method and Description | 
|---|---|
InterconnectAttachment | 
clone()  | 
byte[] | 
decodeLabelFingerprint()
A fingerprint for the labels being applied to this InterconnectAttachment, which is essentially
 a hash of the labels set used for optimistic locking. 
 | 
InterconnectAttachment | 
encodeLabelFingerprint(byte[] labelFingerprint)
A fingerprint for the labels being applied to this InterconnectAttachment, which is essentially
 a hash of the labels set used for optimistic locking. 
 | 
Boolean | 
getAdminEnabled()
Determines whether this Attachment will carry packets. 
 | 
String | 
getBandwidth()
Provisioned bandwidth capacity for the interconnect attachment. 
 | 
List<String> | 
getCandidateSubnets()
Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress
 and customerRouterIpAddress for this attachment. 
 | 
String | 
getCloudRouterIpAddress()
[Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for this
 interconnect attachment. 
 | 
String | 
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format. 
 | 
String | 
getCustomerRouterIpAddress()
[Output Only] IPv4 address + prefix length to be configured on the customer router subinterface
 for this interconnect attachment. 
 | 
Integer | 
getDataplaneVersion()
[Output Only] Dataplane version for this InterconnectAttachment. 
 | 
String | 
getDescription()
An optional description of this resource. 
 | 
String | 
getEdgeAvailabilityDomain()
Desired availability domain for the attachment. 
 | 
String | 
getEncryption()
Indicates the user-supplied encryption option of this interconnect attachment: - NONE is the
 default value, which means that the attachment carries unencrypted traffic. 
 | 
String | 
getGoogleReferenceId()
[Output Only] Google reference ID, to be used when raising support tickets with Google or
 otherwise to debug backend connectivity issues. 
 | 
BigInteger | 
getId()
[Output Only] The unique identifier for the resource. 
 | 
String | 
getInterconnect()
URL of the underlying Interconnect object that this attachment's traffic will traverse through. 
 | 
List<String> | 
getIpsecInternalAddresses()
URL of addresses that have been reserved for the interconnect attachment, Used only for
 interconnect attachment that has the encryption option as IPSEC. 
 | 
String | 
getKind()
[Output Only] Type of the resource. 
 | 
String | 
getLabelFingerprint()
A fingerprint for the labels being applied to this InterconnectAttachment, which is essentially
 a hash of the labels set used for optimistic locking. 
 | 
Map<String,String> | 
getLabels()
Labels for this resource. 
 | 
Integer | 
getMtu()
Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect
 attachment. 
 | 
String | 
getName()
Name of the resource. 
 | 
String | 
getOperationalStatus()
[Output Only] The current status of whether or not this interconnect attachment is functional,
 which can take one of the following values: - OS_ACTIVE: The attachment has been turned up and
 is ready to use. 
 | 
String | 
getPairingKey()
[Output only for type PARTNER. 
 | 
Long | 
getPartnerAsn()
Optional BGP ASN for the router supplied by a Layer 3 Partner if they configured BGP on behalf
 of the customer. 
 | 
InterconnectAttachmentPartnerMetadata | 
getPartnerMetadata()
Informational metadata about Partner attachments from Partners to display to customers. 
 | 
InterconnectAttachmentPrivateInfo | 
getPrivateInterconnectInfo()
[Output Only] Information specific to an InterconnectAttachment. 
 | 
String | 
getRegion()
[Output Only] URL of the region where the regional interconnect attachment resides. 
 | 
String | 
getRouter()
URL of the Cloud Router to be used for dynamic routing. 
 | 
String | 
getSelfLink()
[Output Only] Server-defined URL for the resource. 
 | 
String | 
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id. 
 | 
String | 
getState()
[Output Only] The current state of this attachment's functionality. 
 | 
String | 
getType()
The type of interconnect attachment this is, which can take one of the following values: -
 DEDICATED: an attachment to a Dedicated Interconnect. 
 | 
Integer | 
getVlanTag8021q()
The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. 
 | 
InterconnectAttachment | 
set(String fieldName,
   Object value)  | 
InterconnectAttachment | 
setAdminEnabled(Boolean adminEnabled)
Determines whether this Attachment will carry packets. 
 | 
InterconnectAttachment | 
setBandwidth(String bandwidth)
Provisioned bandwidth capacity for the interconnect attachment. 
 | 
InterconnectAttachment | 
setCandidateSubnets(List<String> candidateSubnets)
Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress
 and customerRouterIpAddress for this attachment. 
 | 
InterconnectAttachment | 
setCloudRouterIpAddress(String cloudRouterIpAddress)
[Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for this
 interconnect attachment. 
 | 
InterconnectAttachment | 
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format. 
 | 
InterconnectAttachment | 
setCustomerRouterIpAddress(String customerRouterIpAddress)
[Output Only] IPv4 address + prefix length to be configured on the customer router subinterface
 for this interconnect attachment. 
 | 
InterconnectAttachment | 
setDataplaneVersion(Integer dataplaneVersion)
[Output Only] Dataplane version for this InterconnectAttachment. 
 | 
InterconnectAttachment | 
setDescription(String description)
An optional description of this resource. 
 | 
InterconnectAttachment | 
setEdgeAvailabilityDomain(String edgeAvailabilityDomain)
Desired availability domain for the attachment. 
 | 
InterconnectAttachment | 
setEncryption(String encryption)
Indicates the user-supplied encryption option of this interconnect attachment: - NONE is the
 default value, which means that the attachment carries unencrypted traffic. 
 | 
InterconnectAttachment | 
setGoogleReferenceId(String googleReferenceId)
[Output Only] Google reference ID, to be used when raising support tickets with Google or
 otherwise to debug backend connectivity issues. 
 | 
InterconnectAttachment | 
setId(BigInteger id)
[Output Only] The unique identifier for the resource. 
 | 
InterconnectAttachment | 
setInterconnect(String interconnect)
URL of the underlying Interconnect object that this attachment's traffic will traverse through. 
 | 
InterconnectAttachment | 
setIpsecInternalAddresses(List<String> ipsecInternalAddresses)
URL of addresses that have been reserved for the interconnect attachment, Used only for
 interconnect attachment that has the encryption option as IPSEC. 
 | 
InterconnectAttachment | 
setKind(String kind)
[Output Only] Type of the resource. 
 | 
InterconnectAttachment | 
setLabelFingerprint(String labelFingerprint)
A fingerprint for the labels being applied to this InterconnectAttachment, which is essentially
 a hash of the labels set used for optimistic locking. 
 | 
InterconnectAttachment | 
setLabels(Map<String,String> labels)
Labels for this resource. 
 | 
InterconnectAttachment | 
setMtu(Integer mtu)
Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect
 attachment. 
 | 
InterconnectAttachment | 
setName(String name)
Name of the resource. 
 | 
InterconnectAttachment | 
setOperationalStatus(String operationalStatus)
[Output Only] The current status of whether or not this interconnect attachment is functional,
 which can take one of the following values: - OS_ACTIVE: The attachment has been turned up and
 is ready to use. 
 | 
InterconnectAttachment | 
setPairingKey(String pairingKey)
[Output only for type PARTNER. 
 | 
InterconnectAttachment | 
setPartnerAsn(Long partnerAsn)
Optional BGP ASN for the router supplied by a Layer 3 Partner if they configured BGP on behalf
 of the customer. 
 | 
InterconnectAttachment | 
setPartnerMetadata(InterconnectAttachmentPartnerMetadata partnerMetadata)
Informational metadata about Partner attachments from Partners to display to customers. 
 | 
InterconnectAttachment | 
setPrivateInterconnectInfo(InterconnectAttachmentPrivateInfo privateInterconnectInfo)
[Output Only] Information specific to an InterconnectAttachment. 
 | 
InterconnectAttachment | 
setRegion(String region)
[Output Only] URL of the region where the regional interconnect attachment resides. 
 | 
InterconnectAttachment | 
setRouter(String router)
URL of the Cloud Router to be used for dynamic routing. 
 | 
InterconnectAttachment | 
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource. 
 | 
InterconnectAttachment | 
setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL for this resource with the resource id. 
 | 
InterconnectAttachment | 
setState(String state)
[Output Only] The current state of this attachment's functionality. 
 | 
InterconnectAttachment | 
setType(String type)
The type of interconnect attachment this is, which can take one of the following values: -
 DEDICATED: an attachment to a Dedicated Interconnect. 
 | 
InterconnectAttachment | 
setVlanTag8021q(Integer vlanTag8021q)
The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. 
 | 
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 Boolean getAdminEnabled()
null for nonepublic InterconnectAttachment setAdminEnabled(Boolean adminEnabled)
adminEnabled - adminEnabled or null for nonepublic String getBandwidth()
null for nonepublic InterconnectAttachment setBandwidth(String bandwidth)
bandwidth - bandwidth or null for nonepublic List<String> getCandidateSubnets()
null for nonepublic InterconnectAttachment setCandidateSubnets(List<String> candidateSubnets)
candidateSubnets - candidateSubnets or null for nonepublic String getCloudRouterIpAddress()
null for nonepublic InterconnectAttachment setCloudRouterIpAddress(String cloudRouterIpAddress)
cloudRouterIpAddress - cloudRouterIpAddress or null for nonepublic String getCreationTimestamp()
null for nonepublic InterconnectAttachment setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getCustomerRouterIpAddress()
null for nonepublic InterconnectAttachment setCustomerRouterIpAddress(String customerRouterIpAddress)
customerRouterIpAddress - customerRouterIpAddress or null for nonepublic Integer getDataplaneVersion()
null for nonepublic InterconnectAttachment setDataplaneVersion(Integer dataplaneVersion)
dataplaneVersion - dataplaneVersion or null for nonepublic String getDescription()
null for nonepublic InterconnectAttachment setDescription(String description)
description - description or null for nonepublic String getEdgeAvailabilityDomain()
null for nonepublic InterconnectAttachment setEdgeAvailabilityDomain(String edgeAvailabilityDomain)
edgeAvailabilityDomain - edgeAvailabilityDomain or null for nonepublic String getEncryption()
null for nonepublic InterconnectAttachment setEncryption(String encryption)
encryption - encryption or null for nonepublic String getGoogleReferenceId()
null for nonepublic InterconnectAttachment setGoogleReferenceId(String googleReferenceId)
googleReferenceId - googleReferenceId or null for nonepublic BigInteger getId()
null for nonepublic InterconnectAttachment setId(BigInteger id)
id - id or null for nonepublic String getInterconnect()
null for nonepublic InterconnectAttachment setInterconnect(String interconnect)
interconnect - interconnect or null for nonepublic List<String> getIpsecInternalAddresses()
null for nonepublic InterconnectAttachment setIpsecInternalAddresses(List<String> ipsecInternalAddresses)
ipsecInternalAddresses - ipsecInternalAddresses or null for nonepublic String getKind()
null for nonepublic InterconnectAttachment setKind(String kind)
kind - kind or null for nonepublic String getLabelFingerprint()
null for nonedecodeLabelFingerprint()public byte[] decodeLabelFingerprint()
null for nonegetLabelFingerprint()public InterconnectAttachment setLabelFingerprint(String labelFingerprint)
labelFingerprint - labelFingerprint or null for none#encodeLabelFingerprint()public InterconnectAttachment encodeLabelFingerprint(byte[] labelFingerprint)
 The value is encoded Base64 or {@code null} for none.
 
public Map<String,String> getLabels()
null for nonepublic InterconnectAttachment setLabels(Map<String,String> labels)
labels - labels or null for nonepublic Integer getMtu()
null for nonepublic InterconnectAttachment setMtu(Integer mtu)
mtu - mtu or null for nonepublic String getName()
null for nonepublic InterconnectAttachment setName(String name)
name - name or null for nonepublic String getOperationalStatus()
null for nonepublic InterconnectAttachment setOperationalStatus(String operationalStatus)
operationalStatus - operationalStatus or null for nonepublic String getPairingKey()
null for nonepublic InterconnectAttachment setPairingKey(String pairingKey)
pairingKey - pairingKey or null for nonepublic Long getPartnerAsn()
null for nonepublic InterconnectAttachment setPartnerAsn(Long partnerAsn)
partnerAsn - partnerAsn or null for nonepublic InterconnectAttachmentPartnerMetadata getPartnerMetadata()
null for nonepublic InterconnectAttachment setPartnerMetadata(InterconnectAttachmentPartnerMetadata partnerMetadata)
partnerMetadata - partnerMetadata or null for nonepublic InterconnectAttachmentPrivateInfo getPrivateInterconnectInfo()
null for nonepublic InterconnectAttachment setPrivateInterconnectInfo(InterconnectAttachmentPrivateInfo privateInterconnectInfo)
privateInterconnectInfo - privateInterconnectInfo or null for nonepublic String getRegion()
null for nonepublic InterconnectAttachment setRegion(String region)
region - region or null for nonepublic String getRouter()
null for nonepublic InterconnectAttachment setRouter(String router)
router - router or null for nonepublic String getSelfLink()
null for nonepublic InterconnectAttachment setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getSelfLinkWithId()
null for nonepublic InterconnectAttachment setSelfLinkWithId(String selfLinkWithId)
selfLinkWithId - selfLinkWithId or null for nonepublic String getState()
null for nonepublic InterconnectAttachment setState(String state)
state - state or null for nonepublic String getType()
null for nonepublic InterconnectAttachment setType(String type)
type - type or null for nonepublic Integer getVlanTag8021q()
null for nonepublic InterconnectAttachment setVlanTag8021q(Integer vlanTag8021q)
vlanTag8021q - vlanTag8021q or null for nonepublic InterconnectAttachment set(String fieldName, Object value)
set in class GenericJsonpublic InterconnectAttachment clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.