com.pulumi.googlenative.gkeonprem.v1.outputs.BareMetalAdminLoadBalancerConfigResponse 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.BareMetalAdminManualLbConfigResponse;
import com.pulumi.googlenative.gkeonprem.v1.outputs.BareMetalAdminPortConfigResponse;
import com.pulumi.googlenative.gkeonprem.v1.outputs.BareMetalAdminVipConfigResponse;
import java.util.Objects;
@CustomType
public final class BareMetalAdminLoadBalancerConfigResponse {
/**
* @return Manually configured load balancers.
*
*/
private BareMetalAdminManualLbConfigResponse manualLbConfig;
/**
* @return Configures the ports that the load balancer will listen on.
*
*/
private BareMetalAdminPortConfigResponse portConfig;
/**
* @return The VIPs used by the load balancer.
*
*/
private BareMetalAdminVipConfigResponse vipConfig;
private BareMetalAdminLoadBalancerConfigResponse() {}
/**
* @return Manually configured load balancers.
*
*/
public BareMetalAdminManualLbConfigResponse manualLbConfig() {
return this.manualLbConfig;
}
/**
* @return Configures the ports that the load balancer will listen on.
*
*/
public BareMetalAdminPortConfigResponse portConfig() {
return this.portConfig;
}
/**
* @return The VIPs used by the load balancer.
*
*/
public BareMetalAdminVipConfigResponse vipConfig() {
return this.vipConfig;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BareMetalAdminLoadBalancerConfigResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private BareMetalAdminManualLbConfigResponse manualLbConfig;
private BareMetalAdminPortConfigResponse portConfig;
private BareMetalAdminVipConfigResponse vipConfig;
public Builder() {}
public Builder(BareMetalAdminLoadBalancerConfigResponse defaults) {
Objects.requireNonNull(defaults);
this.manualLbConfig = defaults.manualLbConfig;
this.portConfig = defaults.portConfig;
this.vipConfig = defaults.vipConfig;
}
@CustomType.Setter
public Builder manualLbConfig(BareMetalAdminManualLbConfigResponse manualLbConfig) {
this.manualLbConfig = Objects.requireNonNull(manualLbConfig);
return this;
}
@CustomType.Setter
public Builder portConfig(BareMetalAdminPortConfigResponse portConfig) {
this.portConfig = Objects.requireNonNull(portConfig);
return this;
}
@CustomType.Setter
public Builder vipConfig(BareMetalAdminVipConfigResponse vipConfig) {
this.vipConfig = Objects.requireNonNull(vipConfig);
return this;
}
public BareMetalAdminLoadBalancerConfigResponse build() {
final var o = new BareMetalAdminLoadBalancerConfigResponse();
o.manualLbConfig = manualLbConfig;
o.portConfig = portConfig;
o.vipConfig = vipConfig;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy