com.pulumi.googlenative.gkeonprem.v1.outputs.VmwareControlPlaneNodeConfigResponse Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.googlenative.gkeonprem.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.gkeonprem.v1.outputs.VmwareAutoResizeConfigResponse;
import com.pulumi.googlenative.gkeonprem.v1.outputs.VmwareControlPlaneVsphereConfigResponse;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class VmwareControlPlaneNodeConfigResponse {
/**
* @return AutoResizeConfig provides auto resizing configurations.
*
*/
private VmwareAutoResizeConfigResponse autoResizeConfig;
/**
* @return The number of CPUs for each admin cluster node that serve as control planes for this VMware user cluster. (default: 4 CPUs)
*
*/
private String cpus;
/**
* @return The megabytes of memory for each admin cluster node that serves as a control plane for this VMware user cluster (default: 8192 MB memory).
*
*/
private String memory;
/**
* @return The number of control plane nodes for this VMware user cluster. (default: 1 replica).
*
*/
private String replicas;
/**
* @return Vsphere-specific config.
*
*/
private VmwareControlPlaneVsphereConfigResponse vsphereConfig;
private VmwareControlPlaneNodeConfigResponse() {}
/**
* @return AutoResizeConfig provides auto resizing configurations.
*
*/
public VmwareAutoResizeConfigResponse autoResizeConfig() {
return this.autoResizeConfig;
}
/**
* @return The number of CPUs for each admin cluster node that serve as control planes for this VMware user cluster. (default: 4 CPUs)
*
*/
public String cpus() {
return this.cpus;
}
/**
* @return The megabytes of memory for each admin cluster node that serves as a control plane for this VMware user cluster (default: 8192 MB memory).
*
*/
public String memory() {
return this.memory;
}
/**
* @return The number of control plane nodes for this VMware user cluster. (default: 1 replica).
*
*/
public String replicas() {
return this.replicas;
}
/**
* @return Vsphere-specific config.
*
*/
public VmwareControlPlaneVsphereConfigResponse vsphereConfig() {
return this.vsphereConfig;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VmwareControlPlaneNodeConfigResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private VmwareAutoResizeConfigResponse autoResizeConfig;
private String cpus;
private String memory;
private String replicas;
private VmwareControlPlaneVsphereConfigResponse vsphereConfig;
public Builder() {}
public Builder(VmwareControlPlaneNodeConfigResponse defaults) {
Objects.requireNonNull(defaults);
this.autoResizeConfig = defaults.autoResizeConfig;
this.cpus = defaults.cpus;
this.memory = defaults.memory;
this.replicas = defaults.replicas;
this.vsphereConfig = defaults.vsphereConfig;
}
@CustomType.Setter
public Builder autoResizeConfig(VmwareAutoResizeConfigResponse autoResizeConfig) {
this.autoResizeConfig = Objects.requireNonNull(autoResizeConfig);
return this;
}
@CustomType.Setter
public Builder cpus(String cpus) {
this.cpus = Objects.requireNonNull(cpus);
return this;
}
@CustomType.Setter
public Builder memory(String memory) {
this.memory = Objects.requireNonNull(memory);
return this;
}
@CustomType.Setter
public Builder replicas(String replicas) {
this.replicas = Objects.requireNonNull(replicas);
return this;
}
@CustomType.Setter
public Builder vsphereConfig(VmwareControlPlaneVsphereConfigResponse vsphereConfig) {
this.vsphereConfig = Objects.requireNonNull(vsphereConfig);
return this;
}
public VmwareControlPlaneNodeConfigResponse build() {
final var o = new VmwareControlPlaneNodeConfigResponse();
o.autoResizeConfig = autoResizeConfig;
o.cpus = cpus;
o.memory = memory;
o.replicas = replicas;
o.vsphereConfig = vsphereConfig;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy