com.pulumi.googlenative.gkeonprem.v1.outputs.BareMetalLoadBalancerConfigResponse 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.BareMetalBgpLbConfigResponse;
import com.pulumi.googlenative.gkeonprem.v1.outputs.BareMetalManualLbConfigResponse;
import com.pulumi.googlenative.gkeonprem.v1.outputs.BareMetalMetalLbConfigResponse;
import com.pulumi.googlenative.gkeonprem.v1.outputs.BareMetalPortConfigResponse;
import com.pulumi.googlenative.gkeonprem.v1.outputs.BareMetalVipConfigResponse;
import java.util.Objects;
@CustomType
public final class BareMetalLoadBalancerConfigResponse {
/**
* @return Configuration for BGP typed load balancers. When set network_config.advanced_networking is automatically set to true.
*
*/
private BareMetalBgpLbConfigResponse bgpLbConfig;
/**
* @return Manually configured load balancers.
*
*/
private BareMetalManualLbConfigResponse manualLbConfig;
/**
* @return Configuration for MetalLB load balancers.
*
*/
private BareMetalMetalLbConfigResponse metalLbConfig;
/**
* @return Configures the ports that the load balancer will listen on.
*
*/
private BareMetalPortConfigResponse portConfig;
/**
* @return The VIPs used by the load balancer.
*
*/
private BareMetalVipConfigResponse vipConfig;
private BareMetalLoadBalancerConfigResponse() {}
/**
* @return Configuration for BGP typed load balancers. When set network_config.advanced_networking is automatically set to true.
*
*/
public BareMetalBgpLbConfigResponse bgpLbConfig() {
return this.bgpLbConfig;
}
/**
* @return Manually configured load balancers.
*
*/
public BareMetalManualLbConfigResponse manualLbConfig() {
return this.manualLbConfig;
}
/**
* @return Configuration for MetalLB load balancers.
*
*/
public BareMetalMetalLbConfigResponse metalLbConfig() {
return this.metalLbConfig;
}
/**
* @return Configures the ports that the load balancer will listen on.
*
*/
public BareMetalPortConfigResponse portConfig() {
return this.portConfig;
}
/**
* @return The VIPs used by the load balancer.
*
*/
public BareMetalVipConfigResponse vipConfig() {
return this.vipConfig;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BareMetalLoadBalancerConfigResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private BareMetalBgpLbConfigResponse bgpLbConfig;
private BareMetalManualLbConfigResponse manualLbConfig;
private BareMetalMetalLbConfigResponse metalLbConfig;
private BareMetalPortConfigResponse portConfig;
private BareMetalVipConfigResponse vipConfig;
public Builder() {}
public Builder(BareMetalLoadBalancerConfigResponse defaults) {
Objects.requireNonNull(defaults);
this.bgpLbConfig = defaults.bgpLbConfig;
this.manualLbConfig = defaults.manualLbConfig;
this.metalLbConfig = defaults.metalLbConfig;
this.portConfig = defaults.portConfig;
this.vipConfig = defaults.vipConfig;
}
@CustomType.Setter
public Builder bgpLbConfig(BareMetalBgpLbConfigResponse bgpLbConfig) {
this.bgpLbConfig = Objects.requireNonNull(bgpLbConfig);
return this;
}
@CustomType.Setter
public Builder manualLbConfig(BareMetalManualLbConfigResponse manualLbConfig) {
this.manualLbConfig = Objects.requireNonNull(manualLbConfig);
return this;
}
@CustomType.Setter
public Builder metalLbConfig(BareMetalMetalLbConfigResponse metalLbConfig) {
this.metalLbConfig = Objects.requireNonNull(metalLbConfig);
return this;
}
@CustomType.Setter
public Builder portConfig(BareMetalPortConfigResponse portConfig) {
this.portConfig = Objects.requireNonNull(portConfig);
return this;
}
@CustomType.Setter
public Builder vipConfig(BareMetalVipConfigResponse vipConfig) {
this.vipConfig = Objects.requireNonNull(vipConfig);
return this;
}
public BareMetalLoadBalancerConfigResponse build() {
final var o = new BareMetalLoadBalancerConfigResponse();
o.bgpLbConfig = bgpLbConfig;
o.manualLbConfig = manualLbConfig;
o.metalLbConfig = metalLbConfig;
o.portConfig = portConfig;
o.vipConfig = vipConfig;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy