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

com.pulumi.azurenative.cdn.outputs.LoadBalancingSettingsParametersResponse 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.cdn.outputs;

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

@CustomType
public final class LoadBalancingSettingsParametersResponse {
    /**
     * @return The additional latency in milliseconds for probes to fall into the lowest latency bucket
     * 
     */
    private @Nullable Integer additionalLatencyInMilliseconds;
    /**
     * @return The number of samples to consider for load balancing decisions
     * 
     */
    private @Nullable Integer sampleSize;
    /**
     * @return The number of samples within the sample period that must succeed
     * 
     */
    private @Nullable Integer successfulSamplesRequired;

    private LoadBalancingSettingsParametersResponse() {}
    /**
     * @return The additional latency in milliseconds for probes to fall into the lowest latency bucket
     * 
     */
    public Optional additionalLatencyInMilliseconds() {
        return Optional.ofNullable(this.additionalLatencyInMilliseconds);
    }
    /**
     * @return The number of samples to consider for load balancing decisions
     * 
     */
    public Optional sampleSize() {
        return Optional.ofNullable(this.sampleSize);
    }
    /**
     * @return The number of samples within the sample period that must succeed
     * 
     */
    public Optional successfulSamplesRequired() {
        return Optional.ofNullable(this.successfulSamplesRequired);
    }

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

    public static Builder builder(LoadBalancingSettingsParametersResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Integer additionalLatencyInMilliseconds;
        private @Nullable Integer sampleSize;
        private @Nullable Integer successfulSamplesRequired;
        public Builder() {}
        public Builder(LoadBalancingSettingsParametersResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.additionalLatencyInMilliseconds = defaults.additionalLatencyInMilliseconds;
    	      this.sampleSize = defaults.sampleSize;
    	      this.successfulSamplesRequired = defaults.successfulSamplesRequired;
        }

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

            this.additionalLatencyInMilliseconds = additionalLatencyInMilliseconds;
            return this;
        }
        @CustomType.Setter
        public Builder sampleSize(@Nullable Integer sampleSize) {

            this.sampleSize = sampleSize;
            return this;
        }
        @CustomType.Setter
        public Builder successfulSamplesRequired(@Nullable Integer successfulSamplesRequired) {

            this.successfulSamplesRequired = successfulSamplesRequired;
            return this;
        }
        public LoadBalancingSettingsParametersResponse build() {
            final var _resultValue = new LoadBalancingSettingsParametersResponse();
            _resultValue.additionalLatencyInMilliseconds = additionalLatencyInMilliseconds;
            _resultValue.sampleSize = sampleSize;
            _resultValue.successfulSamplesRequired = successfulSamplesRequired;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy