com.pulumi.googlenative.gkeonprem.v1.outputs.VmwareManualLbConfigResponse 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 java.lang.Integer;
import java.util.Objects;
@CustomType
public final class VmwareManualLbConfigResponse {
/**
* @return NodePort for control plane service. The Kubernetes API server in the admin cluster is implemented as a Service of type NodePort (ex. 30968).
*
*/
private Integer controlPlaneNodePort;
/**
* @return NodePort for ingress service's http. The ingress service in the admin cluster is implemented as a Service of type NodePort (ex. 32527).
*
*/
private Integer ingressHttpNodePort;
/**
* @return NodePort for ingress service's https. The ingress service in the admin cluster is implemented as a Service of type NodePort (ex. 30139).
*
*/
private Integer ingressHttpsNodePort;
/**
* @return NodePort for konnectivity server service running as a sidecar in each kube-apiserver pod (ex. 30564).
*
*/
private Integer konnectivityServerNodePort;
private VmwareManualLbConfigResponse() {}
/**
* @return NodePort for control plane service. The Kubernetes API server in the admin cluster is implemented as a Service of type NodePort (ex. 30968).
*
*/
public Integer controlPlaneNodePort() {
return this.controlPlaneNodePort;
}
/**
* @return NodePort for ingress service's http. The ingress service in the admin cluster is implemented as a Service of type NodePort (ex. 32527).
*
*/
public Integer ingressHttpNodePort() {
return this.ingressHttpNodePort;
}
/**
* @return NodePort for ingress service's https. The ingress service in the admin cluster is implemented as a Service of type NodePort (ex. 30139).
*
*/
public Integer ingressHttpsNodePort() {
return this.ingressHttpsNodePort;
}
/**
* @return NodePort for konnectivity server service running as a sidecar in each kube-apiserver pod (ex. 30564).
*
*/
public Integer konnectivityServerNodePort() {
return this.konnectivityServerNodePort;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VmwareManualLbConfigResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer controlPlaneNodePort;
private Integer ingressHttpNodePort;
private Integer ingressHttpsNodePort;
private Integer konnectivityServerNodePort;
public Builder() {}
public Builder(VmwareManualLbConfigResponse defaults) {
Objects.requireNonNull(defaults);
this.controlPlaneNodePort = defaults.controlPlaneNodePort;
this.ingressHttpNodePort = defaults.ingressHttpNodePort;
this.ingressHttpsNodePort = defaults.ingressHttpsNodePort;
this.konnectivityServerNodePort = defaults.konnectivityServerNodePort;
}
@CustomType.Setter
public Builder controlPlaneNodePort(Integer controlPlaneNodePort) {
this.controlPlaneNodePort = Objects.requireNonNull(controlPlaneNodePort);
return this;
}
@CustomType.Setter
public Builder ingressHttpNodePort(Integer ingressHttpNodePort) {
this.ingressHttpNodePort = Objects.requireNonNull(ingressHttpNodePort);
return this;
}
@CustomType.Setter
public Builder ingressHttpsNodePort(Integer ingressHttpsNodePort) {
this.ingressHttpsNodePort = Objects.requireNonNull(ingressHttpsNodePort);
return this;
}
@CustomType.Setter
public Builder konnectivityServerNodePort(Integer konnectivityServerNodePort) {
this.konnectivityServerNodePort = Objects.requireNonNull(konnectivityServerNodePort);
return this;
}
public VmwareManualLbConfigResponse build() {
final var o = new VmwareManualLbConfigResponse();
o.controlPlaneNodePort = controlPlaneNodePort;
o.ingressHttpNodePort = ingressHttpNodePort;
o.ingressHttpsNodePort = ingressHttpsNodePort;
o.konnectivityServerNodePort = konnectivityServerNodePort;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy