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

com.pulumi.azurenative.botservice.inputs.ListQnAMakerEndpointKeyArgs 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.botservice.inputs;

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


public final class ListQnAMakerEndpointKeyArgs extends com.pulumi.resources.InvokeArgs {

    public static final ListQnAMakerEndpointKeyArgs Empty = new ListQnAMakerEndpointKeyArgs();

    /**
     * Subscription key which provides access to this API.
     * 
     */
    @Import(name="authkey")
    private @Nullable Output authkey;

    /**
     * @return Subscription key which provides access to this API.
     * 
     */
    public Optional> authkey() {
        return Optional.ofNullable(this.authkey);
    }

    /**
     * the host name of the QnA Maker endpoint
     * 
     */
    @Import(name="hostname")
    private @Nullable Output hostname;

    /**
     * @return the host name of the QnA Maker endpoint
     * 
     */
    public Optional> hostname() {
        return Optional.ofNullable(this.hostname);
    }

    private ListQnAMakerEndpointKeyArgs() {}

    private ListQnAMakerEndpointKeyArgs(ListQnAMakerEndpointKeyArgs $) {
        this.authkey = $.authkey;
        this.hostname = $.hostname;
    }

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

    public static final class Builder {
        private ListQnAMakerEndpointKeyArgs $;

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

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

        /**
         * @param authkey Subscription key which provides access to this API.
         * 
         * @return builder
         * 
         */
        public Builder authkey(@Nullable Output authkey) {
            $.authkey = authkey;
            return this;
        }

        /**
         * @param authkey Subscription key which provides access to this API.
         * 
         * @return builder
         * 
         */
        public Builder authkey(String authkey) {
            return authkey(Output.of(authkey));
        }

        /**
         * @param hostname the host name of the QnA Maker endpoint
         * 
         * @return builder
         * 
         */
        public Builder hostname(@Nullable Output hostname) {
            $.hostname = hostname;
            return this;
        }

        /**
         * @param hostname the host name of the QnA Maker endpoint
         * 
         * @return builder
         * 
         */
        public Builder hostname(String hostname) {
            return hostname(Output.of(hostname));
        }

        public ListQnAMakerEndpointKeyArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy