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

com.pulumi.azure.eventhub.inputs.EventSubscriptionStorageQueueEndpointArgs 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.eventhub.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 EventSubscriptionStorageQueueEndpointArgs extends com.pulumi.resources.ResourceArgs {

    public static final EventSubscriptionStorageQueueEndpointArgs Empty = new EventSubscriptionStorageQueueEndpointArgs();

    /**
     * Storage queue message time to live in seconds.
     * 
     */
    @Import(name="queueMessageTimeToLiveInSeconds")
    private @Nullable Output queueMessageTimeToLiveInSeconds;

    /**
     * @return Storage queue message time to live in seconds.
     * 
     */
    public Optional> queueMessageTimeToLiveInSeconds() {
        return Optional.ofNullable(this.queueMessageTimeToLiveInSeconds);
    }

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

    /**
     * @return Specifies the name of the storage queue where the Event Subscription will receive events.
     * 
     */
    public Output queueName() {
        return this.queueName;
    }

    /**
     * Specifies the id of the storage account id where the storage queue is located.
     * 
     */
    @Import(name="storageAccountId", required=true)
    private Output storageAccountId;

    /**
     * @return Specifies the id of the storage account id where the storage queue is located.
     * 
     */
    public Output storageAccountId() {
        return this.storageAccountId;
    }

    private EventSubscriptionStorageQueueEndpointArgs() {}

    private EventSubscriptionStorageQueueEndpointArgs(EventSubscriptionStorageQueueEndpointArgs $) {
        this.queueMessageTimeToLiveInSeconds = $.queueMessageTimeToLiveInSeconds;
        this.queueName = $.queueName;
        this.storageAccountId = $.storageAccountId;
    }

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

    public static final class Builder {
        private EventSubscriptionStorageQueueEndpointArgs $;

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

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

        /**
         * @param queueMessageTimeToLiveInSeconds Storage queue message time to live in seconds.
         * 
         * @return builder
         * 
         */
        public Builder queueMessageTimeToLiveInSeconds(@Nullable Output queueMessageTimeToLiveInSeconds) {
            $.queueMessageTimeToLiveInSeconds = queueMessageTimeToLiveInSeconds;
            return this;
        }

        /**
         * @param queueMessageTimeToLiveInSeconds Storage queue message time to live in seconds.
         * 
         * @return builder
         * 
         */
        public Builder queueMessageTimeToLiveInSeconds(Integer queueMessageTimeToLiveInSeconds) {
            return queueMessageTimeToLiveInSeconds(Output.of(queueMessageTimeToLiveInSeconds));
        }

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

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

        /**
         * @param storageAccountId Specifies the id of the storage account id where the storage queue is located.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountId(Output storageAccountId) {
            $.storageAccountId = storageAccountId;
            return this;
        }

        /**
         * @param storageAccountId Specifies the id of the storage account id where the storage queue is located.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountId(String storageAccountId) {
            return storageAccountId(Output.of(storageAccountId));
        }

        public EventSubscriptionStorageQueueEndpointArgs build() {
            if ($.queueName == null) {
                throw new MissingRequiredPropertyException("EventSubscriptionStorageQueueEndpointArgs", "queueName");
            }
            if ($.storageAccountId == null) {
                throw new MissingRequiredPropertyException("EventSubscriptionStorageQueueEndpointArgs", "storageAccountId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy