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

com.pulumi.azurenative.app.inputs.DaprComponentResiliencyPolicyTimeoutPolicyConfigurationArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.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 Timeout Policy Configuration.
 * 
 */
public final class DaprComponentResiliencyPolicyTimeoutPolicyConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final DaprComponentResiliencyPolicyTimeoutPolicyConfigurationArgs Empty = new DaprComponentResiliencyPolicyTimeoutPolicyConfigurationArgs();

    /**
     * The optional response timeout in seconds
     * 
     */
    @Import(name="responseTimeoutInSeconds")
    private @Nullable Output responseTimeoutInSeconds;

    /**
     * @return The optional response timeout in seconds
     * 
     */
    public Optional> responseTimeoutInSeconds() {
        return Optional.ofNullable(this.responseTimeoutInSeconds);
    }

    private DaprComponentResiliencyPolicyTimeoutPolicyConfigurationArgs() {}

    private DaprComponentResiliencyPolicyTimeoutPolicyConfigurationArgs(DaprComponentResiliencyPolicyTimeoutPolicyConfigurationArgs $) {
        this.responseTimeoutInSeconds = $.responseTimeoutInSeconds;
    }

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

    public static final class Builder {
        private DaprComponentResiliencyPolicyTimeoutPolicyConfigurationArgs $;

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

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

        /**
         * @param responseTimeoutInSeconds The optional response timeout in seconds
         * 
         * @return builder
         * 
         */
        public Builder responseTimeoutInSeconds(@Nullable Output responseTimeoutInSeconds) {
            $.responseTimeoutInSeconds = responseTimeoutInSeconds;
            return this;
        }

        /**
         * @param responseTimeoutInSeconds The optional response timeout in seconds
         * 
         * @return builder
         * 
         */
        public Builder responseTimeoutInSeconds(Integer responseTimeoutInSeconds) {
            return responseTimeoutInSeconds(Output.of(responseTimeoutInSeconds));
        }

        public DaprComponentResiliencyPolicyTimeoutPolicyConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy