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

com.pulumi.cloudngfwaws.inputs.CustomUrlCategoryState Maven / Gradle / Ivy

There is a newer version: 0.1.0-alpha.1731490948
Show newest version
// *** 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.cloudngfwaws.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class CustomUrlCategoryState extends com.pulumi.resources.ResourceArgs {

    public static final CustomUrlCategoryState Empty = new CustomUrlCategoryState();

    /**
     * The action to take. Valid values are `none`, `alert`, `allow`, `block`, `continue`, or `override`. Defaults to `none`.
     * 
     */
    @Import(name="action")
    private @Nullable Output action;

    /**
     * @return The action to take. Valid values are `none`, `alert`, `allow`, `block`, `continue`, or `override`. Defaults to `none`.
     * 
     */
    public Optional> action() {
        return Optional.ofNullable(this.action);
    }

    /**
     * The audit comment.
     * 
     */
    @Import(name="auditComment")
    private @Nullable Output auditComment;

    /**
     * @return The audit comment.
     * 
     */
    public Optional> auditComment() {
        return Optional.ofNullable(this.auditComment);
    }

    /**
     * The description.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The description.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The name.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The rulestack.
     * 
     */
    @Import(name="rulestack")
    private @Nullable Output rulestack;

    /**
     * @return The rulestack.
     * 
     */
    public Optional> rulestack() {
        return Optional.ofNullable(this.rulestack);
    }

    /**
     * The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are `Local` or `Global`. Defaults to `Local`.
     * 
     */
    @Import(name="scope")
    private @Nullable Output scope;

    /**
     * @return The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are `Local` or `Global`. Defaults to `Local`.
     * 
     */
    public Optional> scope() {
        return Optional.ofNullable(this.scope);
    }

    /**
     * The update token.
     * 
     */
    @Import(name="updateToken")
    private @Nullable Output updateToken;

    /**
     * @return The update token.
     * 
     */
    public Optional> updateToken() {
        return Optional.ofNullable(this.updateToken);
    }

    /**
     * The URL list for this custom URL category.
     * 
     */
    @Import(name="urlLists")
    private @Nullable Output> urlLists;

    /**
     * @return The URL list for this custom URL category.
     * 
     */
    public Optional>> urlLists() {
        return Optional.ofNullable(this.urlLists);
    }

    private CustomUrlCategoryState() {}

    private CustomUrlCategoryState(CustomUrlCategoryState $) {
        this.action = $.action;
        this.auditComment = $.auditComment;
        this.description = $.description;
        this.name = $.name;
        this.rulestack = $.rulestack;
        this.scope = $.scope;
        this.updateToken = $.updateToken;
        this.urlLists = $.urlLists;
    }

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

    public static final class Builder {
        private CustomUrlCategoryState $;

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

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

        /**
         * @param action The action to take. Valid values are `none`, `alert`, `allow`, `block`, `continue`, or `override`. Defaults to `none`.
         * 
         * @return builder
         * 
         */
        public Builder action(@Nullable Output action) {
            $.action = action;
            return this;
        }

        /**
         * @param action The action to take. Valid values are `none`, `alert`, `allow`, `block`, `continue`, or `override`. Defaults to `none`.
         * 
         * @return builder
         * 
         */
        public Builder action(String action) {
            return action(Output.of(action));
        }

        /**
         * @param auditComment The audit comment.
         * 
         * @return builder
         * 
         */
        public Builder auditComment(@Nullable Output auditComment) {
            $.auditComment = auditComment;
            return this;
        }

        /**
         * @param auditComment The audit comment.
         * 
         * @return builder
         * 
         */
        public Builder auditComment(String auditComment) {
            return auditComment(Output.of(auditComment));
        }

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

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

        /**
         * @param name The name.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

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

        /**
         * @param rulestack The rulestack.
         * 
         * @return builder
         * 
         */
        public Builder rulestack(@Nullable Output rulestack) {
            $.rulestack = rulestack;
            return this;
        }

        /**
         * @param rulestack The rulestack.
         * 
         * @return builder
         * 
         */
        public Builder rulestack(String rulestack) {
            return rulestack(Output.of(rulestack));
        }

        /**
         * @param scope The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are `Local` or `Global`. Defaults to `Local`.
         * 
         * @return builder
         * 
         */
        public Builder scope(@Nullable Output scope) {
            $.scope = scope;
            return this;
        }

        /**
         * @param scope The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are `Local` or `Global`. Defaults to `Local`.
         * 
         * @return builder
         * 
         */
        public Builder scope(String scope) {
            return scope(Output.of(scope));
        }

        /**
         * @param updateToken The update token.
         * 
         * @return builder
         * 
         */
        public Builder updateToken(@Nullable Output updateToken) {
            $.updateToken = updateToken;
            return this;
        }

        /**
         * @param updateToken The update token.
         * 
         * @return builder
         * 
         */
        public Builder updateToken(String updateToken) {
            return updateToken(Output.of(updateToken));
        }

        /**
         * @param urlLists The URL list for this custom URL category.
         * 
         * @return builder
         * 
         */
        public Builder urlLists(@Nullable Output> urlLists) {
            $.urlLists = urlLists;
            return this;
        }

        /**
         * @param urlLists The URL list for this custom URL category.
         * 
         * @return builder
         * 
         */
        public Builder urlLists(List urlLists) {
            return urlLists(Output.of(urlLists));
        }

        /**
         * @param urlLists The URL list for this custom URL category.
         * 
         * @return builder
         * 
         */
        public Builder urlLists(String... urlLists) {
            return urlLists(List.of(urlLists));
        }

        public CustomUrlCategoryState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy