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

com.pulumi.f5bigip.ssl.inputs.GetWafEntityUrlArgs 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.f5bigip.ssl.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.f5bigip.ssl.inputs.GetWafEntityUrlCrossOriginRequestsEnforcementArgs;
import com.pulumi.f5bigip.ssl.inputs.GetWafEntityUrlMethodOverrideArgs;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetWafEntityUrlArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetWafEntityUrlArgs Empty = new GetWafEntityUrlArgs();

    /**
     * A list of options that enables your web-application to share data with a website hosted on a
     * different domain.
     * 
     */
    @Import(name="crossOriginRequestsEnforcements")
    private @Nullable Output> crossOriginRequestsEnforcements;

    /**
     * @return A list of options that enables your web-application to share data with a website hosted on a
     * different domain.
     * 
     */
    public Optional>> crossOriginRequestsEnforcements() {
        return Optional.ofNullable(this.crossOriginRequestsEnforcements);
    }

    /**
     * A description of the URL.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return A description of the URL.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Select a Method for the URL to create an API endpoint. Default is : *.
     * 
     */
    @Import(name="method")
    private @Nullable Output method;

    /**
     * @return Select a Method for the URL to create an API endpoint. Default is : *.
     * 
     */
    public Optional> method() {
        return Optional.ofNullable(this.method);
    }

    /**
     * A list of methods that are allowed or disallowed for a specific URL.
     * 
     */
    @Import(name="methodOverrides")
    private @Nullable Output> methodOverrides;

    /**
     * @return A list of methods that are allowed or disallowed for a specific URL.
     * 
     */
    public Optional>> methodOverrides() {
        return Optional.ofNullable(this.methodOverrides);
    }

    /**
     * WAF entity URL name.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return WAF entity URL name.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * If true then any violation associated to the respective URL will not be enforced, and the request will not be considered illegal.
     * 
     */
    @Import(name="performStaging")
    private @Nullable Output performStaging;

    /**
     * @return If true then any violation associated to the respective URL will not be enforced, and the request will not be considered illegal.
     * 
     */
    public Optional> performStaging() {
        return Optional.ofNullable(this.performStaging);
    }

    /**
     * Specifies whether the protocol for the URL is 'http' or 'https'. Default is: http.
     * 
     */
    @Import(name="protocol")
    private @Nullable Output protocol;

    /**
     * @return Specifies whether the protocol for the URL is 'http' or 'https'. Default is: http.
     * 
     */
    public Optional> protocol() {
        return Optional.ofNullable(this.protocol);
    }

    /**
     * List of Attack Signature Ids which are disabled for this particular URL.
     * 
     */
    @Import(name="signatureOverridesDisables")
    private @Nullable Output> signatureOverridesDisables;

    /**
     * @return List of Attack Signature Ids which are disabled for this particular URL.
     * 
     */
    public Optional>> signatureOverridesDisables() {
        return Optional.ofNullable(this.signatureOverridesDisables);
    }

    /**
     * Specifies whether the parameter is an 'explicit' or a 'wildcard' attribute. Default is: wildcard.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return Specifies whether the parameter is an 'explicit' or a 'wildcard' attribute. Default is: wildcard.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private GetWafEntityUrlArgs() {}

    private GetWafEntityUrlArgs(GetWafEntityUrlArgs $) {
        this.crossOriginRequestsEnforcements = $.crossOriginRequestsEnforcements;
        this.description = $.description;
        this.method = $.method;
        this.methodOverrides = $.methodOverrides;
        this.name = $.name;
        this.performStaging = $.performStaging;
        this.protocol = $.protocol;
        this.signatureOverridesDisables = $.signatureOverridesDisables;
        this.type = $.type;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(GetWafEntityUrlArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private GetWafEntityUrlArgs $;

        public Builder() {
            $ = new GetWafEntityUrlArgs();
        }

        public Builder(GetWafEntityUrlArgs defaults) {
            $ = new GetWafEntityUrlArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param crossOriginRequestsEnforcements A list of options that enables your web-application to share data with a website hosted on a
         * different domain.
         * 
         * @return builder
         * 
         */
        public Builder crossOriginRequestsEnforcements(@Nullable Output> crossOriginRequestsEnforcements) {
            $.crossOriginRequestsEnforcements = crossOriginRequestsEnforcements;
            return this;
        }

        /**
         * @param crossOriginRequestsEnforcements A list of options that enables your web-application to share data with a website hosted on a
         * different domain.
         * 
         * @return builder
         * 
         */
        public Builder crossOriginRequestsEnforcements(List crossOriginRequestsEnforcements) {
            return crossOriginRequestsEnforcements(Output.of(crossOriginRequestsEnforcements));
        }

        /**
         * @param crossOriginRequestsEnforcements A list of options that enables your web-application to share data with a website hosted on a
         * different domain.
         * 
         * @return builder
         * 
         */
        public Builder crossOriginRequestsEnforcements(GetWafEntityUrlCrossOriginRequestsEnforcementArgs... crossOriginRequestsEnforcements) {
            return crossOriginRequestsEnforcements(List.of(crossOriginRequestsEnforcements));
        }

        /**
         * @param description A description of the URL.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description A description of the URL.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param method Select a Method for the URL to create an API endpoint. Default is : *.
         * 
         * @return builder
         * 
         */
        public Builder method(@Nullable Output method) {
            $.method = method;
            return this;
        }

        /**
         * @param method Select a Method for the URL to create an API endpoint. Default is : *.
         * 
         * @return builder
         * 
         */
        public Builder method(String method) {
            return method(Output.of(method));
        }

        /**
         * @param methodOverrides A list of methods that are allowed or disallowed for a specific URL.
         * 
         * @return builder
         * 
         */
        public Builder methodOverrides(@Nullable Output> methodOverrides) {
            $.methodOverrides = methodOverrides;
            return this;
        }

        /**
         * @param methodOverrides A list of methods that are allowed or disallowed for a specific URL.
         * 
         * @return builder
         * 
         */
        public Builder methodOverrides(List methodOverrides) {
            return methodOverrides(Output.of(methodOverrides));
        }

        /**
         * @param methodOverrides A list of methods that are allowed or disallowed for a specific URL.
         * 
         * @return builder
         * 
         */
        public Builder methodOverrides(GetWafEntityUrlMethodOverrideArgs... methodOverrides) {
            return methodOverrides(List.of(methodOverrides));
        }

        /**
         * @param name WAF entity URL name.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name WAF entity URL name.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param performStaging If true then any violation associated to the respective URL will not be enforced, and the request will not be considered illegal.
         * 
         * @return builder
         * 
         */
        public Builder performStaging(@Nullable Output performStaging) {
            $.performStaging = performStaging;
            return this;
        }

        /**
         * @param performStaging If true then any violation associated to the respective URL will not be enforced, and the request will not be considered illegal.
         * 
         * @return builder
         * 
         */
        public Builder performStaging(Boolean performStaging) {
            return performStaging(Output.of(performStaging));
        }

        /**
         * @param protocol Specifies whether the protocol for the URL is 'http' or 'https'. Default is: http.
         * 
         * @return builder
         * 
         */
        public Builder protocol(@Nullable Output protocol) {
            $.protocol = protocol;
            return this;
        }

        /**
         * @param protocol Specifies whether the protocol for the URL is 'http' or 'https'. Default is: http.
         * 
         * @return builder
         * 
         */
        public Builder protocol(String protocol) {
            return protocol(Output.of(protocol));
        }

        /**
         * @param signatureOverridesDisables List of Attack Signature Ids which are disabled for this particular URL.
         * 
         * @return builder
         * 
         */
        public Builder signatureOverridesDisables(@Nullable Output> signatureOverridesDisables) {
            $.signatureOverridesDisables = signatureOverridesDisables;
            return this;
        }

        /**
         * @param signatureOverridesDisables List of Attack Signature Ids which are disabled for this particular URL.
         * 
         * @return builder
         * 
         */
        public Builder signatureOverridesDisables(List signatureOverridesDisables) {
            return signatureOverridesDisables(Output.of(signatureOverridesDisables));
        }

        /**
         * @param signatureOverridesDisables List of Attack Signature Ids which are disabled for this particular URL.
         * 
         * @return builder
         * 
         */
        public Builder signatureOverridesDisables(Integer... signatureOverridesDisables) {
            return signatureOverridesDisables(List.of(signatureOverridesDisables));
        }

        /**
         * @param type Specifies whether the parameter is an 'explicit' or a 'wildcard' attribute. Default is: wildcard.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Specifies whether the parameter is an 'explicit' or a 'wildcard' attribute. Default is: wildcard.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public GetWafEntityUrlArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("GetWafEntityUrlArgs", "name");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy