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

com.google.api.services.bigtableadmin.v2.model.CreateClusterRequest Maven / Gradle / Ivy

The 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.bigtableadmin.v2.model;

/**
 * Request message for BigtableInstanceAdmin.CreateCluster.
 *
 * 

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 Cloud Bigtable Admin 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 CreateClusterRequest extends com.google.api.client.json.GenericJson { /** * Required. The cluster to be created. Fields marked `OutputOnly` must be left blank. * The value may be {@code null}. */ @com.google.api.client.util.Key private Cluster cluster; /** * Required. The ID to be used when referring to the new cluster within its instance, e.g., just * `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String clusterId; /** * Required. The unique name of the instance in which to create the new cluster. Values are of the * form `projects/{project}/instances/{instance}`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String parent; /** * Required. The cluster to be created. Fields marked `OutputOnly` must be left blank. * @return value or {@code null} for none */ public Cluster getCluster() { return cluster; } /** * Required. The cluster to be created. Fields marked `OutputOnly` must be left blank. * @param cluster cluster or {@code null} for none */ public CreateClusterRequest setCluster(Cluster cluster) { this.cluster = cluster; return this; } /** * Required. The ID to be used when referring to the new cluster within its instance, e.g., just * `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`. * @return value or {@code null} for none */ public java.lang.String getClusterId() { return clusterId; } /** * Required. The ID to be used when referring to the new cluster within its instance, e.g., just * `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`. * @param clusterId clusterId or {@code null} for none */ public CreateClusterRequest setClusterId(java.lang.String clusterId) { this.clusterId = clusterId; return this; } /** * Required. The unique name of the instance in which to create the new cluster. Values are of the * form `projects/{project}/instances/{instance}`. * @return value or {@code null} for none */ public java.lang.String getParent() { return parent; } /** * Required. The unique name of the instance in which to create the new cluster. Values are of the * form `projects/{project}/instances/{instance}`. * @param parent parent or {@code null} for none */ public CreateClusterRequest setParent(java.lang.String parent) { this.parent = parent; return this; } @Override public CreateClusterRequest set(String fieldName, Object value) { return (CreateClusterRequest) super.set(fieldName, value); } @Override public CreateClusterRequest clone() { return (CreateClusterRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy