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

com.pulumi.ise.system.inputs.RepositoryState Maven / Gradle / Ivy

Go to download

A Pulumi package for managing resources on a Cisco ISE (Identity Service Engine) instance.

There is a newer version: 0.2.0-alpha.1727134725
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.ise.system.inputs;

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


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

    public static final RepositoryState Empty = new RepositoryState();

    /**
     * Enable PKI
     * 
     */
    @Import(name="enablePki")
    private @Nullable Output enablePki;

    /**
     * @return Enable PKI
     * 
     */
    public Optional> enablePki() {
        return Optional.ofNullable(this.enablePki);
    }

    /**
     * Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Password can contain alphanumeric and/or special characters.
     * 
     */
    @Import(name="password")
    private @Nullable Output password;

    /**
     * @return Password can contain alphanumeric and/or special characters.
     * 
     */
    public Optional> password() {
        return Optional.ofNullable(this.password);
    }

    /**
     * Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
     * 
     */
    @Import(name="path")
    private @Nullable Output path;

    /**
     * @return Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
     * 
     */
    public Optional> path() {
        return Optional.ofNullable(this.path);
    }

    /**
     * Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP`
     * 
     */
    @Import(name="protocol")
    private @Nullable Output protocol;

    /**
     * @return Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP`
     * 
     */
    public Optional> protocol() {
        return Optional.ofNullable(this.protocol);
    }

    /**
     * Name of the server
     * 
     */
    @Import(name="serverName")
    private @Nullable Output serverName;

    /**
     * @return Name of the server
     * 
     */
    public Optional> serverName() {
        return Optional.ofNullable(this.serverName);
    }

    /**
     * User name
     * 
     */
    @Import(name="userName")
    private @Nullable Output userName;

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

    private RepositoryState() {}

    private RepositoryState(RepositoryState $) {
        this.enablePki = $.enablePki;
        this.name = $.name;
        this.password = $.password;
        this.path = $.path;
        this.protocol = $.protocol;
        this.serverName = $.serverName;
        this.userName = $.userName;
    }

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

    public static final class Builder {
        private RepositoryState $;

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

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

        /**
         * @param enablePki Enable PKI
         * 
         * @return builder
         * 
         */
        public Builder enablePki(@Nullable Output enablePki) {
            $.enablePki = enablePki;
            return this;
        }

        /**
         * @param enablePki Enable PKI
         * 
         * @return builder
         * 
         */
        public Builder enablePki(Boolean enablePki) {
            return enablePki(Output.of(enablePki));
        }

        /**
         * @param name Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Repository name should be less than 80 characters and can contain alphanumeric, underscore, hyphen and dot characters.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param password Password can contain alphanumeric and/or special characters.
         * 
         * @return builder
         * 
         */
        public Builder password(@Nullable Output password) {
            $.password = password;
            return this;
        }

        /**
         * @param password Password can contain alphanumeric and/or special characters.
         * 
         * @return builder
         * 
         */
        public Builder password(String password) {
            return password(Output.of(password));
        }

        /**
         * @param path Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
         * 
         * @return builder
         * 
         */
        public Builder path(@Nullable Output path) {
            $.path = path;
            return this;
        }

        /**
         * @param path Path should always start with "/" and can contain alphanumeric, underscore, hyphen and dot characters.
         * 
         * @return builder
         * 
         */
        public Builder path(String path) {
            return path(Output.of(path));
        }

        /**
         * @param protocol Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP`
         * 
         * @return builder
         * 
         */
        public Builder protocol(@Nullable Output protocol) {
            $.protocol = protocol;
            return this;
        }

        /**
         * @param protocol Protocol - Choices: `CDROM`, `DISK`, `FTP`, `HTTP`, `HTTPS`, `NFS`, `SFTP`, `TFTP`
         * 
         * @return builder
         * 
         */
        public Builder protocol(String protocol) {
            return protocol(Output.of(protocol));
        }

        /**
         * @param serverName Name of the server
         * 
         * @return builder
         * 
         */
        public Builder serverName(@Nullable Output serverName) {
            $.serverName = serverName;
            return this;
        }

        /**
         * @param serverName Name of the server
         * 
         * @return builder
         * 
         */
        public Builder serverName(String serverName) {
            return serverName(Output.of(serverName));
        }

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

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

        public RepositoryState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy