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

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

There is a newer version: 0.2.0-alpha.1732774506
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.TacacsServerProfileServerArgs;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final TacacsServerProfileState Empty = new TacacsServerProfileState();

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

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

    /**
     * (Internal use) Encrypted values returned from the API.
     * 
     */
    @Import(name="encryptedValues")
    private @Nullable Output> encryptedValues;

    /**
     * @return (Internal use) Encrypted values returned from the API.
     * 
     */
    public Optional>> encryptedValues() {
        return Optional.ofNullable(this.encryptedValues);
    }

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

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

    /**
     * The Protocol param. String must be one of these: `"CHAP"`, `"PAP"`.
     * 
     */
    @Import(name="protocol")
    private @Nullable Output protocol;

    /**
     * @return The Protocol param. String must be one of these: `"CHAP"`, `"PAP"`.
     * 
     */
    public Optional> protocol() {
        return Optional.ofNullable(this.protocol);
    }

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

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

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

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

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

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

    /**
     * The Timeout param. Value must be between 1 and 30.
     * 
     */
    @Import(name="timeout")
    private @Nullable Output timeout;

    /**
     * @return The Timeout param. Value must be between 1 and 30.
     * 
     */
    public Optional> timeout() {
        return Optional.ofNullable(this.timeout);
    }

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

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

    private TacacsServerProfileState() {}

    private TacacsServerProfileState(TacacsServerProfileState $) {
        this.device = $.device;
        this.encryptedValues = $.encryptedValues;
        this.folder = $.folder;
        this.protocol = $.protocol;
        this.servers = $.servers;
        this.snippet = $.snippet;
        this.tfid = $.tfid;
        this.timeout = $.timeout;
        this.useSingleConnection = $.useSingleConnection;
    }

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

    public static final class Builder {
        private TacacsServerProfileState $;

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

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

        /**
         * @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 encryptedValues (Internal use) Encrypted values returned from the API.
         * 
         * @return builder
         * 
         */
        public Builder encryptedValues(@Nullable Output> encryptedValues) {
            $.encryptedValues = encryptedValues;
            return this;
        }

        /**
         * @param encryptedValues (Internal use) Encrypted values returned from the API.
         * 
         * @return builder
         * 
         */
        public Builder encryptedValues(Map encryptedValues) {
            return encryptedValues(Output.of(encryptedValues));
        }

        /**
         * @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 protocol The Protocol param. String must be one of these: `"CHAP"`, `"PAP"`.
         * 
         * @return builder
         * 
         */
        public Builder protocol(@Nullable Output protocol) {
            $.protocol = protocol;
            return this;
        }

        /**
         * @param protocol The Protocol param. String must be one of these: `"CHAP"`, `"PAP"`.
         * 
         * @return builder
         * 
         */
        public Builder protocol(String protocol) {
            return protocol(Output.of(protocol));
        }

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

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

        /**
         * @param servers The Servers param.
         * 
         * @return builder
         * 
         */
        public Builder servers(TacacsServerProfileServerArgs... servers) {
            return servers(List.of(servers));
        }

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

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

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

        /**
         * @param timeout The Timeout param. Value must be between 1 and 30.
         * 
         * @return builder
         * 
         */
        public Builder timeout(@Nullable Output timeout) {
            $.timeout = timeout;
            return this;
        }

        /**
         * @param timeout The Timeout param. Value must be between 1 and 30.
         * 
         * @return builder
         * 
         */
        public Builder timeout(Integer timeout) {
            return timeout(Output.of(timeout));
        }

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

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

        public TacacsServerProfileState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy