public final class InterconnectAttachment
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 |
---|
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 |
getAttachmentGroup()
[Output Only] URL of the AttachmentGroup that includes this Attachment.
|
String |
getBandwidth()
Provisioned bandwidth capacity for the interconnect attachment.
|
List<String> |
getCandidateIpv6Subnets()
This field is not available.
|
List<String> |
getCandidateSubnets()
Input only.
|
String |
getCloudRouterIpAddress()
[Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for this
interconnect attachment.
|
String |
getCloudRouterIpv6Address()
[Output Only] IPv6 address + prefix length to be configured on Cloud Router Interface for this
interconnect attachment.
|
String |
getCloudRouterIpv6InterfaceId()
This field is not available.
|
InterconnectAttachmentConfigurationConstraints |
getConfigurationConstraints()
[Output Only] Constraints for this attachment, if any.
|
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.
|
String |
getCustomerRouterIpv6Address()
[Output Only] IPv6 address + prefix length to be configured on the customer router subinterface
for this interconnect attachment.
|
String |
getCustomerRouterIpv6InterfaceId()
This field is not available.
|
Integer |
getDataplaneVersion()
[Output Only] Dataplane version for this InterconnectAttachment.
|
String |
getDescription()
An optional description of this resource.
|
String |
getEdgeAvailabilityDomain()
Input only.
|
String |
getEncryption()
Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment).
|
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()
A list of URLs of addresses that have been reserved for the VLAN attachment.
|
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 |
getRemoteService()
[Output Only] If the attachment is on a Cross-Cloud Interconnect connection, this field
contains the interconnect's remote location service provider.
|
String |
getRouter()
URL of the Cloud Router to be used for dynamic routing.
|
Boolean |
getSatisfiesPzs()
[Output Only] Reserved for future use.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getStackType()
The stack type for this interconnect attachment to identify whether the IPv6 feature is enabled
or not.
|
String |
getState()
[Output Only] The current state of this attachment's functionality.
|
Integer |
getSubnetLength()
Input only.
|
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-4093.
|
InterconnectAttachment |
set(String fieldName,
Object value) |
InterconnectAttachment |
setAdminEnabled(Boolean adminEnabled)
Determines whether this Attachment will carry packets.
|
InterconnectAttachment |
setAttachmentGroup(String attachmentGroup)
[Output Only] URL of the AttachmentGroup that includes this Attachment.
|
InterconnectAttachment |
setBandwidth(String bandwidth)
Provisioned bandwidth capacity for the interconnect attachment.
|
InterconnectAttachment |
setCandidateIpv6Subnets(List<String> candidateIpv6Subnets)
This field is not available.
|
InterconnectAttachment |
setCandidateSubnets(List<String> candidateSubnets)
Input only.
|
InterconnectAttachment |
setCloudRouterIpAddress(String cloudRouterIpAddress)
[Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for this
interconnect attachment.
|
InterconnectAttachment |
setCloudRouterIpv6Address(String cloudRouterIpv6Address)
[Output Only] IPv6 address + prefix length to be configured on Cloud Router Interface for this
interconnect attachment.
|
InterconnectAttachment |
setCloudRouterIpv6InterfaceId(String cloudRouterIpv6InterfaceId)
This field is not available.
|
InterconnectAttachment |
setConfigurationConstraints(InterconnectAttachmentConfigurationConstraints configurationConstraints)
[Output Only] Constraints for this attachment, if any.
|
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 |
setCustomerRouterIpv6Address(String customerRouterIpv6Address)
[Output Only] IPv6 address + prefix length to be configured on the customer router subinterface
for this interconnect attachment.
|
InterconnectAttachment |
setCustomerRouterIpv6InterfaceId(String customerRouterIpv6InterfaceId)
This field is not available.
|
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)
Input only.
|
InterconnectAttachment |
setEncryption(String encryption)
Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment).
|
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)
A list of URLs of addresses that have been reserved for the VLAN attachment.
|
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 |
setRemoteService(String remoteService)
[Output Only] If the attachment is on a Cross-Cloud Interconnect connection, this field
contains the interconnect's remote location service provider.
|
InterconnectAttachment |
setRouter(String router)
URL of the Cloud Router to be used for dynamic routing.
|
InterconnectAttachment |
setSatisfiesPzs(Boolean satisfiesPzs)
[Output Only] Reserved for future use.
|
InterconnectAttachment |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
InterconnectAttachment |
setStackType(String stackType)
The stack type for this interconnect attachment to identify whether the IPv6 feature is enabled
or not.
|
InterconnectAttachment |
setState(String state)
[Output Only] The current state of this attachment's functionality.
|
InterconnectAttachment |
setSubnetLength(Integer subnetLength)
Input only.
|
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-4093.
|
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 Boolean getAdminEnabled()
null
for nonepublic InterconnectAttachment setAdminEnabled(Boolean adminEnabled)
adminEnabled
- adminEnabled or null
for nonepublic String getAttachmentGroup()
null
for nonepublic InterconnectAttachment setAttachmentGroup(String attachmentGroup)
attachmentGroup
- attachmentGroup or null
for nonepublic String getBandwidth()
null
for nonepublic InterconnectAttachment setBandwidth(String bandwidth)
bandwidth
- bandwidth or null
for nonepublic List<String> getCandidateIpv6Subnets()
null
for nonepublic InterconnectAttachment setCandidateIpv6Subnets(List<String> candidateIpv6Subnets)
candidateIpv6Subnets
- candidateIpv6Subnets 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 getCloudRouterIpv6Address()
null
for nonepublic InterconnectAttachment setCloudRouterIpv6Address(String cloudRouterIpv6Address)
cloudRouterIpv6Address
- cloudRouterIpv6Address or null
for nonepublic String getCloudRouterIpv6InterfaceId()
null
for nonepublic InterconnectAttachment setCloudRouterIpv6InterfaceId(String cloudRouterIpv6InterfaceId)
cloudRouterIpv6InterfaceId
- cloudRouterIpv6InterfaceId or null
for nonepublic InterconnectAttachmentConfigurationConstraints getConfigurationConstraints()
null
for nonepublic InterconnectAttachment setConfigurationConstraints(InterconnectAttachmentConfigurationConstraints configurationConstraints)
configurationConstraints
- configurationConstraints 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 String getCustomerRouterIpv6Address()
null
for nonepublic InterconnectAttachment setCustomerRouterIpv6Address(String customerRouterIpv6Address)
customerRouterIpv6Address
- customerRouterIpv6Address or null
for nonepublic String getCustomerRouterIpv6InterfaceId()
null
for nonepublic InterconnectAttachment setCustomerRouterIpv6InterfaceId(String customerRouterIpv6InterfaceId)
customerRouterIpv6InterfaceId
- customerRouterIpv6InterfaceId 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 getRemoteService()
null
for nonepublic InterconnectAttachment setRemoteService(String remoteService)
remoteService
- remoteService or null
for nonepublic String getRouter()
null
for nonepublic InterconnectAttachment setRouter(String router)
router
- router or null
for nonepublic Boolean getSatisfiesPzs()
null
for nonepublic InterconnectAttachment setSatisfiesPzs(Boolean satisfiesPzs)
satisfiesPzs
- satisfiesPzs or null
for nonepublic String getSelfLink()
null
for nonepublic InterconnectAttachment setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic String getStackType()
null
for nonepublic InterconnectAttachment setStackType(String stackType)
stackType
- stackType or null
for nonepublic String getState()
null
for nonepublic InterconnectAttachment setState(String state)
state
- state or null
for nonepublic Integer getSubnetLength()
null
for nonepublic InterconnectAttachment setSubnetLength(Integer subnetLength)
subnetLength
- subnetLength 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 com.google.api.client.json.GenericJson
public InterconnectAttachment clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.