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

com.pulumi.azurenative.iotoperationsmq.inputs.BrokerAuthenticatorMethodSvidArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.iotoperationsmq.inputs;

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


/**
 * SVID for BrokerAuthentication
 * 
 */
public final class BrokerAuthenticatorMethodSvidArgs extends com.pulumi.resources.ResourceArgs {

    public static final BrokerAuthenticatorMethodSvidArgs Empty = new BrokerAuthenticatorMethodSvidArgs();

    /**
     * Mounted socket path for spiffe agent.
     * 
     */
    @Import(name="agentSocketPath", required=true)
    private Output agentSocketPath;

    /**
     * @return Mounted socket path for spiffe agent.
     * 
     */
    public Output agentSocketPath() {
        return this.agentSocketPath;
    }

    /**
     * Maximum number of re-tries to fetch identity.
     * 
     */
    @Import(name="identityMaxRetry")
    private @Nullable Output identityMaxRetry;

    /**
     * @return Maximum number of re-tries to fetch identity.
     * 
     */
    public Optional> identityMaxRetry() {
        return Optional.ofNullable(this.identityMaxRetry);
    }

    /**
     * Maximum time to wait before fetching identity again.
     * 
     */
    @Import(name="identityWaitRetryMs")
    private @Nullable Output identityWaitRetryMs;

    /**
     * @return Maximum time to wait before fetching identity again.
     * 
     */
    public Optional> identityWaitRetryMs() {
        return Optional.ofNullable(this.identityWaitRetryMs);
    }

    private BrokerAuthenticatorMethodSvidArgs() {}

    private BrokerAuthenticatorMethodSvidArgs(BrokerAuthenticatorMethodSvidArgs $) {
        this.agentSocketPath = $.agentSocketPath;
        this.identityMaxRetry = $.identityMaxRetry;
        this.identityWaitRetryMs = $.identityWaitRetryMs;
    }

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

    public static final class Builder {
        private BrokerAuthenticatorMethodSvidArgs $;

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

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

        /**
         * @param agentSocketPath Mounted socket path for spiffe agent.
         * 
         * @return builder
         * 
         */
        public Builder agentSocketPath(Output agentSocketPath) {
            $.agentSocketPath = agentSocketPath;
            return this;
        }

        /**
         * @param agentSocketPath Mounted socket path for spiffe agent.
         * 
         * @return builder
         * 
         */
        public Builder agentSocketPath(String agentSocketPath) {
            return agentSocketPath(Output.of(agentSocketPath));
        }

        /**
         * @param identityMaxRetry Maximum number of re-tries to fetch identity.
         * 
         * @return builder
         * 
         */
        public Builder identityMaxRetry(@Nullable Output identityMaxRetry) {
            $.identityMaxRetry = identityMaxRetry;
            return this;
        }

        /**
         * @param identityMaxRetry Maximum number of re-tries to fetch identity.
         * 
         * @return builder
         * 
         */
        public Builder identityMaxRetry(Double identityMaxRetry) {
            return identityMaxRetry(Output.of(identityMaxRetry));
        }

        /**
         * @param identityWaitRetryMs Maximum time to wait before fetching identity again.
         * 
         * @return builder
         * 
         */
        public Builder identityWaitRetryMs(@Nullable Output identityWaitRetryMs) {
            $.identityWaitRetryMs = identityWaitRetryMs;
            return this;
        }

        /**
         * @param identityWaitRetryMs Maximum time to wait before fetching identity again.
         * 
         * @return builder
         * 
         */
        public Builder identityWaitRetryMs(Double identityWaitRetryMs) {
            return identityWaitRetryMs(Output.of(identityWaitRetryMs));
        }

        public BrokerAuthenticatorMethodSvidArgs build() {
            if ($.agentSocketPath == null) {
                throw new MissingRequiredPropertyException("BrokerAuthenticatorMethodSvidArgs", "agentSocketPath");
            }
            $.identityMaxRetry = Codegen.doubleProp("identityMaxRetry").output().arg($.identityMaxRetry).def(3e+00).getNullable();
            $.identityWaitRetryMs = Codegen.doubleProp("identityWaitRetryMs").output().arg($.identityWaitRetryMs).def(5e+03).getNullable();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy