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

com.pulumi.azure.eventgrid.inputs.EventSubscriptionWebhookEndpointArgs 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.eventgrid.inputs;

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


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

    public static final EventSubscriptionWebhookEndpointArgs Empty = new EventSubscriptionWebhookEndpointArgs();

    /**
     * The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
     * 
     */
    @Import(name="activeDirectoryAppIdOrUri")
    private @Nullable Output activeDirectoryAppIdOrUri;

    /**
     * @return The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
     * 
     */
    public Optional> activeDirectoryAppIdOrUri() {
        return Optional.ofNullable(this.activeDirectoryAppIdOrUri);
    }

    /**
     * The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
     * 
     */
    @Import(name="activeDirectoryTenantId")
    private @Nullable Output activeDirectoryTenantId;

    /**
     * @return The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
     * 
     */
    public Optional> activeDirectoryTenantId() {
        return Optional.ofNullable(this.activeDirectoryTenantId);
    }

    /**
     * The base url of the webhook where the Event Subscription will receive events.
     * 
     */
    @Import(name="baseUrl")
    private @Nullable Output baseUrl;

    /**
     * @return The base url of the webhook where the Event Subscription will receive events.
     * 
     */
    public Optional> baseUrl() {
        return Optional.ofNullable(this.baseUrl);
    }

    /**
     * Maximum number of events per batch.
     * 
     */
    @Import(name="maxEventsPerBatch")
    private @Nullable Output maxEventsPerBatch;

    /**
     * @return Maximum number of events per batch.
     * 
     */
    public Optional> maxEventsPerBatch() {
        return Optional.ofNullable(this.maxEventsPerBatch);
    }

    /**
     * Preferred batch size in Kilobytes.
     * 
     */
    @Import(name="preferredBatchSizeInKilobytes")
    private @Nullable Output preferredBatchSizeInKilobytes;

    /**
     * @return Preferred batch size in Kilobytes.
     * 
     */
    public Optional> preferredBatchSizeInKilobytes() {
        return Optional.ofNullable(this.preferredBatchSizeInKilobytes);
    }

    /**
     * Specifies the url of the webhook where the Event Subscription will receive events.
     * 
     */
    @Import(name="url", required=true)
    private Output url;

    /**
     * @return Specifies the url of the webhook where the Event Subscription will receive events.
     * 
     */
    public Output url() {
        return this.url;
    }

    private EventSubscriptionWebhookEndpointArgs() {}

    private EventSubscriptionWebhookEndpointArgs(EventSubscriptionWebhookEndpointArgs $) {
        this.activeDirectoryAppIdOrUri = $.activeDirectoryAppIdOrUri;
        this.activeDirectoryTenantId = $.activeDirectoryTenantId;
        this.baseUrl = $.baseUrl;
        this.maxEventsPerBatch = $.maxEventsPerBatch;
        this.preferredBatchSizeInKilobytes = $.preferredBatchSizeInKilobytes;
        this.url = $.url;
    }

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

    public static final class Builder {
        private EventSubscriptionWebhookEndpointArgs $;

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

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

        /**
         * @param activeDirectoryAppIdOrUri The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
         * 
         * @return builder
         * 
         */
        public Builder activeDirectoryAppIdOrUri(@Nullable Output activeDirectoryAppIdOrUri) {
            $.activeDirectoryAppIdOrUri = activeDirectoryAppIdOrUri;
            return this;
        }

        /**
         * @param activeDirectoryAppIdOrUri The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
         * 
         * @return builder
         * 
         */
        public Builder activeDirectoryAppIdOrUri(String activeDirectoryAppIdOrUri) {
            return activeDirectoryAppIdOrUri(Output.of(activeDirectoryAppIdOrUri));
        }

        /**
         * @param activeDirectoryTenantId The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
         * 
         * @return builder
         * 
         */
        public Builder activeDirectoryTenantId(@Nullable Output activeDirectoryTenantId) {
            $.activeDirectoryTenantId = activeDirectoryTenantId;
            return this;
        }

        /**
         * @param activeDirectoryTenantId The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
         * 
         * @return builder
         * 
         */
        public Builder activeDirectoryTenantId(String activeDirectoryTenantId) {
            return activeDirectoryTenantId(Output.of(activeDirectoryTenantId));
        }

        /**
         * @param baseUrl The base url of the webhook where the Event Subscription will receive events.
         * 
         * @return builder
         * 
         */
        public Builder baseUrl(@Nullable Output baseUrl) {
            $.baseUrl = baseUrl;
            return this;
        }

        /**
         * @param baseUrl The base url of the webhook where the Event Subscription will receive events.
         * 
         * @return builder
         * 
         */
        public Builder baseUrl(String baseUrl) {
            return baseUrl(Output.of(baseUrl));
        }

        /**
         * @param maxEventsPerBatch Maximum number of events per batch.
         * 
         * @return builder
         * 
         */
        public Builder maxEventsPerBatch(@Nullable Output maxEventsPerBatch) {
            $.maxEventsPerBatch = maxEventsPerBatch;
            return this;
        }

        /**
         * @param maxEventsPerBatch Maximum number of events per batch.
         * 
         * @return builder
         * 
         */
        public Builder maxEventsPerBatch(Integer maxEventsPerBatch) {
            return maxEventsPerBatch(Output.of(maxEventsPerBatch));
        }

        /**
         * @param preferredBatchSizeInKilobytes Preferred batch size in Kilobytes.
         * 
         * @return builder
         * 
         */
        public Builder preferredBatchSizeInKilobytes(@Nullable Output preferredBatchSizeInKilobytes) {
            $.preferredBatchSizeInKilobytes = preferredBatchSizeInKilobytes;
            return this;
        }

        /**
         * @param preferredBatchSizeInKilobytes Preferred batch size in Kilobytes.
         * 
         * @return builder
         * 
         */
        public Builder preferredBatchSizeInKilobytes(Integer preferredBatchSizeInKilobytes) {
            return preferredBatchSizeInKilobytes(Output.of(preferredBatchSizeInKilobytes));
        }

        /**
         * @param url Specifies the url of the webhook where the Event Subscription will receive events.
         * 
         * @return builder
         * 
         */
        public Builder url(Output url) {
            $.url = url;
            return this;
        }

        /**
         * @param url Specifies the url of the webhook where the Event Subscription will receive events.
         * 
         * @return builder
         * 
         */
        public Builder url(String url) {
            return url(Output.of(url));
        }

        public EventSubscriptionWebhookEndpointArgs build() {
            if ($.url == null) {
                throw new MissingRequiredPropertyException("EventSubscriptionWebhookEndpointArgs", "url");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy