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

com.pulumi.cloudngfwaws.inputs.RulestackState 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.cloudngfwaws.inputs.RulestackProfileConfigArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final RulestackState Empty = new RulestackState();

    /**
     * Account group.
     * 
     */
    @Import(name="accountGroup")
    private @Nullable Output accountGroup;

    /**
     * @return Account group.
     * 
     */
    public Optional> accountGroup() {
        return Optional.ofNullable(this.accountGroup);
    }

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

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

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

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

    /**
     * Lookup x forwarded for.
     * 
     */
    @Import(name="lookupXForwardedFor")
    private @Nullable Output lookupXForwardedFor;

    /**
     * @return Lookup x forwarded for.
     * 
     */
    public Optional> lookupXForwardedFor() {
        return Optional.ofNullable(this.lookupXForwardedFor);
    }

    /**
     * Minimum App-ID version number.
     * 
     */
    @Import(name="minimumAppIdVersion")
    private @Nullable Output minimumAppIdVersion;

    /**
     * @return Minimum App-ID version number.
     * 
     */
    public Optional> minimumAppIdVersion() {
        return Optional.ofNullable(this.minimumAppIdVersion);
    }

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

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

    @Import(name="profileConfig")
    private @Nullable Output profileConfig;

    public Optional> profileConfig() {
        return Optional.ofNullable(this.profileConfig);
    }

    /**
     * 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 rulestack state.
     * 
     */
    @Import(name="state")
    private @Nullable Output state;

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

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

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

    private RulestackState() {}

    private RulestackState(RulestackState $) {
        this.accountGroup = $.accountGroup;
        this.accountId = $.accountId;
        this.description = $.description;
        this.lookupXForwardedFor = $.lookupXForwardedFor;
        this.minimumAppIdVersion = $.minimumAppIdVersion;
        this.name = $.name;
        this.profileConfig = $.profileConfig;
        this.scope = $.scope;
        this.state = $.state;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private RulestackState $;

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

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

        /**
         * @param accountGroup Account group.
         * 
         * @return builder
         * 
         */
        public Builder accountGroup(@Nullable Output accountGroup) {
            $.accountGroup = accountGroup;
            return this;
        }

        /**
         * @param accountGroup Account group.
         * 
         * @return builder
         * 
         */
        public Builder accountGroup(String accountGroup) {
            return accountGroup(Output.of(accountGroup));
        }

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

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

        /**
         * @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 lookupXForwardedFor Lookup x forwarded for.
         * 
         * @return builder
         * 
         */
        public Builder lookupXForwardedFor(@Nullable Output lookupXForwardedFor) {
            $.lookupXForwardedFor = lookupXForwardedFor;
            return this;
        }

        /**
         * @param lookupXForwardedFor Lookup x forwarded for.
         * 
         * @return builder
         * 
         */
        public Builder lookupXForwardedFor(String lookupXForwardedFor) {
            return lookupXForwardedFor(Output.of(lookupXForwardedFor));
        }

        /**
         * @param minimumAppIdVersion Minimum App-ID version number.
         * 
         * @return builder
         * 
         */
        public Builder minimumAppIdVersion(@Nullable Output minimumAppIdVersion) {
            $.minimumAppIdVersion = minimumAppIdVersion;
            return this;
        }

        /**
         * @param minimumAppIdVersion Minimum App-ID version number.
         * 
         * @return builder
         * 
         */
        public Builder minimumAppIdVersion(String minimumAppIdVersion) {
            return minimumAppIdVersion(Output.of(minimumAppIdVersion));
        }

        /**
         * @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));
        }

        public Builder profileConfig(@Nullable Output profileConfig) {
            $.profileConfig = profileConfig;
            return this;
        }

        public Builder profileConfig(RulestackProfileConfigArgs profileConfig) {
            return profileConfig(Output.of(profileConfig));
        }

        /**
         * @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 state The rulestack state.
         * 
         * @return builder
         * 
         */
        public Builder state(@Nullable Output state) {
            $.state = state;
            return this;
        }

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

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

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

        public RulestackState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy