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

com.pulumi.meraki.ProviderArgs Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
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.meraki;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
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();

    /**
     * Cisco Meraki base URL, FQDN or IP. If not set, it uses the MERAKI_BASE_URL environment variable. Default is
     * (https://api.meraki.com/)
     * 
     */
    @Import(name="merakiBaseUrl")
    private @Nullable Output merakiBaseUrl;

    /**
     * @return Cisco Meraki base URL, FQDN or IP. If not set, it uses the MERAKI_BASE_URL environment variable. Default is
     * (https://api.meraki.com/)
     * 
     */
    public Optional> merakiBaseUrl() {
        return Optional.ofNullable(this.merakiBaseUrl);
    }

    /**
     * Cisco Meraki meraki_dashboard_api_key to authenticate. If not set, it uses the MERAKI_DASHBOARD_API_KEY environment
     * variable.
     * 
     */
    @Import(name="merakiDashboardApiKey")
    private @Nullable Output merakiDashboardApiKey;

    /**
     * @return Cisco Meraki meraki_dashboard_api_key to authenticate. If not set, it uses the MERAKI_DASHBOARD_API_KEY environment
     * variable.
     * 
     */
    public Optional> merakiDashboardApiKey() {
        return Optional.ofNullable(this.merakiDashboardApiKey);
    }

    /**
     * Flag for Cisco Meraki to enable debugging. If not set, it uses the MERAKI_DEBUG environment variable defaults to
     * `false`.
     * 
     */
    @Import(name="merakiDebug")
    private @Nullable Output merakiDebug;

    /**
     * @return Flag for Cisco Meraki to enable debugging. If not set, it uses the MERAKI_DEBUG environment variable defaults to
     * `false`.
     * 
     */
    public Optional> merakiDebug() {
        return Optional.ofNullable(this.merakiDebug);
    }

    /**
     * Flag requests per second allowed for client. Default is (10)
     * 
     */
    @Import(name="merakiRequestsPerSecond", json=true)
    private @Nullable Output merakiRequestsPerSecond;

    /**
     * @return Flag requests per second allowed for client. Default is (10)
     * 
     */
    public Optional> merakiRequestsPerSecond() {
        return Optional.ofNullable(this.merakiRequestsPerSecond);
    }

    private ProviderArgs() {}

    private ProviderArgs(ProviderArgs $) {
        this.merakiBaseUrl = $.merakiBaseUrl;
        this.merakiDashboardApiKey = $.merakiDashboardApiKey;
        this.merakiDebug = $.merakiDebug;
        this.merakiRequestsPerSecond = $.merakiRequestsPerSecond;
    }

    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 merakiBaseUrl Cisco Meraki base URL, FQDN or IP. If not set, it uses the MERAKI_BASE_URL environment variable. Default is
         * (https://api.meraki.com/)
         * 
         * @return builder
         * 
         */
        public Builder merakiBaseUrl(@Nullable Output merakiBaseUrl) {
            $.merakiBaseUrl = merakiBaseUrl;
            return this;
        }

        /**
         * @param merakiBaseUrl Cisco Meraki base URL, FQDN or IP. If not set, it uses the MERAKI_BASE_URL environment variable. Default is
         * (https://api.meraki.com/)
         * 
         * @return builder
         * 
         */
        public Builder merakiBaseUrl(String merakiBaseUrl) {
            return merakiBaseUrl(Output.of(merakiBaseUrl));
        }

        /**
         * @param merakiDashboardApiKey Cisco Meraki meraki_dashboard_api_key to authenticate. If not set, it uses the MERAKI_DASHBOARD_API_KEY environment
         * variable.
         * 
         * @return builder
         * 
         */
        public Builder merakiDashboardApiKey(@Nullable Output merakiDashboardApiKey) {
            $.merakiDashboardApiKey = merakiDashboardApiKey;
            return this;
        }

        /**
         * @param merakiDashboardApiKey Cisco Meraki meraki_dashboard_api_key to authenticate. If not set, it uses the MERAKI_DASHBOARD_API_KEY environment
         * variable.
         * 
         * @return builder
         * 
         */
        public Builder merakiDashboardApiKey(String merakiDashboardApiKey) {
            return merakiDashboardApiKey(Output.of(merakiDashboardApiKey));
        }

        /**
         * @param merakiDebug Flag for Cisco Meraki to enable debugging. If not set, it uses the MERAKI_DEBUG environment variable defaults to
         * `false`.
         * 
         * @return builder
         * 
         */
        public Builder merakiDebug(@Nullable Output merakiDebug) {
            $.merakiDebug = merakiDebug;
            return this;
        }

        /**
         * @param merakiDebug Flag for Cisco Meraki to enable debugging. If not set, it uses the MERAKI_DEBUG environment variable defaults to
         * `false`.
         * 
         * @return builder
         * 
         */
        public Builder merakiDebug(String merakiDebug) {
            return merakiDebug(Output.of(merakiDebug));
        }

        /**
         * @param merakiRequestsPerSecond Flag requests per second allowed for client. Default is (10)
         * 
         * @return builder
         * 
         */
        public Builder merakiRequestsPerSecond(@Nullable Output merakiRequestsPerSecond) {
            $.merakiRequestsPerSecond = merakiRequestsPerSecond;
            return this;
        }

        /**
         * @param merakiRequestsPerSecond Flag requests per second allowed for client. Default is (10)
         * 
         * @return builder
         * 
         */
        public Builder merakiRequestsPerSecond(Integer merakiRequestsPerSecond) {
            return merakiRequestsPerSecond(Output.of(merakiRequestsPerSecond));
        }

        public ProviderArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy