com.pulumi.azure.appservice.outputs.GetWindowsFunctionAppSiteConfigIpRestrictionHeader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.appservice.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetWindowsFunctionAppSiteConfigIpRestrictionHeader {
/**
* @return The list of Azure Front Door IDs.
*
*/
private List xAzureFdids;
/**
* @return Specifies if a Front Door Health Probe is expected.
*
*/
private List xFdHealthProbes;
/**
* @return The list of addresses for which matching is applied.
*
*/
private List xForwardedFors;
/**
* @return The list of Hosts for which matching will be applied.
*
*/
private List xForwardedHosts;
private GetWindowsFunctionAppSiteConfigIpRestrictionHeader() {}
/**
* @return The list of Azure Front Door IDs.
*
*/
public List xAzureFdids() {
return this.xAzureFdids;
}
/**
* @return Specifies if a Front Door Health Probe is expected.
*
*/
public List xFdHealthProbes() {
return this.xFdHealthProbes;
}
/**
* @return The list of addresses for which matching is applied.
*
*/
public List xForwardedFors() {
return this.xForwardedFors;
}
/**
* @return The list of Hosts for which matching will be applied.
*
*/
public List xForwardedHosts() {
return this.xForwardedHosts;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetWindowsFunctionAppSiteConfigIpRestrictionHeader defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List xAzureFdids;
private List xFdHealthProbes;
private List xForwardedFors;
private List xForwardedHosts;
public Builder() {}
public Builder(GetWindowsFunctionAppSiteConfigIpRestrictionHeader defaults) {
Objects.requireNonNull(defaults);
this.xAzureFdids = defaults.xAzureFdids;
this.xFdHealthProbes = defaults.xFdHealthProbes;
this.xForwardedFors = defaults.xForwardedFors;
this.xForwardedHosts = defaults.xForwardedHosts;
}
@CustomType.Setter
public Builder xAzureFdids(List xAzureFdids) {
if (xAzureFdids == null) {
throw new MissingRequiredPropertyException("GetWindowsFunctionAppSiteConfigIpRestrictionHeader", "xAzureFdids");
}
this.xAzureFdids = xAzureFdids;
return this;
}
public Builder xAzureFdids(String... xAzureFdids) {
return xAzureFdids(List.of(xAzureFdids));
}
@CustomType.Setter
public Builder xFdHealthProbes(List xFdHealthProbes) {
if (xFdHealthProbes == null) {
throw new MissingRequiredPropertyException("GetWindowsFunctionAppSiteConfigIpRestrictionHeader", "xFdHealthProbes");
}
this.xFdHealthProbes = xFdHealthProbes;
return this;
}
public Builder xFdHealthProbes(String... xFdHealthProbes) {
return xFdHealthProbes(List.of(xFdHealthProbes));
}
@CustomType.Setter
public Builder xForwardedFors(List xForwardedFors) {
if (xForwardedFors == null) {
throw new MissingRequiredPropertyException("GetWindowsFunctionAppSiteConfigIpRestrictionHeader", "xForwardedFors");
}
this.xForwardedFors = xForwardedFors;
return this;
}
public Builder xForwardedFors(String... xForwardedFors) {
return xForwardedFors(List.of(xForwardedFors));
}
@CustomType.Setter
public Builder xForwardedHosts(List xForwardedHosts) {
if (xForwardedHosts == null) {
throw new MissingRequiredPropertyException("GetWindowsFunctionAppSiteConfigIpRestrictionHeader", "xForwardedHosts");
}
this.xForwardedHosts = xForwardedHosts;
return this;
}
public Builder xForwardedHosts(String... xForwardedHosts) {
return xForwardedHosts(List.of(xForwardedHosts));
}
public GetWindowsFunctionAppSiteConfigIpRestrictionHeader build() {
final var _resultValue = new GetWindowsFunctionAppSiteConfigIpRestrictionHeader();
_resultValue.xAzureFdids = xAzureFdids;
_resultValue.xFdHealthProbes = xFdHealthProbes;
_resultValue.xForwardedFors = xForwardedFors;
_resultValue.xForwardedHosts = xForwardedHosts;
return _resultValue;
}
}
}