All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.compute.model.Interconnect Maven / Gradle / Ivy

There is a newer version: v1-rev20240903-2.0.0
Show newest version
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.compute.model;

/**
 * Represents an Interconnect resource. An Interconnect resource is a dedicated connection between
 * the Google Cloud network and your on-premises network. For more information, read the Dedicated
 * Interconnect Overview.
 *
 * 

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 *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class Interconnect extends com.google.api.client.json.GenericJson { /** * Administrative status of the interconnect. When this is set to true, the Interconnect is * functional and can carry traffic. When set to false, no packets can be carried over the * interconnect and no BGP routes are exchanged over it. By default, the status is set to true. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean adminEnabled; /** * [Output only] List of features available for this Interconnect connection, which can take one * of the following values: - IF_MACSEC If present then the Interconnect connection is provisioned * on MACsec capable hardware ports. If not present then the Interconnect connection is * provisioned on non-MACsec capable ports and MACsec isn't supported and enabling MACsec fails. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List availableFeatures; /** * [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List circuitInfos; /** * [Output Only] Creation timestamp in RFC3339 text format. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String creationTimestamp; /** * Customer name, to put in the Letter of Authorization as the party authorized to request a * crossconnect. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String customerName; /** * An optional description of this resource. Provide this property when you create the resource. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String description; /** * [Output Only] A list of outages expected for this Interconnect. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List expectedOutages; /** * [Output Only] IP address configured on the Google side of the Interconnect link. This can be * used only for ping tests. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String googleIpAddress; /** * [Output Only] Google reference ID to be used when raising support tickets with Google or * otherwise to debug backend connectivity issues. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String googleReferenceId; /** * [Output Only] The unique identifier for the resource. This identifier is defined by the server. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.math.BigInteger id; /** * [Output Only] A list of the URLs of all InterconnectAttachments configured to use this * Interconnect. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List interconnectAttachments; /** * Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed * interconnection shared between customers though a partner. - DEDICATED: A dedicated physical * interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of * DEDICATED. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String interconnectType; /** * [Output Only] Type of the resource. Always compute#interconnect for interconnects. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String kind; /** * A fingerprint for the labels being applied to this Interconnect, which is essentially a hash of * the labels set used for optimistic locking. The fingerprint is initially generated by Compute * Engine and changes after every request to modify or update labels. You must always provide an * up-to-date fingerprint hash in order to update or change labels, otherwise the request will * fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to * retrieve an Interconnect. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String labelFingerprint; /** * Labels for this resource. These can only be added or modified by the setLabels method. Each * label key/value pair must comply with RFC1035. Label values may be empty. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map labels; /** * Type of link requested, which can take one of the following values: - * LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G * Ethernet with LR optics. Note that this field indicates the speed of each of the links in the * bundle, not the speed of the entire bundle. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String linkType; /** * URL of the InterconnectLocation object that represents where this connection is to be * provisioned. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String location; /** * Configuration that enables Media Access Control security (MACsec) on the Cloud Interconnect * connection between Google and your on-premises router. * The value may be {@code null}. */ @com.google.api.client.util.Key private InterconnectMacsec macsec; /** * Enable or disable MACsec on this Interconnect connection. MACsec enablement fails if the MACsec * object is not specified. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean macsecEnabled; /** * Name of the resource. Provided by the client when the resource is created. The name must be * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first * character must be a lowercase letter, and all following characters must be a dash, lowercase * letter, or digit, except the last character, which cannot be a dash. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Email address to contact the customer NOC for operations and maintenance notifications * regarding this Interconnect. If specified, this will be used for notifications in addition to * all other forms described, such as Cloud Monitoring logs alerting and Cloud Notifications. This * field is required for users who sign up for Cloud Interconnect using workforce identity * federation. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String nocContactEmail; /** * [Output Only] The current status of this Interconnect's functionality, which can take one of * the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to * use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect * that has not completed turnup. No attachments may be provisioned on this Interconnect. - * OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments * may be provisioned or updated on this Interconnect. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String operationalStatus; /** * [Output Only] IP address configured on the customer side of the Interconnect link. The customer * should configure this IP address during turnup when prompted by Google NOC. This can be used * only for ping tests. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String peerIpAddress; /** * [Output Only] Number of links actually provisioned in this interconnect. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer provisionedLinkCount; /** * Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside of * Google's network that the interconnect is connected to. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String remoteLocation; /** * Optional. List of features requested for this Interconnect connection, which can take one of * the following values: - IF_MACSEC If specified then the connection is created on MACsec capable * hardware ports. If not specified, the default value is false, which allocates non-MACsec * capable ports first if available. This parameter can be provided only with Interconnect INSERT. * It isn't valid for Interconnect PATCH. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List requestedFeatures; /** * Target number of physical links in the link bundle, as requested by the customer. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer requestedLinkCount; /** * [Output Only] Reserved for future use. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean satisfiesPzs; /** * [Output Only] Server-defined URL for the resource. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String selfLink; /** * [Output Only] The current state of Interconnect functionality, which can take one of the * following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments * may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed * turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The * Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated * on this Interconnect. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String state; /** * Administrative status of the interconnect. When this is set to true, the Interconnect is * functional and can carry traffic. When set to false, no packets can be carried over the * interconnect and no BGP routes are exchanged over it. By default, the status is set to true. * @return value or {@code null} for none */ public java.lang.Boolean getAdminEnabled() { return adminEnabled; } /** * Administrative status of the interconnect. When this is set to true, the Interconnect is * functional and can carry traffic. When set to false, no packets can be carried over the * interconnect and no BGP routes are exchanged over it. By default, the status is set to true. * @param adminEnabled adminEnabled or {@code null} for none */ public Interconnect setAdminEnabled(java.lang.Boolean adminEnabled) { this.adminEnabled = adminEnabled; return this; } /** * [Output only] List of features available for this Interconnect connection, which can take one * of the following values: - IF_MACSEC If present then the Interconnect connection is provisioned * on MACsec capable hardware ports. If not present then the Interconnect connection is * provisioned on non-MACsec capable ports and MACsec isn't supported and enabling MACsec fails. * @return value or {@code null} for none */ public java.util.List getAvailableFeatures() { return availableFeatures; } /** * [Output only] List of features available for this Interconnect connection, which can take one * of the following values: - IF_MACSEC If present then the Interconnect connection is provisioned * on MACsec capable hardware ports. If not present then the Interconnect connection is * provisioned on non-MACsec capable ports and MACsec isn't supported and enabling MACsec fails. * @param availableFeatures availableFeatures or {@code null} for none */ public Interconnect setAvailableFeatures(java.util.List availableFeatures) { this.availableFeatures = availableFeatures; return this; } /** * [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG. * @return value or {@code null} for none */ public java.util.List getCircuitInfos() { return circuitInfos; } /** * [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG. * @param circuitInfos circuitInfos or {@code null} for none */ public Interconnect setCircuitInfos(java.util.List circuitInfos) { this.circuitInfos = circuitInfos; return this; } /** * [Output Only] Creation timestamp in RFC3339 text format. * @return value or {@code null} for none */ public java.lang.String getCreationTimestamp() { return creationTimestamp; } /** * [Output Only] Creation timestamp in RFC3339 text format. * @param creationTimestamp creationTimestamp or {@code null} for none */ public Interconnect setCreationTimestamp(java.lang.String creationTimestamp) { this.creationTimestamp = creationTimestamp; return this; } /** * Customer name, to put in the Letter of Authorization as the party authorized to request a * crossconnect. * @return value or {@code null} for none */ public java.lang.String getCustomerName() { return customerName; } /** * Customer name, to put in the Letter of Authorization as the party authorized to request a * crossconnect. * @param customerName customerName or {@code null} for none */ public Interconnect setCustomerName(java.lang.String customerName) { this.customerName = customerName; return this; } /** * An optional description of this resource. Provide this property when you create the resource. * @return value or {@code null} for none */ public java.lang.String getDescription() { return description; } /** * An optional description of this resource. Provide this property when you create the resource. * @param description description or {@code null} for none */ public Interconnect setDescription(java.lang.String description) { this.description = description; return this; } /** * [Output Only] A list of outages expected for this Interconnect. * @return value or {@code null} for none */ public java.util.List getExpectedOutages() { return expectedOutages; } /** * [Output Only] A list of outages expected for this Interconnect. * @param expectedOutages expectedOutages or {@code null} for none */ public Interconnect setExpectedOutages(java.util.List expectedOutages) { this.expectedOutages = expectedOutages; return this; } /** * [Output Only] IP address configured on the Google side of the Interconnect link. This can be * used only for ping tests. * @return value or {@code null} for none */ public java.lang.String getGoogleIpAddress() { return googleIpAddress; } /** * [Output Only] IP address configured on the Google side of the Interconnect link. This can be * used only for ping tests. * @param googleIpAddress googleIpAddress or {@code null} for none */ public Interconnect setGoogleIpAddress(java.lang.String googleIpAddress) { this.googleIpAddress = googleIpAddress; return this; } /** * [Output Only] Google reference ID to be used when raising support tickets with Google or * otherwise to debug backend connectivity issues. * @return value or {@code null} for none */ public java.lang.String getGoogleReferenceId() { return googleReferenceId; } /** * [Output Only] Google reference ID to be used when raising support tickets with Google or * otherwise to debug backend connectivity issues. * @param googleReferenceId googleReferenceId or {@code null} for none */ public Interconnect setGoogleReferenceId(java.lang.String googleReferenceId) { this.googleReferenceId = googleReferenceId; return this; } /** * [Output Only] The unique identifier for the resource. This identifier is defined by the server. * @return value or {@code null} for none */ public java.math.BigInteger getId() { return id; } /** * [Output Only] The unique identifier for the resource. This identifier is defined by the server. * @param id id or {@code null} for none */ public Interconnect setId(java.math.BigInteger id) { this.id = id; return this; } /** * [Output Only] A list of the URLs of all InterconnectAttachments configured to use this * Interconnect. * @return value or {@code null} for none */ public java.util.List getInterconnectAttachments() { return interconnectAttachments; } /** * [Output Only] A list of the URLs of all InterconnectAttachments configured to use this * Interconnect. * @param interconnectAttachments interconnectAttachments or {@code null} for none */ public Interconnect setInterconnectAttachments(java.util.List interconnectAttachments) { this.interconnectAttachments = interconnectAttachments; return this; } /** * Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed * interconnection shared between customers though a partner. - DEDICATED: A dedicated physical * interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of * DEDICATED. * @return value or {@code null} for none */ public java.lang.String getInterconnectType() { return interconnectType; } /** * Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed * interconnection shared between customers though a partner. - DEDICATED: A dedicated physical * interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of * DEDICATED. * @param interconnectType interconnectType or {@code null} for none */ public Interconnect setInterconnectType(java.lang.String interconnectType) { this.interconnectType = interconnectType; return this; } /** * [Output Only] Type of the resource. Always compute#interconnect for interconnects. * @return value or {@code null} for none */ public java.lang.String getKind() { return kind; } /** * [Output Only] Type of the resource. Always compute#interconnect for interconnects. * @param kind kind or {@code null} for none */ public Interconnect setKind(java.lang.String kind) { this.kind = kind; return this; } /** * A fingerprint for the labels being applied to this Interconnect, which is essentially a hash of * the labels set used for optimistic locking. The fingerprint is initially generated by Compute * Engine and changes after every request to modify or update labels. You must always provide an * up-to-date fingerprint hash in order to update or change labels, otherwise the request will * fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to * retrieve an Interconnect. * @see #decodeLabelFingerprint() * @return value or {@code null} for none */ public java.lang.String getLabelFingerprint() { return labelFingerprint; } /** * A fingerprint for the labels being applied to this Interconnect, which is essentially a hash of * the labels set used for optimistic locking. The fingerprint is initially generated by Compute * Engine and changes after every request to modify or update labels. You must always provide an * up-to-date fingerprint hash in order to update or change labels, otherwise the request will * fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to * retrieve an Interconnect. * @see #getLabelFingerprint() * @return Base64 decoded value or {@code null} for none * * @since 1.14 */ public byte[] decodeLabelFingerprint() { return com.google.api.client.util.Base64.decodeBase64(labelFingerprint); } /** * A fingerprint for the labels being applied to this Interconnect, which is essentially a hash of * the labels set used for optimistic locking. The fingerprint is initially generated by Compute * Engine and changes after every request to modify or update labels. You must always provide an * up-to-date fingerprint hash in order to update or change labels, otherwise the request will * fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to * retrieve an Interconnect. * @see #encodeLabelFingerprint() * @param labelFingerprint labelFingerprint or {@code null} for none */ public Interconnect setLabelFingerprint(java.lang.String labelFingerprint) { this.labelFingerprint = labelFingerprint; return this; } /** * A fingerprint for the labels being applied to this Interconnect, which is essentially a hash of * the labels set used for optimistic locking. The fingerprint is initially generated by Compute * Engine and changes after every request to modify or update labels. You must always provide an * up-to-date fingerprint hash in order to update or change labels, otherwise the request will * fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to * retrieve an Interconnect. * @see #setLabelFingerprint() * *

* The value is encoded Base64 or {@code null} for none. *

* * @since 1.14 */ public Interconnect encodeLabelFingerprint(byte[] labelFingerprint) { this.labelFingerprint = com.google.api.client.util.Base64.encodeBase64URLSafeString(labelFingerprint); return this; } /** * Labels for this resource. These can only be added or modified by the setLabels method. Each * label key/value pair must comply with RFC1035. Label values may be empty. * @return value or {@code null} for none */ public java.util.Map getLabels() { return labels; } /** * Labels for this resource. These can only be added or modified by the setLabels method. Each * label key/value pair must comply with RFC1035. Label values may be empty. * @param labels labels or {@code null} for none */ public Interconnect setLabels(java.util.Map labels) { this.labels = labels; return this; } /** * Type of link requested, which can take one of the following values: - * LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G * Ethernet with LR optics. Note that this field indicates the speed of each of the links in the * bundle, not the speed of the entire bundle. * @return value or {@code null} for none */ public java.lang.String getLinkType() { return linkType; } /** * Type of link requested, which can take one of the following values: - * LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G * Ethernet with LR optics. Note that this field indicates the speed of each of the links in the * bundle, not the speed of the entire bundle. * @param linkType linkType or {@code null} for none */ public Interconnect setLinkType(java.lang.String linkType) { this.linkType = linkType; return this; } /** * URL of the InterconnectLocation object that represents where this connection is to be * provisioned. * @return value or {@code null} for none */ public java.lang.String getLocation() { return location; } /** * URL of the InterconnectLocation object that represents where this connection is to be * provisioned. * @param location location or {@code null} for none */ public Interconnect setLocation(java.lang.String location) { this.location = location; return this; } /** * Configuration that enables Media Access Control security (MACsec) on the Cloud Interconnect * connection between Google and your on-premises router. * @return value or {@code null} for none */ public InterconnectMacsec getMacsec() { return macsec; } /** * Configuration that enables Media Access Control security (MACsec) on the Cloud Interconnect * connection between Google and your on-premises router. * @param macsec macsec or {@code null} for none */ public Interconnect setMacsec(InterconnectMacsec macsec) { this.macsec = macsec; return this; } /** * Enable or disable MACsec on this Interconnect connection. MACsec enablement fails if the MACsec * object is not specified. * @return value or {@code null} for none */ public java.lang.Boolean getMacsecEnabled() { return macsecEnabled; } /** * Enable or disable MACsec on this Interconnect connection. MACsec enablement fails if the MACsec * object is not specified. * @param macsecEnabled macsecEnabled or {@code null} for none */ public Interconnect setMacsecEnabled(java.lang.Boolean macsecEnabled) { this.macsecEnabled = macsecEnabled; return this; } /** * Name of the resource. Provided by the client when the resource is created. The name must be * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first * character must be a lowercase letter, and all following characters must be a dash, lowercase * letter, or digit, except the last character, which cannot be a dash. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Name of the resource. Provided by the client when the resource is created. The name must be * 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters * long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first * character must be a lowercase letter, and all following characters must be a dash, lowercase * letter, or digit, except the last character, which cannot be a dash. * @param name name or {@code null} for none */ public Interconnect setName(java.lang.String name) { this.name = name; return this; } /** * Email address to contact the customer NOC for operations and maintenance notifications * regarding this Interconnect. If specified, this will be used for notifications in addition to * all other forms described, such as Cloud Monitoring logs alerting and Cloud Notifications. This * field is required for users who sign up for Cloud Interconnect using workforce identity * federation. * @return value or {@code null} for none */ public java.lang.String getNocContactEmail() { return nocContactEmail; } /** * Email address to contact the customer NOC for operations and maintenance notifications * regarding this Interconnect. If specified, this will be used for notifications in addition to * all other forms described, such as Cloud Monitoring logs alerting and Cloud Notifications. This * field is required for users who sign up for Cloud Interconnect using workforce identity * federation. * @param nocContactEmail nocContactEmail or {@code null} for none */ public Interconnect setNocContactEmail(java.lang.String nocContactEmail) { this.nocContactEmail = nocContactEmail; return this; } /** * [Output Only] The current status of this Interconnect's functionality, which can take one of * the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to * use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect * that has not completed turnup. No attachments may be provisioned on this Interconnect. - * OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments * may be provisioned or updated on this Interconnect. * @return value or {@code null} for none */ public java.lang.String getOperationalStatus() { return operationalStatus; } /** * [Output Only] The current status of this Interconnect's functionality, which can take one of * the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to * use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect * that has not completed turnup. No attachments may be provisioned on this Interconnect. - * OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments * may be provisioned or updated on this Interconnect. * @param operationalStatus operationalStatus or {@code null} for none */ public Interconnect setOperationalStatus(java.lang.String operationalStatus) { this.operationalStatus = operationalStatus; return this; } /** * [Output Only] IP address configured on the customer side of the Interconnect link. The customer * should configure this IP address during turnup when prompted by Google NOC. This can be used * only for ping tests. * @return value or {@code null} for none */ public java.lang.String getPeerIpAddress() { return peerIpAddress; } /** * [Output Only] IP address configured on the customer side of the Interconnect link. The customer * should configure this IP address during turnup when prompted by Google NOC. This can be used * only for ping tests. * @param peerIpAddress peerIpAddress or {@code null} for none */ public Interconnect setPeerIpAddress(java.lang.String peerIpAddress) { this.peerIpAddress = peerIpAddress; return this; } /** * [Output Only] Number of links actually provisioned in this interconnect. * @return value or {@code null} for none */ public java.lang.Integer getProvisionedLinkCount() { return provisionedLinkCount; } /** * [Output Only] Number of links actually provisioned in this interconnect. * @param provisionedLinkCount provisionedLinkCount or {@code null} for none */ public Interconnect setProvisionedLinkCount(java.lang.Integer provisionedLinkCount) { this.provisionedLinkCount = provisionedLinkCount; return this; } /** * Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside of * Google's network that the interconnect is connected to. * @return value or {@code null} for none */ public java.lang.String getRemoteLocation() { return remoteLocation; } /** * Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside of * Google's network that the interconnect is connected to. * @param remoteLocation remoteLocation or {@code null} for none */ public Interconnect setRemoteLocation(java.lang.String remoteLocation) { this.remoteLocation = remoteLocation; return this; } /** * Optional. List of features requested for this Interconnect connection, which can take one of * the following values: - IF_MACSEC If specified then the connection is created on MACsec capable * hardware ports. If not specified, the default value is false, which allocates non-MACsec * capable ports first if available. This parameter can be provided only with Interconnect INSERT. * It isn't valid for Interconnect PATCH. * @return value or {@code null} for none */ public java.util.List getRequestedFeatures() { return requestedFeatures; } /** * Optional. List of features requested for this Interconnect connection, which can take one of * the following values: - IF_MACSEC If specified then the connection is created on MACsec capable * hardware ports. If not specified, the default value is false, which allocates non-MACsec * capable ports first if available. This parameter can be provided only with Interconnect INSERT. * It isn't valid for Interconnect PATCH. * @param requestedFeatures requestedFeatures or {@code null} for none */ public Interconnect setRequestedFeatures(java.util.List requestedFeatures) { this.requestedFeatures = requestedFeatures; return this; } /** * Target number of physical links in the link bundle, as requested by the customer. * @return value or {@code null} for none */ public java.lang.Integer getRequestedLinkCount() { return requestedLinkCount; } /** * Target number of physical links in the link bundle, as requested by the customer. * @param requestedLinkCount requestedLinkCount or {@code null} for none */ public Interconnect setRequestedLinkCount(java.lang.Integer requestedLinkCount) { this.requestedLinkCount = requestedLinkCount; return this; } /** * [Output Only] Reserved for future use. * @return value or {@code null} for none */ public java.lang.Boolean getSatisfiesPzs() { return satisfiesPzs; } /** * [Output Only] Reserved for future use. * @param satisfiesPzs satisfiesPzs or {@code null} for none */ public Interconnect setSatisfiesPzs(java.lang.Boolean satisfiesPzs) { this.satisfiesPzs = satisfiesPzs; return this; } /** * [Output Only] Server-defined URL for the resource. * @return value or {@code null} for none */ public java.lang.String getSelfLink() { return selfLink; } /** * [Output Only] Server-defined URL for the resource. * @param selfLink selfLink or {@code null} for none */ public Interconnect setSelfLink(java.lang.String selfLink) { this.selfLink = selfLink; return this; } /** * [Output Only] The current state of Interconnect functionality, which can take one of the * following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments * may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed * turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The * Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated * on this Interconnect. * @return value or {@code null} for none */ public java.lang.String getState() { return state; } /** * [Output Only] The current state of Interconnect functionality, which can take one of the * following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments * may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed * turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The * Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated * on this Interconnect. * @param state state or {@code null} for none */ public Interconnect setState(java.lang.String state) { this.state = state; return this; } @Override public Interconnect set(String fieldName, Object value) { return (Interconnect) super.set(fieldName, value); } @Override public Interconnect clone() { return (Interconnect) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy