All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy