com.pulumi.azure.appservice.outputs.GetAppServiceSiteConfigScmIpRestrictionHeaders 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 GetAppServiceSiteConfigScmIpRestrictionHeaders {
private List xAzureFdids;
private List xFdHealthProbes;
private List xForwardedFors;
private List xForwardedHosts;
private GetAppServiceSiteConfigScmIpRestrictionHeaders() {}
public List xAzureFdids() {
return this.xAzureFdids;
}
public List xFdHealthProbes() {
return this.xFdHealthProbes;
}
public List xForwardedFors() {
return this.xForwardedFors;
}
public List xForwardedHosts() {
return this.xForwardedHosts;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAppServiceSiteConfigScmIpRestrictionHeaders 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(GetAppServiceSiteConfigScmIpRestrictionHeaders 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("GetAppServiceSiteConfigScmIpRestrictionHeaders", "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("GetAppServiceSiteConfigScmIpRestrictionHeaders", "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("GetAppServiceSiteConfigScmIpRestrictionHeaders", "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("GetAppServiceSiteConfigScmIpRestrictionHeaders", "xForwardedHosts");
}
this.xForwardedHosts = xForwardedHosts;
return this;
}
public Builder xForwardedHosts(String... xForwardedHosts) {
return xForwardedHosts(List.of(xForwardedHosts));
}
public GetAppServiceSiteConfigScmIpRestrictionHeaders build() {
final var _resultValue = new GetAppServiceSiteConfigScmIpRestrictionHeaders();
_resultValue.xAzureFdids = xAzureFdids;
_resultValue.xFdHealthProbes = xFdHealthProbes;
_resultValue.xForwardedFors = xForwardedFors;
_resultValue.xForwardedHosts = xForwardedHosts;
return _resultValue;
}
}
}