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

com.pulumi.scm.inputs.DecryptionRuleState Maven / Gradle / Ivy

There is a newer version: 0.2.0
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.scm.inputs;

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


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

    public static final DecryptionRuleState Empty = new DecryptionRuleState();

    /**
     * The Action param. String must be one of these: `"decrypt"`, `"no-decrypt"`.
     * 
     */
    @Import(name="action")
    private @Nullable Output action;

    /**
     * @return The Action param. String must be one of these: `"decrypt"`, `"no-decrypt"`.
     * 
     */
    public Optional> action() {
        return Optional.ofNullable(this.action);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * The Position param. String must be one of these: `"pre"`, `"post"`. Default: `"pre"`.
     * 
     */
    @Import(name="position")
    private @Nullable Output position;

    /**
     * @return The Position param. String must be one of these: `"pre"`, `"post"`. Default: `"pre"`.
     * 
     */
    public Optional> position() {
        return Optional.ofNullable(this.position);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    private DecryptionRuleState() {}

    private DecryptionRuleState(DecryptionRuleState $) {
        this.action = $.action;
        this.categories = $.categories;
        this.description = $.description;
        this.destinationHips = $.destinationHips;
        this.destinations = $.destinations;
        this.device = $.device;
        this.disabled = $.disabled;
        this.folder = $.folder;
        this.froms = $.froms;
        this.logFail = $.logFail;
        this.logSetting = $.logSetting;
        this.logSuccess = $.logSuccess;
        this.name = $.name;
        this.negateDestination = $.negateDestination;
        this.negateSource = $.negateSource;
        this.position = $.position;
        this.profile = $.profile;
        this.services = $.services;
        this.snippet = $.snippet;
        this.sourceHips = $.sourceHips;
        this.sourceUsers = $.sourceUsers;
        this.sources = $.sources;
        this.tags = $.tags;
        this.tfid = $.tfid;
        this.tos = $.tos;
        this.type = $.type;
    }

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

    public static final class Builder {
        private DecryptionRuleState $;

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

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

        /**
         * @param action The Action param. String must be one of these: `"decrypt"`, `"no-decrypt"`.
         * 
         * @return builder
         * 
         */
        public Builder action(@Nullable Output action) {
            $.action = action;
            return this;
        }

        /**
         * @param action The Action param. String must be one of these: `"decrypt"`, `"no-decrypt"`.
         * 
         * @return builder
         * 
         */
        public Builder action(String action) {
            return action(Output.of(action));
        }

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

        /**
         * @param categories The Categories param.
         * 
         * @return builder
         * 
         */
        public Builder categories(List categories) {
            return categories(Output.of(categories));
        }

        /**
         * @param categories The Categories param.
         * 
         * @return builder
         * 
         */
        public Builder categories(String... categories) {
            return categories(List.of(categories));
        }

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

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

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

        /**
         * @param destinationHips The DestinationHips param.
         * 
         * @return builder
         * 
         */
        public Builder destinationHips(List destinationHips) {
            return destinationHips(Output.of(destinationHips));
        }

        /**
         * @param destinationHips The DestinationHips param.
         * 
         * @return builder
         * 
         */
        public Builder destinationHips(String... destinationHips) {
            return destinationHips(List.of(destinationHips));
        }

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

        /**
         * @param destinations The Destinations param.
         * 
         * @return builder
         * 
         */
        public Builder destinations(List destinations) {
            return destinations(Output.of(destinations));
        }

        /**
         * @param destinations The Destinations param.
         * 
         * @return builder
         * 
         */
        public Builder destinations(String... destinations) {
            return destinations(List.of(destinations));
        }

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

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

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

        /**
         * @param disabled The Disabled param.
         * 
         * @return builder
         * 
         */
        public Builder disabled(Boolean disabled) {
            return disabled(Output.of(disabled));
        }

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

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

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

        /**
         * @param froms The Froms param.
         * 
         * @return builder
         * 
         */
        public Builder froms(List froms) {
            return froms(Output.of(froms));
        }

        /**
         * @param froms The Froms param.
         * 
         * @return builder
         * 
         */
        public Builder froms(String... froms) {
            return froms(List.of(froms));
        }

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

        /**
         * @param logFail The LogFail param.
         * 
         * @return builder
         * 
         */
        public Builder logFail(Boolean logFail) {
            return logFail(Output.of(logFail));
        }

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

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

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

        /**
         * @param logSuccess The LogSuccess param.
         * 
         * @return builder
         * 
         */
        public Builder logSuccess(Boolean logSuccess) {
            return logSuccess(Output.of(logSuccess));
        }

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

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

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

        /**
         * @param negateDestination The NegateDestination param.
         * 
         * @return builder
         * 
         */
        public Builder negateDestination(Boolean negateDestination) {
            return negateDestination(Output.of(negateDestination));
        }

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

        /**
         * @param negateSource The NegateSource param.
         * 
         * @return builder
         * 
         */
        public Builder negateSource(Boolean negateSource) {
            return negateSource(Output.of(negateSource));
        }

        /**
         * @param position The Position param. String must be one of these: `"pre"`, `"post"`. Default: `"pre"`.
         * 
         * @return builder
         * 
         */
        public Builder position(@Nullable Output position) {
            $.position = position;
            return this;
        }

        /**
         * @param position The Position param. String must be one of these: `"pre"`, `"post"`. Default: `"pre"`.
         * 
         * @return builder
         * 
         */
        public Builder position(String position) {
            return position(Output.of(position));
        }

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

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

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

        /**
         * @param services The Services param.
         * 
         * @return builder
         * 
         */
        public Builder services(List services) {
            return services(Output.of(services));
        }

        /**
         * @param services The Services param.
         * 
         * @return builder
         * 
         */
        public Builder services(String... services) {
            return services(List.of(services));
        }

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

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

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

        /**
         * @param sourceHips The SourceHips param.
         * 
         * @return builder
         * 
         */
        public Builder sourceHips(List sourceHips) {
            return sourceHips(Output.of(sourceHips));
        }

        /**
         * @param sourceHips The SourceHips param.
         * 
         * @return builder
         * 
         */
        public Builder sourceHips(String... sourceHips) {
            return sourceHips(List.of(sourceHips));
        }

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

        /**
         * @param sourceUsers The SourceUsers param.
         * 
         * @return builder
         * 
         */
        public Builder sourceUsers(List sourceUsers) {
            return sourceUsers(Output.of(sourceUsers));
        }

        /**
         * @param sourceUsers The SourceUsers param.
         * 
         * @return builder
         * 
         */
        public Builder sourceUsers(String... sourceUsers) {
            return sourceUsers(List.of(sourceUsers));
        }

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

        /**
         * @param sources The Sources param.
         * 
         * @return builder
         * 
         */
        public Builder sources(List sources) {
            return sources(Output.of(sources));
        }

        /**
         * @param sources The Sources param.
         * 
         * @return builder
         * 
         */
        public Builder sources(String... sources) {
            return sources(List.of(sources));
        }

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

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

        /**
         * @param tags The Tags param.
         * 
         * @return builder
         * 
         */
        public Builder tags(String... tags) {
            return tags(List.of(tags));
        }

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

        public Builder tfid(String tfid) {
            return tfid(Output.of(tfid));
        }

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

        /**
         * @param tos The Tos param.
         * 
         * @return builder
         * 
         */
        public Builder tos(List tos) {
            return tos(Output.of(tos));
        }

        /**
         * @param tos The Tos param.
         * 
         * @return builder
         * 
         */
        public Builder tos(String... tos) {
            return tos(List.of(tos));
        }

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

        /**
         * @param type The Type param.
         * 
         * @return builder
         * 
         */
        public Builder type(DecryptionRuleTypeArgs type) {
            return type(Output.of(type));
        }

        public DecryptionRuleState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy