sdk/java/src/main/java/com/pulumi/ovh/IpLoadBalancing/outputs/GetVrackNetworkResult.java
<gh_stars>0// *** 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.ovh.IpLoadBalancing.outputs;

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

@CustomType
public final class GetVrackNetworkResult {
    /**
     * @return Human readable name for your vrack network
     * 
     */
    private String displayName;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return An IP block used as a pool of IPs by this Load Balancer to connect to the servers in this private network. The blck must be in the private network and reserved for the Load Balancer
     * 
     */
    private String natIp;
    private String serviceName;
    /**
     * @return IP block of the private network in the vRack
     * 
     */
    private String subnet;
    /**
     * @return VLAN of the private network in the vRack. 0 if the private network is not in a VLAN
     * 
     */
    private Integer vlan;
    private Integer vrackNetworkId;

    private GetVrackNetworkResult() {}
    /**
     * @return Human readable name for your vrack network
     * 
     */
    public String displayName() {
        return this.displayName;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return An IP block used as a pool of IPs by this Load Balancer to connect to the servers in this private network. The blck must be in the private network and reserved for the Load Balancer
     * 
     */
    public String natIp() {
        return this.natIp;
    }
    public String serviceName() {
        return this.serviceName;
    }
    /**
     * @return IP block of the private network in the vRack
     * 
     */
    public String subnet() {
        return this.subnet;
    }
    /**
     * @return VLAN of the private network in the vRack. 0 if the private network is not in a VLAN
     * 
     */
    public Integer vlan() {
        return this.vlan;
    }
    public Integer vrackNetworkId() {
        return this.vrackNetworkId;
    }

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

    public static Builder builder(GetVrackNetworkResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String displayName;
        private String id;
        private String natIp;
        private String serviceName;
        private String subnet;
        private Integer vlan;
        private Integer vrackNetworkId;
        public Builder() {}
        public Builder(GetVrackNetworkResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.displayName = defaults.displayName;
    	      this.id = defaults.id;
    	      this.natIp = defaults.natIp;
    	      this.serviceName = defaults.serviceName;
    	      this.subnet = defaults.subnet;
    	      this.vlan = defaults.vlan;
    	      this.vrackNetworkId = defaults.vrackNetworkId;
        }

        @CustomType.Setter
        public Builder displayName(String displayName) {
            this.displayName = Objects.requireNonNull(displayName);
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder natIp(String natIp) {
            this.natIp = Objects.requireNonNull(natIp);
            return this;
        }
        @CustomType.Setter
        public Builder serviceName(String serviceName) {
            this.serviceName = Objects.requireNonNull(serviceName);
            return this;
        }
        @CustomType.Setter
        public Builder subnet(String subnet) {
            this.subnet = Objects.requireNonNull(subnet);
            return this;
        }
        @CustomType.Setter
        public Builder vlan(Integer vlan) {
            this.vlan = Objects.requireNonNull(vlan);
            return this;
        }
        @CustomType.Setter
        public Builder vrackNetworkId(Integer vrackNetworkId) {
            this.vrackNetworkId = Objects.requireNonNull(vrackNetworkId);
            return this;
        }
        public GetVrackNetworkResult build() {
            final var o = new GetVrackNetworkResult();
            o.displayName = displayName;
            o.id = id;
            o.natIp = natIp;
            o.serviceName = serviceName;
            o.subnet = subnet;
            o.vlan = vlan;
            o.vrackNetworkId = vrackNetworkId;
            return o;
        }
    }
}
