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

com.pulumi.azurenative.containerservice.outputs.ManagedClusterAddonProfileResponse Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.containerservice.outputs;

import com.pulumi.azurenative.containerservice.outputs.ManagedClusterAddonProfileResponseIdentity;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class ManagedClusterAddonProfileResponse {
    /**
     * @return Key-value pairs for configuring an add-on.
     * 
     */
    private @Nullable Map config;
    /**
     * @return Whether the add-on is enabled or not.
     * 
     */
    private Boolean enabled;
    /**
     * @return Information of user assigned identity used by this add-on.
     * 
     */
    private ManagedClusterAddonProfileResponseIdentity identity;

    private ManagedClusterAddonProfileResponse() {}
    /**
     * @return Key-value pairs for configuring an add-on.
     * 
     */
    public Map config() {
        return this.config == null ? Map.of() : this.config;
    }
    /**
     * @return Whether the add-on is enabled or not.
     * 
     */
    public Boolean enabled() {
        return this.enabled;
    }
    /**
     * @return Information of user assigned identity used by this add-on.
     * 
     */
    public ManagedClusterAddonProfileResponseIdentity identity() {
        return this.identity;
    }

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

    public static Builder builder(ManagedClusterAddonProfileResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Map config;
        private Boolean enabled;
        private ManagedClusterAddonProfileResponseIdentity identity;
        public Builder() {}
        public Builder(ManagedClusterAddonProfileResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.config = defaults.config;
    	      this.enabled = defaults.enabled;
    	      this.identity = defaults.identity;
        }

        @CustomType.Setter
        public Builder config(@Nullable Map config) {

            this.config = config;
            return this;
        }
        @CustomType.Setter
        public Builder enabled(Boolean enabled) {
            if (enabled == null) {
              throw new MissingRequiredPropertyException("ManagedClusterAddonProfileResponse", "enabled");
            }
            this.enabled = enabled;
            return this;
        }
        @CustomType.Setter
        public Builder identity(ManagedClusterAddonProfileResponseIdentity identity) {
            if (identity == null) {
              throw new MissingRequiredPropertyException("ManagedClusterAddonProfileResponse", "identity");
            }
            this.identity = identity;
            return this;
        }
        public ManagedClusterAddonProfileResponse build() {
            final var _resultValue = new ManagedClusterAddonProfileResponse();
            _resultValue.config = config;
            _resultValue.enabled = enabled;
            _resultValue.identity = identity;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy