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

com.pulumi.azurenative.containerservice.inputs.OpenShiftManagedClusterAADIdentityProviderArgs 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.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Defines the Identity provider for MS AAD.
 * 
 */
public final class OpenShiftManagedClusterAADIdentityProviderArgs extends com.pulumi.resources.ResourceArgs {

    public static final OpenShiftManagedClusterAADIdentityProviderArgs Empty = new OpenShiftManagedClusterAADIdentityProviderArgs();

    /**
     * The clientId password associated with the provider.
     * 
     */
    @Import(name="clientId")
    private @Nullable Output clientId;

    /**
     * @return The clientId password associated with the provider.
     * 
     */
    public Optional> clientId() {
        return Optional.ofNullable(this.clientId);
    }

    /**
     * The groupId to be granted cluster admin role.
     * 
     */
    @Import(name="customerAdminGroupId")
    private @Nullable Output customerAdminGroupId;

    /**
     * @return The groupId to be granted cluster admin role.
     * 
     */
    public Optional> customerAdminGroupId() {
        return Optional.ofNullable(this.customerAdminGroupId);
    }

    /**
     * The kind of the provider.
     * Expected value is 'AADIdentityProvider'.
     * 
     */
    @Import(name="kind", required=true)
    private Output kind;

    /**
     * @return The kind of the provider.
     * Expected value is 'AADIdentityProvider'.
     * 
     */
    public Output kind() {
        return this.kind;
    }

    /**
     * The secret password associated with the provider.
     * 
     */
    @Import(name="secret")
    private @Nullable Output secret;

    /**
     * @return The secret password associated with the provider.
     * 
     */
    public Optional> secret() {
        return Optional.ofNullable(this.secret);
    }

    /**
     * The tenantId associated with the provider.
     * 
     */
    @Import(name="tenantId")
    private @Nullable Output tenantId;

    /**
     * @return The tenantId associated with the provider.
     * 
     */
    public Optional> tenantId() {
        return Optional.ofNullable(this.tenantId);
    }

    private OpenShiftManagedClusterAADIdentityProviderArgs() {}

    private OpenShiftManagedClusterAADIdentityProviderArgs(OpenShiftManagedClusterAADIdentityProviderArgs $) {
        this.clientId = $.clientId;
        this.customerAdminGroupId = $.customerAdminGroupId;
        this.kind = $.kind;
        this.secret = $.secret;
        this.tenantId = $.tenantId;
    }

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

    public static final class Builder {
        private OpenShiftManagedClusterAADIdentityProviderArgs $;

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

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

        /**
         * @param clientId The clientId password associated with the provider.
         * 
         * @return builder
         * 
         */
        public Builder clientId(@Nullable Output clientId) {
            $.clientId = clientId;
            return this;
        }

        /**
         * @param clientId The clientId password associated with the provider.
         * 
         * @return builder
         * 
         */
        public Builder clientId(String clientId) {
            return clientId(Output.of(clientId));
        }

        /**
         * @param customerAdminGroupId The groupId to be granted cluster admin role.
         * 
         * @return builder
         * 
         */
        public Builder customerAdminGroupId(@Nullable Output customerAdminGroupId) {
            $.customerAdminGroupId = customerAdminGroupId;
            return this;
        }

        /**
         * @param customerAdminGroupId The groupId to be granted cluster admin role.
         * 
         * @return builder
         * 
         */
        public Builder customerAdminGroupId(String customerAdminGroupId) {
            return customerAdminGroupId(Output.of(customerAdminGroupId));
        }

        /**
         * @param kind The kind of the provider.
         * Expected value is 'AADIdentityProvider'.
         * 
         * @return builder
         * 
         */
        public Builder kind(Output kind) {
            $.kind = kind;
            return this;
        }

        /**
         * @param kind The kind of the provider.
         * Expected value is 'AADIdentityProvider'.
         * 
         * @return builder
         * 
         */
        public Builder kind(String kind) {
            return kind(Output.of(kind));
        }

        /**
         * @param secret The secret password associated with the provider.
         * 
         * @return builder
         * 
         */
        public Builder secret(@Nullable Output secret) {
            $.secret = secret;
            return this;
        }

        /**
         * @param secret The secret password associated with the provider.
         * 
         * @return builder
         * 
         */
        public Builder secret(String secret) {
            return secret(Output.of(secret));
        }

        /**
         * @param tenantId The tenantId associated with the provider.
         * 
         * @return builder
         * 
         */
        public Builder tenantId(@Nullable Output tenantId) {
            $.tenantId = tenantId;
            return this;
        }

        /**
         * @param tenantId The tenantId associated with the provider.
         * 
         * @return builder
         * 
         */
        public Builder tenantId(String tenantId) {
            return tenantId(Output.of(tenantId));
        }

        public OpenShiftManagedClusterAADIdentityProviderArgs build() {
            $.kind = Codegen.stringProp("kind").output().arg($.kind).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy