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

com.pulumi.azure.digitaltwins.EndpointServicebusArgs 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.15.0
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.digitaltwins;

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


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

    public static final EndpointServicebusArgs Empty = new EndpointServicebusArgs();

    /**
     * The storage secret of the dead-lettering, whose format is `https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>`. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account.
     * 
     */
    @Import(name="deadLetterStorageSecret")
    private @Nullable Output deadLetterStorageSecret;

    /**
     * @return The storage secret of the dead-lettering, whose format is `https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>`. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account.
     * 
     */
    public Optional> deadLetterStorageSecret() {
        return Optional.ofNullable(this.deadLetterStorageSecret);
    }

    /**
     * The ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
     * 
     */
    @Import(name="digitalTwinsId", required=true)
    private Output digitalTwinsId;

    /**
     * @return The ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
     * 
     */
    public Output digitalTwinsId() {
        return this.digitalTwinsId;
    }

    /**
     * The name which should be used for this Digital Twins Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name which should be used for this Digital Twins Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The primary connection string of the Service Bus Topic Authorization Rule with a minimum of `send` permission. .
     * 
     */
    @Import(name="servicebusPrimaryConnectionString", required=true)
    private Output servicebusPrimaryConnectionString;

    /**
     * @return The primary connection string of the Service Bus Topic Authorization Rule with a minimum of `send` permission. .
     * 
     */
    public Output servicebusPrimaryConnectionString() {
        return this.servicebusPrimaryConnectionString;
    }

    /**
     * The secondary connection string of the Service Bus Topic Authorization Rule with a minimum of `send` permission.
     * 
     */
    @Import(name="servicebusSecondaryConnectionString", required=true)
    private Output servicebusSecondaryConnectionString;

    /**
     * @return The secondary connection string of the Service Bus Topic Authorization Rule with a minimum of `send` permission.
     * 
     */
    public Output servicebusSecondaryConnectionString() {
        return this.servicebusSecondaryConnectionString;
    }

    private EndpointServicebusArgs() {}

    private EndpointServicebusArgs(EndpointServicebusArgs $) {
        this.deadLetterStorageSecret = $.deadLetterStorageSecret;
        this.digitalTwinsId = $.digitalTwinsId;
        this.name = $.name;
        this.servicebusPrimaryConnectionString = $.servicebusPrimaryConnectionString;
        this.servicebusSecondaryConnectionString = $.servicebusSecondaryConnectionString;
    }

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

    public static final class Builder {
        private EndpointServicebusArgs $;

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

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

        /**
         * @param deadLetterStorageSecret The storage secret of the dead-lettering, whose format is `https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>`. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account.
         * 
         * @return builder
         * 
         */
        public Builder deadLetterStorageSecret(@Nullable Output deadLetterStorageSecret) {
            $.deadLetterStorageSecret = deadLetterStorageSecret;
            return this;
        }

        /**
         * @param deadLetterStorageSecret The storage secret of the dead-lettering, whose format is `https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>`. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account.
         * 
         * @return builder
         * 
         */
        public Builder deadLetterStorageSecret(String deadLetterStorageSecret) {
            return deadLetterStorageSecret(Output.of(deadLetterStorageSecret));
        }

        /**
         * @param digitalTwinsId The ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
         * 
         * @return builder
         * 
         */
        public Builder digitalTwinsId(Output digitalTwinsId) {
            $.digitalTwinsId = digitalTwinsId;
            return this;
        }

        /**
         * @param digitalTwinsId The ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
         * 
         * @return builder
         * 
         */
        public Builder digitalTwinsId(String digitalTwinsId) {
            return digitalTwinsId(Output.of(digitalTwinsId));
        }

        /**
         * @param name The name which should be used for this Digital Twins Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this Digital Twins Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param servicebusPrimaryConnectionString The primary connection string of the Service Bus Topic Authorization Rule with a minimum of `send` permission. .
         * 
         * @return builder
         * 
         */
        public Builder servicebusPrimaryConnectionString(Output servicebusPrimaryConnectionString) {
            $.servicebusPrimaryConnectionString = servicebusPrimaryConnectionString;
            return this;
        }

        /**
         * @param servicebusPrimaryConnectionString The primary connection string of the Service Bus Topic Authorization Rule with a minimum of `send` permission. .
         * 
         * @return builder
         * 
         */
        public Builder servicebusPrimaryConnectionString(String servicebusPrimaryConnectionString) {
            return servicebusPrimaryConnectionString(Output.of(servicebusPrimaryConnectionString));
        }

        /**
         * @param servicebusSecondaryConnectionString The secondary connection string of the Service Bus Topic Authorization Rule with a minimum of `send` permission.
         * 
         * @return builder
         * 
         */
        public Builder servicebusSecondaryConnectionString(Output servicebusSecondaryConnectionString) {
            $.servicebusSecondaryConnectionString = servicebusSecondaryConnectionString;
            return this;
        }

        /**
         * @param servicebusSecondaryConnectionString The secondary connection string of the Service Bus Topic Authorization Rule with a minimum of `send` permission.
         * 
         * @return builder
         * 
         */
        public Builder servicebusSecondaryConnectionString(String servicebusSecondaryConnectionString) {
            return servicebusSecondaryConnectionString(Output.of(servicebusSecondaryConnectionString));
        }

        public EndpointServicebusArgs build() {
            if ($.digitalTwinsId == null) {
                throw new MissingRequiredPropertyException("EndpointServicebusArgs", "digitalTwinsId");
            }
            if ($.servicebusPrimaryConnectionString == null) {
                throw new MissingRequiredPropertyException("EndpointServicebusArgs", "servicebusPrimaryConnectionString");
            }
            if ($.servicebusSecondaryConnectionString == null) {
                throw new MissingRequiredPropertyException("EndpointServicebusArgs", "servicebusSecondaryConnectionString");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy