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

com.pulumi.azurenative.scheduler.inputs.ServiceBusQueueMessageArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.azurenative.scheduler.inputs;

import com.pulumi.azurenative.scheduler.enums.ServiceBusTransportType;
import com.pulumi.azurenative.scheduler.inputs.ServiceBusAuthenticationArgs;
import com.pulumi.azurenative.scheduler.inputs.ServiceBusBrokeredMessagePropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ServiceBusQueueMessageArgs Empty = new ServiceBusQueueMessageArgs();

    /**
     * Gets or sets the Service Bus authentication.
     * 
     */
    @Import(name="authentication")
    private @Nullable Output authentication;

    /**
     * @return Gets or sets the Service Bus authentication.
     * 
     */
    public Optional> authentication() {
        return Optional.ofNullable(this.authentication);
    }

    /**
     * Gets or sets the brokered message properties.
     * 
     */
    @Import(name="brokeredMessageProperties")
    private @Nullable Output brokeredMessageProperties;

    /**
     * @return Gets or sets the brokered message properties.
     * 
     */
    public Optional> brokeredMessageProperties() {
        return Optional.ofNullable(this.brokeredMessageProperties);
    }

    /**
     * Gets or sets the custom message properties.
     * 
     */
    @Import(name="customMessageProperties")
    private @Nullable Output> customMessageProperties;

    /**
     * @return Gets or sets the custom message properties.
     * 
     */
    public Optional>> customMessageProperties() {
        return Optional.ofNullable(this.customMessageProperties);
    }

    /**
     * Gets or sets the message.
     * 
     */
    @Import(name="message")
    private @Nullable Output message;

    /**
     * @return Gets or sets the message.
     * 
     */
    public Optional> message() {
        return Optional.ofNullable(this.message);
    }

    /**
     * Gets or sets the namespace.
     * 
     */
    @Import(name="namespace")
    private @Nullable Output namespace;

    /**
     * @return Gets or sets the namespace.
     * 
     */
    public Optional> namespace() {
        return Optional.ofNullable(this.namespace);
    }

    /**
     * Gets or sets the queue name.
     * 
     */
    @Import(name="queueName")
    private @Nullable Output queueName;

    /**
     * @return Gets or sets the queue name.
     * 
     */
    public Optional> queueName() {
        return Optional.ofNullable(this.queueName);
    }

    /**
     * Gets or sets the transport type.
     * 
     */
    @Import(name="transportType")
    private @Nullable Output transportType;

    /**
     * @return Gets or sets the transport type.
     * 
     */
    public Optional> transportType() {
        return Optional.ofNullable(this.transportType);
    }

    private ServiceBusQueueMessageArgs() {}

    private ServiceBusQueueMessageArgs(ServiceBusQueueMessageArgs $) {
        this.authentication = $.authentication;
        this.brokeredMessageProperties = $.brokeredMessageProperties;
        this.customMessageProperties = $.customMessageProperties;
        this.message = $.message;
        this.namespace = $.namespace;
        this.queueName = $.queueName;
        this.transportType = $.transportType;
    }

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

    public static final class Builder {
        private ServiceBusQueueMessageArgs $;

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

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

        /**
         * @param authentication Gets or sets the Service Bus authentication.
         * 
         * @return builder
         * 
         */
        public Builder authentication(@Nullable Output authentication) {
            $.authentication = authentication;
            return this;
        }

        /**
         * @param authentication Gets or sets the Service Bus authentication.
         * 
         * @return builder
         * 
         */
        public Builder authentication(ServiceBusAuthenticationArgs authentication) {
            return authentication(Output.of(authentication));
        }

        /**
         * @param brokeredMessageProperties Gets or sets the brokered message properties.
         * 
         * @return builder
         * 
         */
        public Builder brokeredMessageProperties(@Nullable Output brokeredMessageProperties) {
            $.brokeredMessageProperties = brokeredMessageProperties;
            return this;
        }

        /**
         * @param brokeredMessageProperties Gets or sets the brokered message properties.
         * 
         * @return builder
         * 
         */
        public Builder brokeredMessageProperties(ServiceBusBrokeredMessagePropertiesArgs brokeredMessageProperties) {
            return brokeredMessageProperties(Output.of(brokeredMessageProperties));
        }

        /**
         * @param customMessageProperties Gets or sets the custom message properties.
         * 
         * @return builder
         * 
         */
        public Builder customMessageProperties(@Nullable Output> customMessageProperties) {
            $.customMessageProperties = customMessageProperties;
            return this;
        }

        /**
         * @param customMessageProperties Gets or sets the custom message properties.
         * 
         * @return builder
         * 
         */
        public Builder customMessageProperties(Map customMessageProperties) {
            return customMessageProperties(Output.of(customMessageProperties));
        }

        /**
         * @param message Gets or sets the message.
         * 
         * @return builder
         * 
         */
        public Builder message(@Nullable Output message) {
            $.message = message;
            return this;
        }

        /**
         * @param message Gets or sets the message.
         * 
         * @return builder
         * 
         */
        public Builder message(String message) {
            return message(Output.of(message));
        }

        /**
         * @param namespace Gets or sets the namespace.
         * 
         * @return builder
         * 
         */
        public Builder namespace(@Nullable Output namespace) {
            $.namespace = namespace;
            return this;
        }

        /**
         * @param namespace Gets or sets the namespace.
         * 
         * @return builder
         * 
         */
        public Builder namespace(String namespace) {
            return namespace(Output.of(namespace));
        }

        /**
         * @param queueName Gets or sets the queue name.
         * 
         * @return builder
         * 
         */
        public Builder queueName(@Nullable Output queueName) {
            $.queueName = queueName;
            return this;
        }

        /**
         * @param queueName Gets or sets the queue name.
         * 
         * @return builder
         * 
         */
        public Builder queueName(String queueName) {
            return queueName(Output.of(queueName));
        }

        /**
         * @param transportType Gets or sets the transport type.
         * 
         * @return builder
         * 
         */
        public Builder transportType(@Nullable Output transportType) {
            $.transportType = transportType;
            return this;
        }

        /**
         * @param transportType Gets or sets the transport type.
         * 
         * @return builder
         * 
         */
        public Builder transportType(ServiceBusTransportType transportType) {
            return transportType(Output.of(transportType));
        }

        public ServiceBusQueueMessageArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy