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

com.pulumi.azurenative.app.inputs.DaprComponentResiliencyPolicyHttpRetryBackOffConfigurationArgs 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.app.inputs;

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;


/**
 * Dapr Component Resiliency Policy HTTP Retry Backoff Configuration.
 * 
 */
public final class DaprComponentResiliencyPolicyHttpRetryBackOffConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final DaprComponentResiliencyPolicyHttpRetryBackOffConfigurationArgs Empty = new DaprComponentResiliencyPolicyHttpRetryBackOffConfigurationArgs();

    /**
     * The optional initial delay in milliseconds before an operation is retried
     * 
     */
    @Import(name="initialDelayInMilliseconds")
    private @Nullable Output initialDelayInMilliseconds;

    /**
     * @return The optional initial delay in milliseconds before an operation is retried
     * 
     */
    public Optional> initialDelayInMilliseconds() {
        return Optional.ofNullable(this.initialDelayInMilliseconds);
    }

    /**
     * The optional maximum time interval in milliseconds between retry attempts
     * 
     */
    @Import(name="maxIntervalInMilliseconds")
    private @Nullable Output maxIntervalInMilliseconds;

    /**
     * @return The optional maximum time interval in milliseconds between retry attempts
     * 
     */
    public Optional> maxIntervalInMilliseconds() {
        return Optional.ofNullable(this.maxIntervalInMilliseconds);
    }

    private DaprComponentResiliencyPolicyHttpRetryBackOffConfigurationArgs() {}

    private DaprComponentResiliencyPolicyHttpRetryBackOffConfigurationArgs(DaprComponentResiliencyPolicyHttpRetryBackOffConfigurationArgs $) {
        this.initialDelayInMilliseconds = $.initialDelayInMilliseconds;
        this.maxIntervalInMilliseconds = $.maxIntervalInMilliseconds;
    }

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

    public static final class Builder {
        private DaprComponentResiliencyPolicyHttpRetryBackOffConfigurationArgs $;

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

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

        /**
         * @param initialDelayInMilliseconds The optional initial delay in milliseconds before an operation is retried
         * 
         * @return builder
         * 
         */
        public Builder initialDelayInMilliseconds(@Nullable Output initialDelayInMilliseconds) {
            $.initialDelayInMilliseconds = initialDelayInMilliseconds;
            return this;
        }

        /**
         * @param initialDelayInMilliseconds The optional initial delay in milliseconds before an operation is retried
         * 
         * @return builder
         * 
         */
        public Builder initialDelayInMilliseconds(Integer initialDelayInMilliseconds) {
            return initialDelayInMilliseconds(Output.of(initialDelayInMilliseconds));
        }

        /**
         * @param maxIntervalInMilliseconds The optional maximum time interval in milliseconds between retry attempts
         * 
         * @return builder
         * 
         */
        public Builder maxIntervalInMilliseconds(@Nullable Output maxIntervalInMilliseconds) {
            $.maxIntervalInMilliseconds = maxIntervalInMilliseconds;
            return this;
        }

        /**
         * @param maxIntervalInMilliseconds The optional maximum time interval in milliseconds between retry attempts
         * 
         * @return builder
         * 
         */
        public Builder maxIntervalInMilliseconds(Integer maxIntervalInMilliseconds) {
            return maxIntervalInMilliseconds(Output.of(maxIntervalInMilliseconds));
        }

        public DaprComponentResiliencyPolicyHttpRetryBackOffConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy