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

com.pulumi.azure.apimanagement.inputs.IdentityProviderTwitterState Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.apimanagement.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 IdentityProviderTwitterState extends com.pulumi.resources.ResourceArgs {

    public static final IdentityProviderTwitterState Empty = new IdentityProviderTwitterState();

    /**
     * App Consumer API key for Twitter.
     * 
     */
    @Import(name="apiKey")
    private @Nullable Output apiKey;

    /**
     * @return App Consumer API key for Twitter.
     * 
     */
    public Optional> apiKey() {
        return Optional.ofNullable(this.apiKey);
    }

    /**
     * The Name of the API Management Service where this Twitter Identity Provider should be created. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="apiManagementName")
    private @Nullable Output apiManagementName;

    /**
     * @return The Name of the API Management Service where this Twitter Identity Provider should be created. Changing this forces a new resource to be created.
     * 
     */
    public Optional> apiManagementName() {
        return Optional.ofNullable(this.apiManagementName);
    }

    /**
     * App Consumer API secret key for Twitter.
     * 
     */
    @Import(name="apiSecretKey")
    private @Nullable Output apiSecretKey;

    /**
     * @return App Consumer API secret key for Twitter.
     * 
     */
    public Optional> apiSecretKey() {
        return Optional.ofNullable(this.apiSecretKey);
    }

    /**
     * The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    private IdentityProviderTwitterState() {}

    private IdentityProviderTwitterState(IdentityProviderTwitterState $) {
        this.apiKey = $.apiKey;
        this.apiManagementName = $.apiManagementName;
        this.apiSecretKey = $.apiSecretKey;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private IdentityProviderTwitterState $;

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

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

        /**
         * @param apiKey App Consumer API key for Twitter.
         * 
         * @return builder
         * 
         */
        public Builder apiKey(@Nullable Output apiKey) {
            $.apiKey = apiKey;
            return this;
        }

        /**
         * @param apiKey App Consumer API key for Twitter.
         * 
         * @return builder
         * 
         */
        public Builder apiKey(String apiKey) {
            return apiKey(Output.of(apiKey));
        }

        /**
         * @param apiManagementName The Name of the API Management Service where this Twitter Identity Provider should be created. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder apiManagementName(@Nullable Output apiManagementName) {
            $.apiManagementName = apiManagementName;
            return this;
        }

        /**
         * @param apiManagementName The Name of the API Management Service where this Twitter Identity Provider should be created. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder apiManagementName(String apiManagementName) {
            return apiManagementName(Output.of(apiManagementName));
        }

        /**
         * @param apiSecretKey App Consumer API secret key for Twitter.
         * 
         * @return builder
         * 
         */
        public Builder apiSecretKey(@Nullable Output apiSecretKey) {
            $.apiSecretKey = apiSecretKey;
            return this;
        }

        /**
         * @param apiSecretKey App Consumer API secret key for Twitter.
         * 
         * @return builder
         * 
         */
        public Builder apiSecretKey(String apiSecretKey) {
            return apiSecretKey(Output.of(apiSecretKey));
        }

        /**
         * @param resourceGroupName The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        public IdentityProviderTwitterState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy