
com.pulumi.azurenative.workloads.outputs.LoadBalancerResourceNamesResponse 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.workloads.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class LoadBalancerResourceNamesResponse {
/**
* @return The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
*
*/
private @Nullable List backendPoolNames;
/**
* @return The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
*
*/
private @Nullable List frontendIpConfigurationNames;
/**
* @return The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
*
*/
private @Nullable List healthProbeNames;
/**
* @return The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
*
*/
private @Nullable String loadBalancerName;
private LoadBalancerResourceNamesResponse() {}
/**
* @return The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
*
*/
public List backendPoolNames() {
return this.backendPoolNames == null ? List.of() : this.backendPoolNames;
}
/**
* @return The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
*
*/
public List frontendIpConfigurationNames() {
return this.frontendIpConfigurationNames == null ? List.of() : this.frontendIpConfigurationNames;
}
/**
* @return The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
*
*/
public List healthProbeNames() {
return this.healthProbeNames == null ? List.of() : this.healthProbeNames;
}
/**
* @return The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
*
*/
public Optional loadBalancerName() {
return Optional.ofNullable(this.loadBalancerName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LoadBalancerResourceNamesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List backendPoolNames;
private @Nullable List frontendIpConfigurationNames;
private @Nullable List healthProbeNames;
private @Nullable String loadBalancerName;
public Builder() {}
public Builder(LoadBalancerResourceNamesResponse defaults) {
Objects.requireNonNull(defaults);
this.backendPoolNames = defaults.backendPoolNames;
this.frontendIpConfigurationNames = defaults.frontendIpConfigurationNames;
this.healthProbeNames = defaults.healthProbeNames;
this.loadBalancerName = defaults.loadBalancerName;
}
@CustomType.Setter
public Builder backendPoolNames(@Nullable List backendPoolNames) {
this.backendPoolNames = backendPoolNames;
return this;
}
public Builder backendPoolNames(String... backendPoolNames) {
return backendPoolNames(List.of(backendPoolNames));
}
@CustomType.Setter
public Builder frontendIpConfigurationNames(@Nullable List frontendIpConfigurationNames) {
this.frontendIpConfigurationNames = frontendIpConfigurationNames;
return this;
}
public Builder frontendIpConfigurationNames(String... frontendIpConfigurationNames) {
return frontendIpConfigurationNames(List.of(frontendIpConfigurationNames));
}
@CustomType.Setter
public Builder healthProbeNames(@Nullable List healthProbeNames) {
this.healthProbeNames = healthProbeNames;
return this;
}
public Builder healthProbeNames(String... healthProbeNames) {
return healthProbeNames(List.of(healthProbeNames));
}
@CustomType.Setter
public Builder loadBalancerName(@Nullable String loadBalancerName) {
this.loadBalancerName = loadBalancerName;
return this;
}
public LoadBalancerResourceNamesResponse build() {
final var _resultValue = new LoadBalancerResourceNamesResponse();
_resultValue.backendPoolNames = backendPoolNames;
_resultValue.frontendIpConfigurationNames = frontendIpConfigurationNames;
_resultValue.healthProbeNames = healthProbeNames;
_resultValue.loadBalancerName = loadBalancerName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy