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

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

@CustomType
public final class GetVirtualMachineScaleSetInstance {
    /**
     * @return The Hostname of this Virtual Machine.
     * 
     */
    private String computerName;
    /**
     * @return The Instance ID of this Virtual Machine.
     * 
     */
    private String instanceId;
    /**
     * @return Whether the latest model has been applied to this Virtual Machine.
     * 
     */
    private Boolean latestModelApplied;
    /**
     * @return The name of this Virtual Machine Scale Set.
     * 
     */
    private String name;
    /**
     * @return The power state of the virtual machine.
     * 
     */
    private String powerState;
    /**
     * @return The Primary Private IP Address assigned to this Virtual Machine.
     * 
     */
    private String privateIpAddress;
    /**
     * @return A list of Private IP Addresses assigned to this Virtual Machine.
     * 
     */
    private List<String> privateIpAddresses;
    /**
     * @return The virtual machines scale set IP Configuration&#39;s PublicIPAddress configuration. The `public_ip_address` is documented below.
     * 
     */
    private String publicIpAddress;
    /**
     * @return A list of the Public IP Addresses assigned to this Virtual Machine.
     * 
     */
    private List<String> publicIpAddresses;
    /**
     * @return The unique ID of the virtual machine.
     * 
     */
    private String virtualMachineId;
    /**
     * @return The zones of the virtual machine.
     * 
     */
    private String zone;

    private GetVirtualMachineScaleSetInstance() {}
    /**
     * @return The Hostname of this Virtual Machine.
     * 
     */
    public String computerName() {
        return this.computerName;
    }
    /**
     * @return The Instance ID of this Virtual Machine.
     * 
     */
    public String instanceId() {
        return this.instanceId;
    }
    /**
     * @return Whether the latest model has been applied to this Virtual Machine.
     * 
     */
    public Boolean latestModelApplied() {
        return this.latestModelApplied;
    }
    /**
     * @return The name of this Virtual Machine Scale Set.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The power state of the virtual machine.
     * 
     */
    public String powerState() {
        return this.powerState;
    }
    /**
     * @return The Primary Private IP Address assigned to this Virtual Machine.
     * 
     */
    public String privateIpAddress() {
        return this.privateIpAddress;
    }
    /**
     * @return A list of Private IP Addresses assigned to this Virtual Machine.
     * 
     */
    public List<String> privateIpAddresses() {
        return this.privateIpAddresses;
    }
    /**
     * @return The virtual machines scale set IP Configuration&#39;s PublicIPAddress configuration. The `public_ip_address` is documented below.
     * 
     */
    public String publicIpAddress() {
        return this.publicIpAddress;
    }
    /**
     * @return A list of the Public IP Addresses assigned to this Virtual Machine.
     * 
     */
    public List<String> publicIpAddresses() {
        return this.publicIpAddresses;
    }
    /**
     * @return The unique ID of the virtual machine.
     * 
     */
    public String virtualMachineId() {
        return this.virtualMachineId;
    }
    /**
     * @return The zones of the virtual machine.
     * 
     */
    public String zone() {
        return this.zone;
    }

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

    public static Builder builder(GetVirtualMachineScaleSetInstance defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String computerName;
        private String instanceId;
        private Boolean latestModelApplied;
        private String name;
        private String powerState;
        private String privateIpAddress;
        private List<String> privateIpAddresses;
        private String publicIpAddress;
        private List<String> publicIpAddresses;
        private String virtualMachineId;
        private String zone;
        public Builder() {}
        public Builder(GetVirtualMachineScaleSetInstance defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.computerName = defaults.computerName;
    	      this.instanceId = defaults.instanceId;
    	      this.latestModelApplied = defaults.latestModelApplied;
    	      this.name = defaults.name;
    	      this.powerState = defaults.powerState;
    	      this.privateIpAddress = defaults.privateIpAddress;
    	      this.privateIpAddresses = defaults.privateIpAddresses;
    	      this.publicIpAddress = defaults.publicIpAddress;
    	      this.publicIpAddresses = defaults.publicIpAddresses;
    	      this.virtualMachineId = defaults.virtualMachineId;
    	      this.zone = defaults.zone;
        }

        @CustomType.Setter
        public Builder computerName(String computerName) {
            this.computerName = Objects.requireNonNull(computerName);
            return this;
        }
        @CustomType.Setter
        public Builder instanceId(String instanceId) {
            this.instanceId = Objects.requireNonNull(instanceId);
            return this;
        }
        @CustomType.Setter
        public Builder latestModelApplied(Boolean latestModelApplied) {
            this.latestModelApplied = Objects.requireNonNull(latestModelApplied);
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        @CustomType.Setter
        public Builder powerState(String powerState) {
            this.powerState = Objects.requireNonNull(powerState);
            return this;
        }
        @CustomType.Setter
        public Builder privateIpAddress(String privateIpAddress) {
            this.privateIpAddress = Objects.requireNonNull(privateIpAddress);
            return this;
        }
        @CustomType.Setter
        public Builder privateIpAddresses(List<String> privateIpAddresses) {
            this.privateIpAddresses = Objects.requireNonNull(privateIpAddresses);
            return this;
        }
        public Builder privateIpAddresses(String... privateIpAddresses) {
            return privateIpAddresses(List.of(privateIpAddresses));
        }
        @CustomType.Setter
        public Builder publicIpAddress(String publicIpAddress) {
            this.publicIpAddress = Objects.requireNonNull(publicIpAddress);
            return this;
        }
        @CustomType.Setter
        public Builder publicIpAddresses(List<String> publicIpAddresses) {
            this.publicIpAddresses = Objects.requireNonNull(publicIpAddresses);
            return this;
        }
        public Builder publicIpAddresses(String... publicIpAddresses) {
            return publicIpAddresses(List.of(publicIpAddresses));
        }
        @CustomType.Setter
        public Builder virtualMachineId(String virtualMachineId) {
            this.virtualMachineId = Objects.requireNonNull(virtualMachineId);
            return this;
        }
        @CustomType.Setter
        public Builder zone(String zone) {
            this.zone = Objects.requireNonNull(zone);
            return this;
        }
        public GetVirtualMachineScaleSetInstance build() {
            final var o = new GetVirtualMachineScaleSetInstance();
            o.computerName = computerName;
            o.instanceId = instanceId;
            o.latestModelApplied = latestModelApplied;
            o.name = name;
            o.powerState = powerState;
            o.privateIpAddress = privateIpAddress;
            o.privateIpAddresses = privateIpAddresses;
            o.publicIpAddress = publicIpAddress;
            o.publicIpAddresses = publicIpAddresses;
            o.virtualMachineId = virtualMachineId;
            o.zone = zone;
            return o;
        }
    }
}
