com.pulumi.googlenative.gkeonprem.v1.inputs.VmwareMetalLbConfigArgs 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.googlenative.gkeonprem.v1.inputs.VmwareAddressPoolArgs;
import java.util.List;
import java.util.Objects;
/**
* Represents configuration parameters for the MetalLB load balancer.
*
*/
public final class VmwareMetalLbConfigArgs extends com.pulumi.resources.ResourceArgs {
public static final VmwareMetalLbConfigArgs Empty = new VmwareMetalLbConfigArgs();
/**
* AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All addresses must be routable to load balancer nodes. IngressVIP must be included in the pools.
*
*/
@Import(name="addressPools", required=true)
private Output> addressPools;
/**
* @return AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All addresses must be routable to load balancer nodes. IngressVIP must be included in the pools.
*
*/
public Output> addressPools() {
return this.addressPools;
}
private VmwareMetalLbConfigArgs() {}
private VmwareMetalLbConfigArgs(VmwareMetalLbConfigArgs $) {
this.addressPools = $.addressPools;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VmwareMetalLbConfigArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private VmwareMetalLbConfigArgs $;
public Builder() {
$ = new VmwareMetalLbConfigArgs();
}
public Builder(VmwareMetalLbConfigArgs defaults) {
$ = new VmwareMetalLbConfigArgs(Objects.requireNonNull(defaults));
}
/**
* @param addressPools AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All addresses must be routable to load balancer nodes. IngressVIP must be included in the pools.
*
* @return builder
*
*/
public Builder addressPools(Output> addressPools) {
$.addressPools = addressPools;
return this;
}
/**
* @param addressPools AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All addresses must be routable to load balancer nodes. IngressVIP must be included in the pools.
*
* @return builder
*
*/
public Builder addressPools(List addressPools) {
return addressPools(Output.of(addressPools));
}
/**
* @param addressPools AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All addresses must be routable to load balancer nodes. IngressVIP must be included in the pools.
*
* @return builder
*
*/
public Builder addressPools(VmwareAddressPoolArgs... addressPools) {
return addressPools(List.of(addressPools));
}
public VmwareMetalLbConfigArgs build() {
$.addressPools = Objects.requireNonNull($.addressPools, "expected parameter 'addressPools' to be non-null");
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy