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

com.pulumi.azurenative.containerservice.inputs.OpenShiftManagedClusterAuthProfileArgs 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.azurenative.containerservice.inputs.OpenShiftManagedClusterIdentityProviderArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Defines all possible authentication profiles for the OpenShift cluster.
 * 
 */
public final class OpenShiftManagedClusterAuthProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final OpenShiftManagedClusterAuthProfileArgs Empty = new OpenShiftManagedClusterAuthProfileArgs();

    /**
     * Type of authentication profile to use.
     * 
     */
    @Import(name="identityProviders")
    private @Nullable Output> identityProviders;

    /**
     * @return Type of authentication profile to use.
     * 
     */
    public Optional>> identityProviders() {
        return Optional.ofNullable(this.identityProviders);
    }

    private OpenShiftManagedClusterAuthProfileArgs() {}

    private OpenShiftManagedClusterAuthProfileArgs(OpenShiftManagedClusterAuthProfileArgs $) {
        this.identityProviders = $.identityProviders;
    }

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

    public static final class Builder {
        private OpenShiftManagedClusterAuthProfileArgs $;

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

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

        /**
         * @param identityProviders Type of authentication profile to use.
         * 
         * @return builder
         * 
         */
        public Builder identityProviders(@Nullable Output> identityProviders) {
            $.identityProviders = identityProviders;
            return this;
        }

        /**
         * @param identityProviders Type of authentication profile to use.
         * 
         * @return builder
         * 
         */
        public Builder identityProviders(List identityProviders) {
            return identityProviders(Output.of(identityProviders));
        }

        /**
         * @param identityProviders Type of authentication profile to use.
         * 
         * @return builder
         * 
         */
        public Builder identityProviders(OpenShiftManagedClusterIdentityProviderArgs... identityProviders) {
            return identityProviders(List.of(identityProviders));
        }

        public OpenShiftManagedClusterAuthProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy