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

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


public final class LinuxFunctionAppAuthSettingsV2TwitterV2Args extends com.pulumi.resources.ResourceArgs {

    public static final LinuxFunctionAppAuthSettingsV2TwitterV2Args Empty = new LinuxFunctionAppAuthSettingsV2TwitterV2Args();

    /**
     * The OAuth 1.0a consumer key of the Twitter application used for sign-in.
     * 
     */
    @Import(name="consumerKey", required=true)
    private Output<String> consumerKey;

    /**
     * @return The OAuth 1.0a consumer key of the Twitter application used for sign-in.
     * 
     */
    public Output<String> consumerKey() {
        return this.consumerKey;
    }

    /**
     * The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
     * 
     * !&gt; **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
     * 
     */
    @Import(name="consumerSecretSettingName", required=true)
    private Output<String> consumerSecretSettingName;

    /**
     * @return The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
     * 
     * !&gt; **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
     * 
     */
    public Output<String> consumerSecretSettingName() {
        return this.consumerSecretSettingName;
    }

    private LinuxFunctionAppAuthSettingsV2TwitterV2Args() {}

    private LinuxFunctionAppAuthSettingsV2TwitterV2Args(LinuxFunctionAppAuthSettingsV2TwitterV2Args $) {
        this.consumerKey = $.consumerKey;
        this.consumerSecretSettingName = $.consumerSecretSettingName;
    }

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

    public static final class Builder {
        private LinuxFunctionAppAuthSettingsV2TwitterV2Args $;

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

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

        /**
         * @param consumerKey The OAuth 1.0a consumer key of the Twitter application used for sign-in.
         * 
         * @return builder
         * 
         */
        public Builder consumerKey(Output<String> consumerKey) {
            $.consumerKey = consumerKey;
            return this;
        }

        /**
         * @param consumerKey The OAuth 1.0a consumer key of the Twitter application used for sign-in.
         * 
         * @return builder
         * 
         */
        public Builder consumerKey(String consumerKey) {
            return consumerKey(Output.of(consumerKey));
        }

        /**
         * @param consumerSecretSettingName The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
         * 
         * !&gt; **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
         * 
         * @return builder
         * 
         */
        public Builder consumerSecretSettingName(Output<String> consumerSecretSettingName) {
            $.consumerSecretSettingName = consumerSecretSettingName;
            return this;
        }

        /**
         * @param consumerSecretSettingName The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
         * 
         * !&gt; **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
         * 
         * @return builder
         * 
         */
        public Builder consumerSecretSettingName(String consumerSecretSettingName) {
            return consumerSecretSettingName(Output.of(consumerSecretSettingName));
        }

        public LinuxFunctionAppAuthSettingsV2TwitterV2Args build() {
            $.consumerKey = Objects.requireNonNull($.consumerKey, "expected parameter 'consumerKey' to be non-null");
            $.consumerSecretSettingName = Objects.requireNonNull($.consumerSecretSettingName, "expected parameter 'consumerSecretSettingName' to be non-null");
            return $;
        }
    }

}
