// *** 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.azure.privatelink.outputs;

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

@CustomType
public final class GetServiceNatIpConfiguration {
    /**
     * @return The name of the private link service.
     * 
     */
    private String name;
    /**
     * @return Value that indicates if the IP configuration is the primary configuration or not.
     * 
     */
    private Boolean primary;
    /**
     * @return The private IP address of the NAT IP configuration.
     * 
     */
    private String privateIpAddress;
    /**
     * @return The version of the IP Protocol.
     * 
     */
    private String privateIpAddressVersion;
    /**
     * @return The ID of the subnet to be used by the service.
     * 
     */
    private String subnetId;

    private GetServiceNatIpConfiguration() {}
    /**
     * @return The name of the private link service.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Value that indicates if the IP configuration is the primary configuration or not.
     * 
     */
    public Boolean primary() {
        return this.primary;
    }
    /**
     * @return The private IP address of the NAT IP configuration.
     * 
     */
    public String privateIpAddress() {
        return this.privateIpAddress;
    }
    /**
     * @return The version of the IP Protocol.
     * 
     */
    public String privateIpAddressVersion() {
        return this.privateIpAddressVersion;
    }
    /**
     * @return The ID of the subnet to be used by the service.
     * 
     */
    public String subnetId() {
        return this.subnetId;
    }

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

    public static Builder builder(GetServiceNatIpConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String name;
        private Boolean primary;
        private String privateIpAddress;
        private String privateIpAddressVersion;
        private String subnetId;
        public Builder() {}
        public Builder(GetServiceNatIpConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.name = defaults.name;
    	      this.primary = defaults.primary;
    	      this.privateIpAddress = defaults.privateIpAddress;
    	      this.privateIpAddressVersion = defaults.privateIpAddressVersion;
    	      this.subnetId = defaults.subnetId;
        }

        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        @CustomType.Setter
        public Builder primary(Boolean primary) {
            this.primary = Objects.requireNonNull(primary);
            return this;
        }
        @CustomType.Setter
        public Builder privateIpAddress(String privateIpAddress) {
            this.privateIpAddress = Objects.requireNonNull(privateIpAddress);
            return this;
        }
        @CustomType.Setter
        public Builder privateIpAddressVersion(String privateIpAddressVersion) {
            this.privateIpAddressVersion = Objects.requireNonNull(privateIpAddressVersion);
            return this;
        }
        @CustomType.Setter
        public Builder subnetId(String subnetId) {
            this.subnetId = Objects.requireNonNull(subnetId);
            return this;
        }
        public GetServiceNatIpConfiguration build() {
            final var o = new GetServiceNatIpConfiguration();
            o.name = name;
            o.primary = primary;
            o.privateIpAddress = privateIpAddress;
            o.privateIpAddressVersion = privateIpAddressVersion;
            o.subnetId = subnetId;
            return o;
        }
    }
}
