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

com.pulumi.azurenative.appplatform.inputs.IngressConfigArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.appplatform.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;


/**
 * Ingress configuration payload for Azure Spring Apps resource.
 * 
 */
public final class IngressConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final IngressConfigArgs Empty = new IngressConfigArgs();

    /**
     * Ingress read time out in seconds.
     * 
     */
    @Import(name="readTimeoutInSeconds")
    private @Nullable Output readTimeoutInSeconds;

    /**
     * @return Ingress read time out in seconds.
     * 
     */
    public Optional> readTimeoutInSeconds() {
        return Optional.ofNullable(this.readTimeoutInSeconds);
    }

    private IngressConfigArgs() {}

    private IngressConfigArgs(IngressConfigArgs $) {
        this.readTimeoutInSeconds = $.readTimeoutInSeconds;
    }

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

    public static final class Builder {
        private IngressConfigArgs $;

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

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

        /**
         * @param readTimeoutInSeconds Ingress read time out in seconds.
         * 
         * @return builder
         * 
         */
        public Builder readTimeoutInSeconds(@Nullable Output readTimeoutInSeconds) {
            $.readTimeoutInSeconds = readTimeoutInSeconds;
            return this;
        }

        /**
         * @param readTimeoutInSeconds Ingress read time out in seconds.
         * 
         * @return builder
         * 
         */
        public Builder readTimeoutInSeconds(Integer readTimeoutInSeconds) {
            return readTimeoutInSeconds(Output.of(readTimeoutInSeconds));
        }

        public IngressConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy