
com.pulumi.azurenative.containerservice.outputs.ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs 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.azurenative.containerservice.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs {
/**
* @return The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
*
*/
private @Nullable Integer count;
/**
* @return The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
*
*/
private @Nullable Integer countIPv6;
private ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs() {}
/**
* @return The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
*
*/
public Optional count() {
return Optional.ofNullable(this.count);
}
/**
* @return The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
*
*/
public Optional countIPv6() {
return Optional.ofNullable(this.countIPv6);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer count;
private @Nullable Integer countIPv6;
public Builder() {}
public Builder(ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs defaults) {
Objects.requireNonNull(defaults);
this.count = defaults.count;
this.countIPv6 = defaults.countIPv6;
}
@CustomType.Setter
public Builder count(@Nullable Integer count) {
this.count = count;
return this;
}
@CustomType.Setter
public Builder countIPv6(@Nullable Integer countIPv6) {
this.countIPv6 = countIPv6;
return this;
}
public ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs build() {
final var _resultValue = new ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs();
_resultValue.count = count;
_resultValue.countIPv6 = countIPv6;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy