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

com.pulumi.ise.ProviderArgs 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
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;

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


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

    public static final ProviderArgs Empty = new ProviderArgs();

    /**
     * Allow insecure HTTPS client. This can also be set as the ISE_INSECURE environment variable. Defaults to `true`.
     * 
     */
    @Import(name="insecure", json=true)
    private @Nullable Output insecure;

    /**
     * @return Allow insecure HTTPS client. This can also be set as the ISE_INSECURE environment variable. Defaults to `true`.
     * 
     */
    public Optional> insecure() {
        return Optional.ofNullable(this.insecure);
    }

    /**
     * Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable.
     * 
     */
    @Import(name="password")
    private @Nullable Output password;

    /**
     * @return Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable.
     * 
     */
    public Optional> password() {
        return Optional.ofNullable(this.password);
    }

    /**
     * Number of retries for REST API calls. This can also be set as the ISE_RETRIES environment variable. Defaults to `3`.
     * 
     */
    @Import(name="retries", json=true)
    private @Nullable Output retries;

    /**
     * @return Number of retries for REST API calls. This can also be set as the ISE_RETRIES environment variable. Defaults to `3`.
     * 
     */
    public Optional> retries() {
        return Optional.ofNullable(this.retries);
    }

    /**
     * URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable.
     * 
     */
    @Import(name="url")
    private @Nullable Output url;

    /**
     * @return URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable.
     * 
     */
    public Optional> url() {
        return Optional.ofNullable(this.url);
    }

    /**
     * Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable.
     * 
     */
    @Import(name="username")
    private @Nullable Output username;

    /**
     * @return Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable.
     * 
     */
    public Optional> username() {
        return Optional.ofNullable(this.username);
    }

    private ProviderArgs() {}

    private ProviderArgs(ProviderArgs $) {
        this.insecure = $.insecure;
        this.password = $.password;
        this.retries = $.retries;
        this.url = $.url;
        this.username = $.username;
    }

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

    public static final class Builder {
        private ProviderArgs $;

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

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

        /**
         * @param insecure Allow insecure HTTPS client. This can also be set as the ISE_INSECURE environment variable. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder insecure(@Nullable Output insecure) {
            $.insecure = insecure;
            return this;
        }

        /**
         * @param insecure Allow insecure HTTPS client. This can also be set as the ISE_INSECURE environment variable. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder insecure(Boolean insecure) {
            return insecure(Output.of(insecure));
        }

        /**
         * @param password Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable.
         * 
         * @return builder
         * 
         */
        public Builder password(@Nullable Output password) {
            $.password = password;
            return this;
        }

        /**
         * @param password Password for the ISE instance. This can also be set as the ISE_PASSWORD environment variable.
         * 
         * @return builder
         * 
         */
        public Builder password(String password) {
            return password(Output.of(password));
        }

        /**
         * @param retries Number of retries for REST API calls. This can also be set as the ISE_RETRIES environment variable. Defaults to `3`.
         * 
         * @return builder
         * 
         */
        public Builder retries(@Nullable Output retries) {
            $.retries = retries;
            return this;
        }

        /**
         * @param retries Number of retries for REST API calls. This can also be set as the ISE_RETRIES environment variable. Defaults to `3`.
         * 
         * @return builder
         * 
         */
        public Builder retries(Integer retries) {
            return retries(Output.of(retries));
        }

        /**
         * @param url URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable.
         * 
         * @return builder
         * 
         */
        public Builder url(@Nullable Output url) {
            $.url = url;
            return this;
        }

        /**
         * @param url URL of the Cisco ISE instance. This can also be set as the ISE_URL environment variable.
         * 
         * @return builder
         * 
         */
        public Builder url(String url) {
            return url(Output.of(url));
        }

        /**
         * @param username Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable.
         * 
         * @return builder
         * 
         */
        public Builder username(@Nullable Output username) {
            $.username = username;
            return this;
        }

        /**
         * @param username Username for the ISE instance. This can also be set as the ISE_USERNAME environment variable.
         * 
         * @return builder
         * 
         */
        public Builder username(String username) {
            return username(Output.of(username));
        }

        public ProviderArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy