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

com.google.api.services.vmwareengine.v1.model.PrivateConnection Maven / Gradle / Ivy

There is a newer version: v1-rev20241009-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.vmwareengine.v1.model;

/**
 * Private connection resource that provides connectivity for VMware Engine private clouds.
 *
 * 

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 VMware 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 PrivateConnection extends com.google.api.client.json.GenericJson { /** * Output only. Creation time of this resource. * The value may be {@code null}. */ @com.google.api.client.util.Key private String createTime; /** * Optional. User-provided description for this private connection. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String description; /** * Output only. The resource name of the private connection. Resource names are schemeless URIs * that follow the conventions in https://cloud.google.com/apis/design/resource_names. For * example: `projects/my-project/locations/us-central1/privateConnections/my-connection` * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Output only. VPC network peering id between given network VPC and VMwareEngineNetwork. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String peeringId; /** * Output only. Peering state between service network and VMware Engine network. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String peeringState; /** * Optional. Routing Mode. Default value is set to GLOBAL. For type = PRIVATE_SERVICE_ACCESS, this * field can be set to GLOBAL or REGIONAL, for other types only GLOBAL is supported. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String routingMode; /** * Required. Service network to create private connection. Specify the name in the following form: * `projects/{project}/global/networks/{network_id}` For type = PRIVATE_SERVICE_ACCESS, this field * represents servicenetworking VPC, e.g. projects/project-tp/global/networks/servicenetworking. * For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC, e.g. projects * /project-tp/global/networks/netapp-tenant-vpc. For type = DELL_POWERSCALE, this field represent * Dell service VPC, e.g. projects/project-tp/global/networks/dell-tenant-vpc. For type= * THIRD_PARTY_SERVICE, this field could represent a consumer VPC or any other producer VPC to * which the VMware Engine Network needs to be connected, e.g. * projects/project/global/networks/vpc. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String serviceNetwork; /** * Output only. State of the private connection. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String state; /** * Required. Private connection type. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** * Output only. System-generated unique identifier for the resource. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String uid; /** * Output only. Last update time of this resource. * The value may be {@code null}. */ @com.google.api.client.util.Key private String updateTime; /** * Required. The relative resource name of Legacy VMware Engine network. Specify the name in the * following form: * `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where * `{project}`, `{location}` will be same as specified in private connection resource name and * `{vmware_engine_network_id}` will be in the form of `{location}`-default e.g. * projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String vmwareEngineNetwork; /** * Output only. The canonical name of the VMware Engine network in the form: `projects/{project_nu * mber}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String vmwareEngineNetworkCanonical; /** * Output only. Creation time of this resource. * @return value or {@code null} for none */ public String getCreateTime() { return createTime; } /** * Output only. Creation time of this resource. * @param createTime createTime or {@code null} for none */ public PrivateConnection setCreateTime(String createTime) { this.createTime = createTime; return this; } /** * Optional. User-provided description for this private connection. * @return value or {@code null} for none */ public java.lang.String getDescription() { return description; } /** * Optional. User-provided description for this private connection. * @param description description or {@code null} for none */ public PrivateConnection setDescription(java.lang.String description) { this.description = description; return this; } /** * Output only. The resource name of the private connection. Resource names are schemeless URIs * that follow the conventions in https://cloud.google.com/apis/design/resource_names. For * example: `projects/my-project/locations/us-central1/privateConnections/my-connection` * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Output only. The resource name of the private connection. Resource names are schemeless URIs * that follow the conventions in https://cloud.google.com/apis/design/resource_names. For * example: `projects/my-project/locations/us-central1/privateConnections/my-connection` * @param name name or {@code null} for none */ public PrivateConnection setName(java.lang.String name) { this.name = name; return this; } /** * Output only. VPC network peering id between given network VPC and VMwareEngineNetwork. * @return value or {@code null} for none */ public java.lang.String getPeeringId() { return peeringId; } /** * Output only. VPC network peering id between given network VPC and VMwareEngineNetwork. * @param peeringId peeringId or {@code null} for none */ public PrivateConnection setPeeringId(java.lang.String peeringId) { this.peeringId = peeringId; return this; } /** * Output only. Peering state between service network and VMware Engine network. * @return value or {@code null} for none */ public java.lang.String getPeeringState() { return peeringState; } /** * Output only. Peering state between service network and VMware Engine network. * @param peeringState peeringState or {@code null} for none */ public PrivateConnection setPeeringState(java.lang.String peeringState) { this.peeringState = peeringState; return this; } /** * Optional. Routing Mode. Default value is set to GLOBAL. For type = PRIVATE_SERVICE_ACCESS, this * field can be set to GLOBAL or REGIONAL, for other types only GLOBAL is supported. * @return value or {@code null} for none */ public java.lang.String getRoutingMode() { return routingMode; } /** * Optional. Routing Mode. Default value is set to GLOBAL. For type = PRIVATE_SERVICE_ACCESS, this * field can be set to GLOBAL or REGIONAL, for other types only GLOBAL is supported. * @param routingMode routingMode or {@code null} for none */ public PrivateConnection setRoutingMode(java.lang.String routingMode) { this.routingMode = routingMode; return this; } /** * Required. Service network to create private connection. Specify the name in the following form: * `projects/{project}/global/networks/{network_id}` For type = PRIVATE_SERVICE_ACCESS, this field * represents servicenetworking VPC, e.g. projects/project-tp/global/networks/servicenetworking. * For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC, e.g. projects * /project-tp/global/networks/netapp-tenant-vpc. For type = DELL_POWERSCALE, this field represent * Dell service VPC, e.g. projects/project-tp/global/networks/dell-tenant-vpc. For type= * THIRD_PARTY_SERVICE, this field could represent a consumer VPC or any other producer VPC to * which the VMware Engine Network needs to be connected, e.g. * projects/project/global/networks/vpc. * @return value or {@code null} for none */ public java.lang.String getServiceNetwork() { return serviceNetwork; } /** * Required. Service network to create private connection. Specify the name in the following form: * `projects/{project}/global/networks/{network_id}` For type = PRIVATE_SERVICE_ACCESS, this field * represents servicenetworking VPC, e.g. projects/project-tp/global/networks/servicenetworking. * For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC, e.g. projects * /project-tp/global/networks/netapp-tenant-vpc. For type = DELL_POWERSCALE, this field represent * Dell service VPC, e.g. projects/project-tp/global/networks/dell-tenant-vpc. For type= * THIRD_PARTY_SERVICE, this field could represent a consumer VPC or any other producer VPC to * which the VMware Engine Network needs to be connected, e.g. * projects/project/global/networks/vpc. * @param serviceNetwork serviceNetwork or {@code null} for none */ public PrivateConnection setServiceNetwork(java.lang.String serviceNetwork) { this.serviceNetwork = serviceNetwork; return this; } /** * Output only. State of the private connection. * @return value or {@code null} for none */ public java.lang.String getState() { return state; } /** * Output only. State of the private connection. * @param state state or {@code null} for none */ public PrivateConnection setState(java.lang.String state) { this.state = state; return this; } /** * Required. Private connection type. * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * Required. Private connection type. * @param type type or {@code null} for none */ public PrivateConnection setType(java.lang.String type) { this.type = type; return this; } /** * Output only. System-generated unique identifier for the resource. * @return value or {@code null} for none */ public java.lang.String getUid() { return uid; } /** * Output only. System-generated unique identifier for the resource. * @param uid uid or {@code null} for none */ public PrivateConnection setUid(java.lang.String uid) { this.uid = uid; return this; } /** * Output only. Last update time of this resource. * @return value or {@code null} for none */ public String getUpdateTime() { return updateTime; } /** * Output only. Last update time of this resource. * @param updateTime updateTime or {@code null} for none */ public PrivateConnection setUpdateTime(String updateTime) { this.updateTime = updateTime; return this; } /** * Required. The relative resource name of Legacy VMware Engine network. Specify the name in the * following form: * `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where * `{project}`, `{location}` will be same as specified in private connection resource name and * `{vmware_engine_network_id}` will be in the form of `{location}`-default e.g. * projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default. * @return value or {@code null} for none */ public java.lang.String getVmwareEngineNetwork() { return vmwareEngineNetwork; } /** * Required. The relative resource name of Legacy VMware Engine network. Specify the name in the * following form: * `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where * `{project}`, `{location}` will be same as specified in private connection resource name and * `{vmware_engine_network_id}` will be in the form of `{location}`-default e.g. * projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default. * @param vmwareEngineNetwork vmwareEngineNetwork or {@code null} for none */ public PrivateConnection setVmwareEngineNetwork(java.lang.String vmwareEngineNetwork) { this.vmwareEngineNetwork = vmwareEngineNetwork; return this; } /** * Output only. The canonical name of the VMware Engine network in the form: `projects/{project_nu * mber}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` * @return value or {@code null} for none */ public java.lang.String getVmwareEngineNetworkCanonical() { return vmwareEngineNetworkCanonical; } /** * Output only. The canonical name of the VMware Engine network in the form: `projects/{project_nu * mber}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` * @param vmwareEngineNetworkCanonical vmwareEngineNetworkCanonical or {@code null} for none */ public PrivateConnection setVmwareEngineNetworkCanonical(java.lang.String vmwareEngineNetworkCanonical) { this.vmwareEngineNetworkCanonical = vmwareEngineNetworkCanonical; return this; } @Override public PrivateConnection set(String fieldName, Object value) { return (PrivateConnection) super.set(fieldName, value); } @Override public PrivateConnection clone() { return (PrivateConnection) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy