public static class InterconnectAttachment.Builder extends Object
Modifier and Type | Method and Description |
---|---|
InterconnectAttachment.Builder |
addAllCandidateSubnets(List<String> candidateSubnets)
Up to 16 candidate prefixes that can be used to restrict the allocation of
cloudRouterIpAddress and customerRouterIpAddress for this attachment.
|
InterconnectAttachment.Builder |
addCandidateSubnets(String candidateSubnets)
Up to 16 candidate prefixes that can be used to restrict the allocation of
cloudRouterIpAddress and customerRouterIpAddress for this attachment.
|
InterconnectAttachment |
build() |
InterconnectAttachment.Builder |
clone() |
Boolean |
getAdminEnabled()
Determines whether this Attachment will carry packets.
|
String |
getBandwidth()
Provisioned bandwidth capacity for the interconnect attachment.
|
List<String> |
getCandidateSubnetsList()
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.
|
String |
getDescription()
An optional description of this resource.
|
String |
getEdgeAvailabilityDomain()
Desired availability domain for the attachment.
|
String |
getGoogleReferenceId()
[Output Only] Google reference ID, to be used when raising support tickets with Google or
otherwise to debug backend connectivity issues.
|
String |
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.
|
String |
getKind()
[Output Only] Type of the resource.
|
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.
|
String |
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 |
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.Builder |
mergeFrom(InterconnectAttachment other) |
InterconnectAttachment.Builder |
setAdminEnabled(Boolean adminEnabled)
Determines whether this Attachment will carry packets.
|
InterconnectAttachment.Builder |
setBandwidth(String bandwidth)
Provisioned bandwidth capacity for the interconnect attachment.
|
InterconnectAttachment.Builder |
setCloudRouterIpAddress(String cloudRouterIpAddress)
[Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for
this interconnect attachment.
|
InterconnectAttachment.Builder |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
InterconnectAttachment.Builder |
setCustomerRouterIpAddress(String customerRouterIpAddress)
[Output Only] IPv4 address + prefix length to be configured on the customer router
subinterface for this interconnect attachment.
|
InterconnectAttachment.Builder |
setDescription(String description)
An optional description of this resource.
|
InterconnectAttachment.Builder |
setEdgeAvailabilityDomain(String edgeAvailabilityDomain)
Desired availability domain for the attachment.
|
InterconnectAttachment.Builder |
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.Builder |
setId(String id)
[Output Only] The unique identifier for the resource.
|
InterconnectAttachment.Builder |
setInterconnect(String interconnect)
URL of the underlying Interconnect object that this attachment's traffic will traverse
through.
|
InterconnectAttachment.Builder |
setKind(String kind)
[Output Only] Type of the resource.
|
InterconnectAttachment.Builder |
setName(String name)
Name of the resource.
|
InterconnectAttachment.Builder |
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.Builder |
setPairingKey(String pairingKey)
[Output only for type PARTNER.
|
InterconnectAttachment.Builder |
setPartnerAsn(String partnerAsn)
Optional BGP ASN for the router supplied by a Layer 3 Partner if they configured BGP on
behalf of the customer.
|
InterconnectAttachment.Builder |
setPartnerMetadata(InterconnectAttachmentPartnerMetadata partnerMetadata)
Informational metadata about Partner attachments from Partners to display to customers.
|
InterconnectAttachment.Builder |
setPrivateInterconnectInfo(InterconnectAttachmentPrivateInfo privateInterconnectInfo)
[Output Only] Information specific to an InterconnectAttachment.
|
InterconnectAttachment.Builder |
setRegion(String region)
[Output Only] URL of the region where the regional interconnect attachment resides.
|
InterconnectAttachment.Builder |
setRouter(String router)
URL of the Cloud Router to be used for dynamic routing.
|
InterconnectAttachment.Builder |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
InterconnectAttachment.Builder |
setState(String state)
[Output Only] The current state of this attachment's functionality.
|
InterconnectAttachment.Builder |
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.Builder |
setVlanTag8021q(Integer vlanTag8021q)
The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094.
|
public InterconnectAttachment.Builder mergeFrom(InterconnectAttachment other)
public Boolean getAdminEnabled()
public InterconnectAttachment.Builder setAdminEnabled(Boolean adminEnabled)
public String getBandwidth()
public InterconnectAttachment.Builder setBandwidth(String bandwidth)
public List<String> getCandidateSubnetsList()
public InterconnectAttachment.Builder addAllCandidateSubnets(List<String> candidateSubnets)
public InterconnectAttachment.Builder addCandidateSubnets(String candidateSubnets)
public String getCloudRouterIpAddress()
public InterconnectAttachment.Builder setCloudRouterIpAddress(String cloudRouterIpAddress)
public String getCreationTimestamp()
public InterconnectAttachment.Builder setCreationTimestamp(String creationTimestamp)
public String getCustomerRouterIpAddress()
public InterconnectAttachment.Builder setCustomerRouterIpAddress(String customerRouterIpAddress)
public String getDescription()
public InterconnectAttachment.Builder setDescription(String description)
public String getEdgeAvailabilityDomain()
public InterconnectAttachment.Builder setEdgeAvailabilityDomain(String edgeAvailabilityDomain)
public String getGoogleReferenceId()
public InterconnectAttachment.Builder setGoogleReferenceId(String googleReferenceId)
public String getId()
public InterconnectAttachment.Builder setId(String id)
public String getInterconnect()
public InterconnectAttachment.Builder setInterconnect(String interconnect)
public String getKind()
public InterconnectAttachment.Builder setKind(String kind)
public String getName()
public InterconnectAttachment.Builder setName(String name)
public String getOperationalStatus()
public InterconnectAttachment.Builder setOperationalStatus(String operationalStatus)
public String getPairingKey()
public InterconnectAttachment.Builder setPairingKey(String pairingKey)
public String getPartnerAsn()
public InterconnectAttachment.Builder setPartnerAsn(String partnerAsn)
public InterconnectAttachmentPartnerMetadata getPartnerMetadata()
public InterconnectAttachment.Builder setPartnerMetadata(InterconnectAttachmentPartnerMetadata partnerMetadata)
public InterconnectAttachmentPrivateInfo getPrivateInterconnectInfo()
public InterconnectAttachment.Builder setPrivateInterconnectInfo(InterconnectAttachmentPrivateInfo privateInterconnectInfo)
public String getRegion()
public InterconnectAttachment.Builder setRegion(String region)
public String getRouter()
public InterconnectAttachment.Builder setRouter(String router)
public String getSelfLink()
public InterconnectAttachment.Builder setSelfLink(String selfLink)
public String getState()
public InterconnectAttachment.Builder setState(String state)
public String getType()
public InterconnectAttachment.Builder setType(String type)
public Integer getVlanTag8021q()
public InterconnectAttachment.Builder setVlanTag8021q(Integer vlanTag8021q)
public InterconnectAttachment build()
public InterconnectAttachment.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.