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

com.pulumi.azurenative.app.outputs.DynamicPoolConfigurationResponse 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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class DynamicPoolConfigurationResponse {
    /**
     * @return The cooldown period of a session in seconds.
     * 
     */
    private @Nullable Integer cooldownPeriodInSeconds;
    /**
     * @return The execution type of the session pool.
     * 
     */
    private @Nullable String executionType;

    private DynamicPoolConfigurationResponse() {}
    /**
     * @return The cooldown period of a session in seconds.
     * 
     */
    public Optional cooldownPeriodInSeconds() {
        return Optional.ofNullable(this.cooldownPeriodInSeconds);
    }
    /**
     * @return The execution type of the session pool.
     * 
     */
    public Optional executionType() {
        return Optional.ofNullable(this.executionType);
    }

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

    public static Builder builder(DynamicPoolConfigurationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Integer cooldownPeriodInSeconds;
        private @Nullable String executionType;
        public Builder() {}
        public Builder(DynamicPoolConfigurationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cooldownPeriodInSeconds = defaults.cooldownPeriodInSeconds;
    	      this.executionType = defaults.executionType;
        }

        @CustomType.Setter
        public Builder cooldownPeriodInSeconds(@Nullable Integer cooldownPeriodInSeconds) {

            this.cooldownPeriodInSeconds = cooldownPeriodInSeconds;
            return this;
        }
        @CustomType.Setter
        public Builder executionType(@Nullable String executionType) {

            this.executionType = executionType;
            return this;
        }
        public DynamicPoolConfigurationResponse build() {
            final var _resultValue = new DynamicPoolConfigurationResponse();
            _resultValue.cooldownPeriodInSeconds = cooldownPeriodInSeconds;
            _resultValue.executionType = executionType;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy