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

com.pulumi.googlenative.compute.beta.outputs.BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponse 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.googlenative.compute.beta.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponse {
    /**
     * @return The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected.
     * 
     */
    private String name;

    private BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponse() {}
    /**
     * @return The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected.
     * 
     */
    public String name() {
        return this.name;
    }

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

    public static Builder builder(BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String name;
        public Builder() {}
        public Builder(BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.name = defaults.name;
        }

        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        public BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponse build() {
            final var o = new BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponse();
            o.name = name;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy