com.pulumi.googlenative.gkeonprem.v1.outputs.BareMetalControlPlaneConfigResponse 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.BareMetalApiServerArgumentResponse;
import com.pulumi.googlenative.gkeonprem.v1.outputs.BareMetalControlPlaneNodePoolConfigResponse;
import java.util.List;
import java.util.Objects;
@CustomType
public final class BareMetalControlPlaneConfigResponse {
/**
* @return Customizes the default API server args. Only a subset of customized flags are supported. For the exact format, refer to the [API server documentation](https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/).
*
*/
private List apiServerArgs;
/**
* @return Configures the node pool running the control plane.
*
*/
private BareMetalControlPlaneNodePoolConfigResponse controlPlaneNodePoolConfig;
private BareMetalControlPlaneConfigResponse() {}
/**
* @return Customizes the default API server args. Only a subset of customized flags are supported. For the exact format, refer to the [API server documentation](https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/).
*
*/
public List apiServerArgs() {
return this.apiServerArgs;
}
/**
* @return Configures the node pool running the control plane.
*
*/
public BareMetalControlPlaneNodePoolConfigResponse controlPlaneNodePoolConfig() {
return this.controlPlaneNodePoolConfig;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BareMetalControlPlaneConfigResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List apiServerArgs;
private BareMetalControlPlaneNodePoolConfigResponse controlPlaneNodePoolConfig;
public Builder() {}
public Builder(BareMetalControlPlaneConfigResponse defaults) {
Objects.requireNonNull(defaults);
this.apiServerArgs = defaults.apiServerArgs;
this.controlPlaneNodePoolConfig = defaults.controlPlaneNodePoolConfig;
}
@CustomType.Setter
public Builder apiServerArgs(List apiServerArgs) {
this.apiServerArgs = Objects.requireNonNull(apiServerArgs);
return this;
}
public Builder apiServerArgs(BareMetalApiServerArgumentResponse... apiServerArgs) {
return apiServerArgs(List.of(apiServerArgs));
}
@CustomType.Setter
public Builder controlPlaneNodePoolConfig(BareMetalControlPlaneNodePoolConfigResponse controlPlaneNodePoolConfig) {
this.controlPlaneNodePoolConfig = Objects.requireNonNull(controlPlaneNodePoolConfig);
return this;
}
public BareMetalControlPlaneConfigResponse build() {
final var o = new BareMetalControlPlaneConfigResponse();
o.apiServerArgs = apiServerArgs;
o.controlPlaneNodePoolConfig = controlPlaneNodePoolConfig;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy