com.pulumi.azure.appservice.inputs.LinuxFunctionAppAuthSettingsV2TwitterV2Args Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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 com.pulumi.exceptions.MissingRequiredPropertyException;
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 consumerKey;
/**
* @return The OAuth 1.0a consumer key of the Twitter application used for sign-in.
*
*/
public Output consumerKey() {
return this.consumerKey;
}
/**
* The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
*
* !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
*
*/
@Import(name="consumerSecretSettingName", required=true)
private Output consumerSecretSettingName;
/**
* @return The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
*
* !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
*
*/
public Output 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 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.
*
* !> **NOTE:** A setting with this name must exist in `app_settings` to function correctly.
*
* @return builder
*
*/
public Builder consumerSecretSettingName(Output 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.
*
* !> **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() {
if ($.consumerKey == null) {
throw new MissingRequiredPropertyException("LinuxFunctionAppAuthSettingsV2TwitterV2Args", "consumerKey");
}
if ($.consumerSecretSettingName == null) {
throw new MissingRequiredPropertyException("LinuxFunctionAppAuthSettingsV2TwitterV2Args", "consumerSecretSettingName");
}
return $;
}
}
}