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

com.pulumi.azurenative.containerservice.inputs.ManagedClusterPodIdentityExceptionArgs Maven / Gradle / Ivy

// *** 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.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;


/**
 * See [disable AAD Pod Identity for a specific Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details.
 * 
 */
public final class ManagedClusterPodIdentityExceptionArgs extends com.pulumi.resources.ResourceArgs {

    public static final ManagedClusterPodIdentityExceptionArgs Empty = new ManagedClusterPodIdentityExceptionArgs();

    /**
     * The name of the pod identity exception.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The name of the pod identity exception.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * The namespace of the pod identity exception.
     * 
     */
    @Import(name="namespace", required=true)
    private Output namespace;

    /**
     * @return The namespace of the pod identity exception.
     * 
     */
    public Output namespace() {
        return this.namespace;
    }

    /**
     * The pod labels to match.
     * 
     */
    @Import(name="podLabels", required=true)
    private Output> podLabels;

    /**
     * @return The pod labels to match.
     * 
     */
    public Output> podLabels() {
        return this.podLabels;
    }

    private ManagedClusterPodIdentityExceptionArgs() {}

    private ManagedClusterPodIdentityExceptionArgs(ManagedClusterPodIdentityExceptionArgs $) {
        this.name = $.name;
        this.namespace = $.namespace;
        this.podLabels = $.podLabels;
    }

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

    public static final class Builder {
        private ManagedClusterPodIdentityExceptionArgs $;

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

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

        /**
         * @param name The name of the pod identity exception.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the pod identity exception.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param namespace The namespace of the pod identity exception.
         * 
         * @return builder
         * 
         */
        public Builder namespace(Output namespace) {
            $.namespace = namespace;
            return this;
        }

        /**
         * @param namespace The namespace of the pod identity exception.
         * 
         * @return builder
         * 
         */
        public Builder namespace(String namespace) {
            return namespace(Output.of(namespace));
        }

        /**
         * @param podLabels The pod labels to match.
         * 
         * @return builder
         * 
         */
        public Builder podLabels(Output> podLabels) {
            $.podLabels = podLabels;
            return this;
        }

        /**
         * @param podLabels The pod labels to match.
         * 
         * @return builder
         * 
         */
        public Builder podLabels(Map podLabels) {
            return podLabels(Output.of(podLabels));
        }

        public ManagedClusterPodIdentityExceptionArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("ManagedClusterPodIdentityExceptionArgs", "name");
            }
            if ($.namespace == null) {
                throw new MissingRequiredPropertyException("ManagedClusterPodIdentityExceptionArgs", "namespace");
            }
            if ($.podLabels == null) {
                throw new MissingRequiredPropertyException("ManagedClusterPodIdentityExceptionArgs", "podLabels");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy