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

com.pulumi.azurenative.iotoperations.inputs.ClientConfigArgs 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.azurenative.iotoperations.inputs;

import com.pulumi.azurenative.iotoperations.inputs.SubscriberQueueLimitArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The settings of Client Config.
 * 
 */
public final class ClientConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final ClientConfigArgs Empty = new ClientConfigArgs();

    /**
     * Upper bound of a client's Keep Alive, in seconds.
     * 
     */
    @Import(name="maxKeepAliveSeconds")
    private @Nullable Output maxKeepAliveSeconds;

    /**
     * @return Upper bound of a client's Keep Alive, in seconds.
     * 
     */
    public Optional> maxKeepAliveSeconds() {
        return Optional.ofNullable(this.maxKeepAliveSeconds);
    }

    /**
     * Upper bound of Message Expiry Interval, in seconds.
     * 
     */
    @Import(name="maxMessageExpirySeconds")
    private @Nullable Output maxMessageExpirySeconds;

    /**
     * @return Upper bound of Message Expiry Interval, in seconds.
     * 
     */
    public Optional> maxMessageExpirySeconds() {
        return Optional.ofNullable(this.maxMessageExpirySeconds);
    }

    /**
     * Max message size for a packet in Bytes.
     * 
     */
    @Import(name="maxPacketSizeBytes")
    private @Nullable Output maxPacketSizeBytes;

    /**
     * @return Max message size for a packet in Bytes.
     * 
     */
    public Optional> maxPacketSizeBytes() {
        return Optional.ofNullable(this.maxPacketSizeBytes);
    }

    /**
     * Upper bound of Receive Maximum that a client can request in the CONNECT packet.
     * 
     */
    @Import(name="maxReceiveMaximum")
    private @Nullable Output maxReceiveMaximum;

    /**
     * @return Upper bound of Receive Maximum that a client can request in the CONNECT packet.
     * 
     */
    public Optional> maxReceiveMaximum() {
        return Optional.ofNullable(this.maxReceiveMaximum);
    }

    /**
     * Upper bound of Session Expiry Interval, in seconds.
     * 
     */
    @Import(name="maxSessionExpirySeconds")
    private @Nullable Output maxSessionExpirySeconds;

    /**
     * @return Upper bound of Session Expiry Interval, in seconds.
     * 
     */
    public Optional> maxSessionExpirySeconds() {
        return Optional.ofNullable(this.maxSessionExpirySeconds);
    }

    /**
     * The limit on the number of queued messages for a subscriber.
     * 
     */
    @Import(name="subscriberQueueLimit")
    private @Nullable Output subscriberQueueLimit;

    /**
     * @return The limit on the number of queued messages for a subscriber.
     * 
     */
    public Optional> subscriberQueueLimit() {
        return Optional.ofNullable(this.subscriberQueueLimit);
    }

    private ClientConfigArgs() {}

    private ClientConfigArgs(ClientConfigArgs $) {
        this.maxKeepAliveSeconds = $.maxKeepAliveSeconds;
        this.maxMessageExpirySeconds = $.maxMessageExpirySeconds;
        this.maxPacketSizeBytes = $.maxPacketSizeBytes;
        this.maxReceiveMaximum = $.maxReceiveMaximum;
        this.maxSessionExpirySeconds = $.maxSessionExpirySeconds;
        this.subscriberQueueLimit = $.subscriberQueueLimit;
    }

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

    public static final class Builder {
        private ClientConfigArgs $;

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

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

        /**
         * @param maxKeepAliveSeconds Upper bound of a client's Keep Alive, in seconds.
         * 
         * @return builder
         * 
         */
        public Builder maxKeepAliveSeconds(@Nullable Output maxKeepAliveSeconds) {
            $.maxKeepAliveSeconds = maxKeepAliveSeconds;
            return this;
        }

        /**
         * @param maxKeepAliveSeconds Upper bound of a client's Keep Alive, in seconds.
         * 
         * @return builder
         * 
         */
        public Builder maxKeepAliveSeconds(Integer maxKeepAliveSeconds) {
            return maxKeepAliveSeconds(Output.of(maxKeepAliveSeconds));
        }

        /**
         * @param maxMessageExpirySeconds Upper bound of Message Expiry Interval, in seconds.
         * 
         * @return builder
         * 
         */
        public Builder maxMessageExpirySeconds(@Nullable Output maxMessageExpirySeconds) {
            $.maxMessageExpirySeconds = maxMessageExpirySeconds;
            return this;
        }

        /**
         * @param maxMessageExpirySeconds Upper bound of Message Expiry Interval, in seconds.
         * 
         * @return builder
         * 
         */
        public Builder maxMessageExpirySeconds(Integer maxMessageExpirySeconds) {
            return maxMessageExpirySeconds(Output.of(maxMessageExpirySeconds));
        }

        /**
         * @param maxPacketSizeBytes Max message size for a packet in Bytes.
         * 
         * @return builder
         * 
         */
        public Builder maxPacketSizeBytes(@Nullable Output maxPacketSizeBytes) {
            $.maxPacketSizeBytes = maxPacketSizeBytes;
            return this;
        }

        /**
         * @param maxPacketSizeBytes Max message size for a packet in Bytes.
         * 
         * @return builder
         * 
         */
        public Builder maxPacketSizeBytes(Integer maxPacketSizeBytes) {
            return maxPacketSizeBytes(Output.of(maxPacketSizeBytes));
        }

        /**
         * @param maxReceiveMaximum Upper bound of Receive Maximum that a client can request in the CONNECT packet.
         * 
         * @return builder
         * 
         */
        public Builder maxReceiveMaximum(@Nullable Output maxReceiveMaximum) {
            $.maxReceiveMaximum = maxReceiveMaximum;
            return this;
        }

        /**
         * @param maxReceiveMaximum Upper bound of Receive Maximum that a client can request in the CONNECT packet.
         * 
         * @return builder
         * 
         */
        public Builder maxReceiveMaximum(Integer maxReceiveMaximum) {
            return maxReceiveMaximum(Output.of(maxReceiveMaximum));
        }

        /**
         * @param maxSessionExpirySeconds Upper bound of Session Expiry Interval, in seconds.
         * 
         * @return builder
         * 
         */
        public Builder maxSessionExpirySeconds(@Nullable Output maxSessionExpirySeconds) {
            $.maxSessionExpirySeconds = maxSessionExpirySeconds;
            return this;
        }

        /**
         * @param maxSessionExpirySeconds Upper bound of Session Expiry Interval, in seconds.
         * 
         * @return builder
         * 
         */
        public Builder maxSessionExpirySeconds(Integer maxSessionExpirySeconds) {
            return maxSessionExpirySeconds(Output.of(maxSessionExpirySeconds));
        }

        /**
         * @param subscriberQueueLimit The limit on the number of queued messages for a subscriber.
         * 
         * @return builder
         * 
         */
        public Builder subscriberQueueLimit(@Nullable Output subscriberQueueLimit) {
            $.subscriberQueueLimit = subscriberQueueLimit;
            return this;
        }

        /**
         * @param subscriberQueueLimit The limit on the number of queued messages for a subscriber.
         * 
         * @return builder
         * 
         */
        public Builder subscriberQueueLimit(SubscriberQueueLimitArgs subscriberQueueLimit) {
            return subscriberQueueLimit(Output.of(subscriberQueueLimit));
        }

        public ClientConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy