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
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.
|
java.lang.Boolean |
getAdminEnabled()
Determines whether this Attachment will carry packets.
|
java.lang.String |
getBandwidth()
Provisioned bandwidth capacity for the interconnect attachment.
|
java.util.List<java.lang.String> |
getCandidateSubnets()
Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress
and customerRouterIpAddress for this attachment.
|
java.lang.String |
getCloudRouterIpAddress()
[Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for this
interconnect attachment.
|
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
java.lang.String |
getCustomerRouterIpAddress()
[Output Only] IPv4 address + prefix length to be configured on the customer router subinterface
for this interconnect attachment.
|
java.lang.String |
getDescription()
An optional description of this resource.
|
java.lang.String |
getEdgeAvailabilityDomain()
Desired availability domain for the attachment.
|
java.lang.String |
getGoogleReferenceId()
[Output Only] Google reference ID, to be used when raising support tickets with Google or
otherwise to debug backend connectivity issues.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.String |
getInterconnect()
URL of the underlying Interconnect object that this attachment's traffic will traverse through.
|
java.lang.String |
getKind()
[Output Only] Type of the resource.
|
java.lang.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.
|
java.util.Map<java.lang.String,java.lang.String> |
getLabels()
Labels to apply to this InterconnectAttachment resource.
|
java.lang.String |
getName()
Name of the resource.
|
java.lang.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.
|
java.lang.String |
getPairingKey()
[Output only for type PARTNER.
|
java.lang.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.
|
java.lang.String |
getRegion()
[Output Only] URL of the region where the regional interconnect attachment resides.
|
java.lang.String |
getRouter()
URL of the Cloud Router to be used for dynamic routing.
|
java.lang.String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
java.lang.String |
getState()
[Output Only] The current state of this attachment's functionality.
|
java.lang.String |
getType()
The type of interconnect attachment this is, which can take one of the following values: -
DEDICATED: an attachment to a Dedicated Interconnect.
|
java.lang.Integer |
getVlanTag8021q()
The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094.
|
InterconnectAttachment |
set(java.lang.String fieldName,
java.lang.Object value) |
InterconnectAttachment |
setAdminEnabled(java.lang.Boolean adminEnabled)
Determines whether this Attachment will carry packets.
|
InterconnectAttachment |
setBandwidth(java.lang.String bandwidth)
Provisioned bandwidth capacity for the interconnect attachment.
|
InterconnectAttachment |
setCandidateSubnets(java.util.List<java.lang.String> candidateSubnets)
Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress
and customerRouterIpAddress for this attachment.
|
InterconnectAttachment |
setCloudRouterIpAddress(java.lang.String cloudRouterIpAddress)
[Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for this
interconnect attachment.
|
InterconnectAttachment |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
InterconnectAttachment |
setCustomerRouterIpAddress(java.lang.String customerRouterIpAddress)
[Output Only] IPv4 address + prefix length to be configured on the customer router subinterface
for this interconnect attachment.
|
InterconnectAttachment |
setDescription(java.lang.String description)
An optional description of this resource.
|
InterconnectAttachment |
setEdgeAvailabilityDomain(java.lang.String edgeAvailabilityDomain)
Desired availability domain for the attachment.
|
InterconnectAttachment |
setGoogleReferenceId(java.lang.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(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
InterconnectAttachment |
setInterconnect(java.lang.String interconnect)
URL of the underlying Interconnect object that this attachment's traffic will traverse through.
|
InterconnectAttachment |
setKind(java.lang.String kind)
[Output Only] Type of the resource.
|
InterconnectAttachment |
setLabelFingerprint(java.lang.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(java.util.Map<java.lang.String,java.lang.String> labels)
Labels to apply to this InterconnectAttachment resource.
|
InterconnectAttachment |
setName(java.lang.String name)
Name of the resource.
|
InterconnectAttachment |
setOperationalStatus(java.lang.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(java.lang.String pairingKey)
[Output only for type PARTNER.
|
InterconnectAttachment |
setPartnerAsn(java.lang.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(java.lang.String region)
[Output Only] URL of the region where the regional interconnect attachment resides.
|
InterconnectAttachment |
setRouter(java.lang.String router)
URL of the Cloud Router to be used for dynamic routing.
|
InterconnectAttachment |
setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
InterconnectAttachment |
setState(java.lang.String state)
[Output Only] The current state of this attachment's functionality.
|
InterconnectAttachment |
setType(java.lang.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(java.lang.Integer vlanTag8021q)
The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getAdminEnabled()
null
for nonepublic InterconnectAttachment setAdminEnabled(java.lang.Boolean adminEnabled)
adminEnabled
- adminEnabled or null
for nonepublic java.lang.String getBandwidth()
null
for nonepublic InterconnectAttachment setBandwidth(java.lang.String bandwidth)
bandwidth
- bandwidth or null
for nonepublic java.util.List<java.lang.String> getCandidateSubnets()
null
for nonepublic InterconnectAttachment setCandidateSubnets(java.util.List<java.lang.String> candidateSubnets)
candidateSubnets
- candidateSubnets or null
for nonepublic java.lang.String getCloudRouterIpAddress()
null
for nonepublic InterconnectAttachment setCloudRouterIpAddress(java.lang.String cloudRouterIpAddress)
cloudRouterIpAddress
- cloudRouterIpAddress or null
for nonepublic java.lang.String getCreationTimestamp()
null
for nonepublic InterconnectAttachment setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp
- creationTimestamp or null
for nonepublic java.lang.String getCustomerRouterIpAddress()
null
for nonepublic InterconnectAttachment setCustomerRouterIpAddress(java.lang.String customerRouterIpAddress)
customerRouterIpAddress
- customerRouterIpAddress or null
for nonepublic java.lang.String getDescription()
null
for nonepublic InterconnectAttachment setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getEdgeAvailabilityDomain()
null
for nonepublic InterconnectAttachment setEdgeAvailabilityDomain(java.lang.String edgeAvailabilityDomain)
edgeAvailabilityDomain
- edgeAvailabilityDomain or null
for nonepublic java.lang.String getGoogleReferenceId()
null
for nonepublic InterconnectAttachment setGoogleReferenceId(java.lang.String googleReferenceId)
googleReferenceId
- googleReferenceId or null
for nonepublic java.math.BigInteger getId()
null
for nonepublic InterconnectAttachment setId(java.math.BigInteger id)
id
- id or null
for nonepublic java.lang.String getInterconnect()
null
for nonepublic InterconnectAttachment setInterconnect(java.lang.String interconnect)
interconnect
- interconnect or null
for nonepublic java.lang.String getKind()
null
for nonepublic InterconnectAttachment setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getLabelFingerprint()
null
for nonedecodeLabelFingerprint()
public byte[] decodeLabelFingerprint()
null
for nonegetLabelFingerprint()
public InterconnectAttachment setLabelFingerprint(java.lang.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 java.util.Map<java.lang.String,java.lang.String> getLabels()
null
for nonepublic InterconnectAttachment setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
labels
- labels or null
for nonepublic java.lang.String getName()
null
for nonepublic InterconnectAttachment setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getOperationalStatus()
null
for nonepublic InterconnectAttachment setOperationalStatus(java.lang.String operationalStatus)
operationalStatus
- operationalStatus or null
for nonepublic java.lang.String getPairingKey()
null
for nonepublic InterconnectAttachment setPairingKey(java.lang.String pairingKey)
pairingKey
- pairingKey or null
for nonepublic java.lang.Long getPartnerAsn()
null
for nonepublic InterconnectAttachment setPartnerAsn(java.lang.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 java.lang.String getRegion()
null
for nonepublic InterconnectAttachment setRegion(java.lang.String region)
region
- region or null
for nonepublic java.lang.String getRouter()
null
for nonepublic InterconnectAttachment setRouter(java.lang.String router)
router
- router or null
for nonepublic java.lang.String getSelfLink()
null
for nonepublic InterconnectAttachment setSelfLink(java.lang.String selfLink)
selfLink
- selfLink or null
for nonepublic java.lang.String getState()
null
for nonepublic InterconnectAttachment setState(java.lang.String state)
state
- state or null
for nonepublic java.lang.String getType()
null
for nonepublic InterconnectAttachment setType(java.lang.String type)
type
- type or null
for nonepublic java.lang.Integer getVlanTag8021q()
null
for nonepublic InterconnectAttachment setVlanTag8021q(java.lang.Integer vlanTag8021q)
vlanTag8021q
- vlanTag8021q or null
for nonepublic InterconnectAttachment set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public InterconnectAttachment clone()
clone
in class com.google.api.client.json.GenericJson