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

com.pulumi.azurenative.hybridcontainerservice.inputs.AddonProfilesArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.azurenative.hybridcontainerservice.inputs;

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


/**
 * Addon configurations
 * 
 */
public final class AddonProfilesArgs extends com.pulumi.resources.ResourceArgs {

    public static final AddonProfilesArgs Empty = new AddonProfilesArgs();

    /**
     * Config - Key-value pairs for configuring an add-on.
     * 
     */
    @Import(name="config")
    private @Nullable Output> config;

    /**
     * @return Config - Key-value pairs for configuring an add-on.
     * 
     */
    public Optional>> config() {
        return Optional.ofNullable(this.config);
    }

    /**
     * Enabled - Whether the add-on is enabled or not.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return Enabled - Whether the add-on is enabled or not.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    private AddonProfilesArgs() {}

    private AddonProfilesArgs(AddonProfilesArgs $) {
        this.config = $.config;
        this.enabled = $.enabled;
    }

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

    public static final class Builder {
        private AddonProfilesArgs $;

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

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

        /**
         * @param config Config - Key-value pairs for configuring an add-on.
         * 
         * @return builder
         * 
         */
        public Builder config(@Nullable Output> config) {
            $.config = config;
            return this;
        }

        /**
         * @param config Config - Key-value pairs for configuring an add-on.
         * 
         * @return builder
         * 
         */
        public Builder config(Map config) {
            return config(Output.of(config));
        }

        /**
         * @param enabled Enabled - Whether the add-on is enabled or not.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Enabled - Whether the add-on is enabled or not.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        public AddonProfilesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy