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

com.pulumi.aws.mq.inputs.BrokerInstanceArgs Maven / Gradle / Ivy

// *** 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.aws.mq.inputs;

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


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

    public static final BrokerInstanceArgs Empty = new BrokerInstanceArgs();

    /**
     * The URL of the [ActiveMQ Web Console](http://activemq.apache.org/web-console.html) or the [RabbitMQ Management UI](https://www.rabbitmq.com/management.html#external-monitoring) depending on `engine_type`.
     * 
     */
    @Import(name="consoleUrl")
    private @Nullable Output consoleUrl;

    /**
     * @return The URL of the [ActiveMQ Web Console](http://activemq.apache.org/web-console.html) or the [RabbitMQ Management UI](https://www.rabbitmq.com/management.html#external-monitoring) depending on `engine_type`.
     * 
     */
    public Optional> consoleUrl() {
        return Optional.ofNullable(this.consoleUrl);
    }

    /**
     * Broker's wire-level protocol endpoints in the following order & format referenceable e.g., as `instances.0.endpoints.0` (SSL):
     * * For `ActiveMQ`:
     * * `ssl://broker-id.mq.us-west-2.amazonaws.com:61617`
     * * `amqp+ssl://broker-id.mq.us-west-2.amazonaws.com:5671`
     * * `stomp+ssl://broker-id.mq.us-west-2.amazonaws.com:61614`
     * * `mqtt+ssl://broker-id.mq.us-west-2.amazonaws.com:8883`
     * * `wss://broker-id.mq.us-west-2.amazonaws.com:61619`
     * * For `RabbitMQ`:
     * * `amqps://broker-id.mq.us-west-2.amazonaws.com:5671`
     * 
     */
    @Import(name="endpoints")
    private @Nullable Output> endpoints;

    /**
     * @return Broker's wire-level protocol endpoints in the following order & format referenceable e.g., as `instances.0.endpoints.0` (SSL):
     * * For `ActiveMQ`:
     * * `ssl://broker-id.mq.us-west-2.amazonaws.com:61617`
     * * `amqp+ssl://broker-id.mq.us-west-2.amazonaws.com:5671`
     * * `stomp+ssl://broker-id.mq.us-west-2.amazonaws.com:61614`
     * * `mqtt+ssl://broker-id.mq.us-west-2.amazonaws.com:8883`
     * * `wss://broker-id.mq.us-west-2.amazonaws.com:61619`
     * * For `RabbitMQ`:
     * * `amqps://broker-id.mq.us-west-2.amazonaws.com:5671`
     * 
     */
    public Optional>> endpoints() {
        return Optional.ofNullable(this.endpoints);
    }

    /**
     * IP Address of the broker.
     * 
     */
    @Import(name="ipAddress")
    private @Nullable Output ipAddress;

    /**
     * @return IP Address of the broker.
     * 
     */
    public Optional> ipAddress() {
        return Optional.ofNullable(this.ipAddress);
    }

    private BrokerInstanceArgs() {}

    private BrokerInstanceArgs(BrokerInstanceArgs $) {
        this.consoleUrl = $.consoleUrl;
        this.endpoints = $.endpoints;
        this.ipAddress = $.ipAddress;
    }

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

    public static final class Builder {
        private BrokerInstanceArgs $;

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

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

        /**
         * @param consoleUrl The URL of the [ActiveMQ Web Console](http://activemq.apache.org/web-console.html) or the [RabbitMQ Management UI](https://www.rabbitmq.com/management.html#external-monitoring) depending on `engine_type`.
         * 
         * @return builder
         * 
         */
        public Builder consoleUrl(@Nullable Output consoleUrl) {
            $.consoleUrl = consoleUrl;
            return this;
        }

        /**
         * @param consoleUrl The URL of the [ActiveMQ Web Console](http://activemq.apache.org/web-console.html) or the [RabbitMQ Management UI](https://www.rabbitmq.com/management.html#external-monitoring) depending on `engine_type`.
         * 
         * @return builder
         * 
         */
        public Builder consoleUrl(String consoleUrl) {
            return consoleUrl(Output.of(consoleUrl));
        }

        /**
         * @param endpoints Broker's wire-level protocol endpoints in the following order & format referenceable e.g., as `instances.0.endpoints.0` (SSL):
         * * For `ActiveMQ`:
         * * `ssl://broker-id.mq.us-west-2.amazonaws.com:61617`
         * * `amqp+ssl://broker-id.mq.us-west-2.amazonaws.com:5671`
         * * `stomp+ssl://broker-id.mq.us-west-2.amazonaws.com:61614`
         * * `mqtt+ssl://broker-id.mq.us-west-2.amazonaws.com:8883`
         * * `wss://broker-id.mq.us-west-2.amazonaws.com:61619`
         * * For `RabbitMQ`:
         * * `amqps://broker-id.mq.us-west-2.amazonaws.com:5671`
         * 
         * @return builder
         * 
         */
        public Builder endpoints(@Nullable Output> endpoints) {
            $.endpoints = endpoints;
            return this;
        }

        /**
         * @param endpoints Broker's wire-level protocol endpoints in the following order & format referenceable e.g., as `instances.0.endpoints.0` (SSL):
         * * For `ActiveMQ`:
         * * `ssl://broker-id.mq.us-west-2.amazonaws.com:61617`
         * * `amqp+ssl://broker-id.mq.us-west-2.amazonaws.com:5671`
         * * `stomp+ssl://broker-id.mq.us-west-2.amazonaws.com:61614`
         * * `mqtt+ssl://broker-id.mq.us-west-2.amazonaws.com:8883`
         * * `wss://broker-id.mq.us-west-2.amazonaws.com:61619`
         * * For `RabbitMQ`:
         * * `amqps://broker-id.mq.us-west-2.amazonaws.com:5671`
         * 
         * @return builder
         * 
         */
        public Builder endpoints(List endpoints) {
            return endpoints(Output.of(endpoints));
        }

        /**
         * @param endpoints Broker's wire-level protocol endpoints in the following order & format referenceable e.g., as `instances.0.endpoints.0` (SSL):
         * * For `ActiveMQ`:
         * * `ssl://broker-id.mq.us-west-2.amazonaws.com:61617`
         * * `amqp+ssl://broker-id.mq.us-west-2.amazonaws.com:5671`
         * * `stomp+ssl://broker-id.mq.us-west-2.amazonaws.com:61614`
         * * `mqtt+ssl://broker-id.mq.us-west-2.amazonaws.com:8883`
         * * `wss://broker-id.mq.us-west-2.amazonaws.com:61619`
         * * For `RabbitMQ`:
         * * `amqps://broker-id.mq.us-west-2.amazonaws.com:5671`
         * 
         * @return builder
         * 
         */
        public Builder endpoints(String... endpoints) {
            return endpoints(List.of(endpoints));
        }

        /**
         * @param ipAddress IP Address of the broker.
         * 
         * @return builder
         * 
         */
        public Builder ipAddress(@Nullable Output ipAddress) {
            $.ipAddress = ipAddress;
            return this;
        }

        /**
         * @param ipAddress IP Address of the broker.
         * 
         * @return builder
         * 
         */
        public Builder ipAddress(String ipAddress) {
            return ipAddress(Output.of(ipAddress));
        }

        public BrokerInstanceArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy