com.google.api.services.vmwareengine.v1.model.PrivateCloud Maven / Gradle / Ivy
/*
* 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;
/**
* Represents a private cloud resource. Private clouds of type `STANDARD` and `TIME_LIMITED` are
* zonal resources, `STRETCHED` private clouds are regional.
*
* 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 PrivateCloud 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;
/**
* Output only. Time when the resource was scheduled for deletion.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String deleteTime;
/**
* User-provided description for this private cloud.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String description;
/**
* Output only. Time when the resource will be irreversibly deleted.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String expireTime;
/**
* Output only. HCX appliance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Hcx hcx;
/**
* Required. Input only. The management cluster for this private cloud. This field is required
* during creation of the private cloud to provide details for the default cluster. The following
* fields can't be changed after private cloud creation: `ManagementCluster.clusterId`,
* `ManagementCluster.nodeTypeId`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ManagementCluster managementCluster;
/**
* Output only. The resource name of this private cloud. 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-a/privateClouds/my-cloud`
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* Required. Network configuration of the private cloud.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private NetworkConfig networkConfig;
/**
* Output only. NSX appliance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Nsx nsx;
/**
* Output only. State of the resource. New values may be added to this enum when appropriate.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String state;
/**
* Optional. Type of the private cloud. Defaults to STANDARD.
* 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;
/**
* Output only. Vcenter appliance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Vcenter vcenter;
/**
* 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 PrivateCloud setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* Output only. Time when the resource was scheduled for deletion.
* @return value or {@code null} for none
*/
public String getDeleteTime() {
return deleteTime;
}
/**
* Output only. Time when the resource was scheduled for deletion.
* @param deleteTime deleteTime or {@code null} for none
*/
public PrivateCloud setDeleteTime(String deleteTime) {
this.deleteTime = deleteTime;
return this;
}
/**
* User-provided description for this private cloud.
* @return value or {@code null} for none
*/
public java.lang.String getDescription() {
return description;
}
/**
* User-provided description for this private cloud.
* @param description description or {@code null} for none
*/
public PrivateCloud setDescription(java.lang.String description) {
this.description = description;
return this;
}
/**
* Output only. Time when the resource will be irreversibly deleted.
* @return value or {@code null} for none
*/
public String getExpireTime() {
return expireTime;
}
/**
* Output only. Time when the resource will be irreversibly deleted.
* @param expireTime expireTime or {@code null} for none
*/
public PrivateCloud setExpireTime(String expireTime) {
this.expireTime = expireTime;
return this;
}
/**
* Output only. HCX appliance.
* @return value or {@code null} for none
*/
public Hcx getHcx() {
return hcx;
}
/**
* Output only. HCX appliance.
* @param hcx hcx or {@code null} for none
*/
public PrivateCloud setHcx(Hcx hcx) {
this.hcx = hcx;
return this;
}
/**
* Required. Input only. The management cluster for this private cloud. This field is required
* during creation of the private cloud to provide details for the default cluster. The following
* fields can't be changed after private cloud creation: `ManagementCluster.clusterId`,
* `ManagementCluster.nodeTypeId`.
* @return value or {@code null} for none
*/
public ManagementCluster getManagementCluster() {
return managementCluster;
}
/**
* Required. Input only. The management cluster for this private cloud. This field is required
* during creation of the private cloud to provide details for the default cluster. The following
* fields can't be changed after private cloud creation: `ManagementCluster.clusterId`,
* `ManagementCluster.nodeTypeId`.
* @param managementCluster managementCluster or {@code null} for none
*/
public PrivateCloud setManagementCluster(ManagementCluster managementCluster) {
this.managementCluster = managementCluster;
return this;
}
/**
* Output only. The resource name of this private cloud. 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-a/privateClouds/my-cloud`
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}
/**
* Output only. The resource name of this private cloud. 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-a/privateClouds/my-cloud`
* @param name name or {@code null} for none
*/
public PrivateCloud setName(java.lang.String name) {
this.name = name;
return this;
}
/**
* Required. Network configuration of the private cloud.
* @return value or {@code null} for none
*/
public NetworkConfig getNetworkConfig() {
return networkConfig;
}
/**
* Required. Network configuration of the private cloud.
* @param networkConfig networkConfig or {@code null} for none
*/
public PrivateCloud setNetworkConfig(NetworkConfig networkConfig) {
this.networkConfig = networkConfig;
return this;
}
/**
* Output only. NSX appliance.
* @return value or {@code null} for none
*/
public Nsx getNsx() {
return nsx;
}
/**
* Output only. NSX appliance.
* @param nsx nsx or {@code null} for none
*/
public PrivateCloud setNsx(Nsx nsx) {
this.nsx = nsx;
return this;
}
/**
* Output only. State of the resource. New values may be added to this enum when appropriate.
* @return value or {@code null} for none
*/
public java.lang.String getState() {
return state;
}
/**
* Output only. State of the resource. New values may be added to this enum when appropriate.
* @param state state or {@code null} for none
*/
public PrivateCloud setState(java.lang.String state) {
this.state = state;
return this;
}
/**
* Optional. Type of the private cloud. Defaults to STANDARD.
* @return value or {@code null} for none
*/
public java.lang.String getType() {
return type;
}
/**
* Optional. Type of the private cloud. Defaults to STANDARD.
* @param type type or {@code null} for none
*/
public PrivateCloud 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 PrivateCloud 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 PrivateCloud setUpdateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
/**
* Output only. Vcenter appliance.
* @return value or {@code null} for none
*/
public Vcenter getVcenter() {
return vcenter;
}
/**
* Output only. Vcenter appliance.
* @param vcenter vcenter or {@code null} for none
*/
public PrivateCloud setVcenter(Vcenter vcenter) {
this.vcenter = vcenter;
return this;
}
@Override
public PrivateCloud set(String fieldName, Object value) {
return (PrivateCloud) super.set(fieldName, value);
}
@Override
public PrivateCloud clone() {
return (PrivateCloud) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy