// *** 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.azure.compute.outputs.GetOrchestratedVirtualMachineScaleSetIdentity;
import com.pulumi.azure.compute.outputs.GetOrchestratedVirtualMachineScaleSetNetworkInterface;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetOrchestratedVirtualMachineScaleSetResult {
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return A `identity` block as defined below.
     * 
     */
    private List<GetOrchestratedVirtualMachineScaleSetIdentity> identities;
    /**
     * @return The Azure Region in which this Orchestrated Virtual Machine Scale Set exists.
     * 
     */
    private String location;
    /**
     * @return The name of the public IP address configuration
     * 
     */
    private String name;
    /**
     * @return A list of `network_interface` blocks as defined below.
     * 
     */
    private List<GetOrchestratedVirtualMachineScaleSetNetworkInterface> networkInterfaces;
    private String resourceGroupName;

    private GetOrchestratedVirtualMachineScaleSetResult() {}
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return A `identity` block as defined below.
     * 
     */
    public List<GetOrchestratedVirtualMachineScaleSetIdentity> identities() {
        return this.identities;
    }
    /**
     * @return The Azure Region in which this Orchestrated Virtual Machine Scale Set exists.
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return The name of the public IP address configuration
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return A list of `network_interface` blocks as defined below.
     * 
     */
    public List<GetOrchestratedVirtualMachineScaleSetNetworkInterface> networkInterfaces() {
        return this.networkInterfaces;
    }
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

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

    public static Builder builder(GetOrchestratedVirtualMachineScaleSetResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private List<GetOrchestratedVirtualMachineScaleSetIdentity> identities;
        private String location;
        private String name;
        private List<GetOrchestratedVirtualMachineScaleSetNetworkInterface> networkInterfaces;
        private String resourceGroupName;
        public Builder() {}
        public Builder(GetOrchestratedVirtualMachineScaleSetResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.identities = defaults.identities;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.networkInterfaces = defaults.networkInterfaces;
    	      this.resourceGroupName = defaults.resourceGroupName;
        }

        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder identities(List<GetOrchestratedVirtualMachineScaleSetIdentity> identities) {
            this.identities = Objects.requireNonNull(identities);
            return this;
        }
        public Builder identities(GetOrchestratedVirtualMachineScaleSetIdentity... identities) {
            return identities(List.of(identities));
        }
        @CustomType.Setter
        public Builder location(String location) {
            this.location = Objects.requireNonNull(location);
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        @CustomType.Setter
        public Builder networkInterfaces(List<GetOrchestratedVirtualMachineScaleSetNetworkInterface> networkInterfaces) {
            this.networkInterfaces = Objects.requireNonNull(networkInterfaces);
            return this;
        }
        public Builder networkInterfaces(GetOrchestratedVirtualMachineScaleSetNetworkInterface... networkInterfaces) {
            return networkInterfaces(List.of(networkInterfaces));
        }
        @CustomType.Setter
        public Builder resourceGroupName(String resourceGroupName) {
            this.resourceGroupName = Objects.requireNonNull(resourceGroupName);
            return this;
        }
        public GetOrchestratedVirtualMachineScaleSetResult build() {
            final var o = new GetOrchestratedVirtualMachineScaleSetResult();
            o.id = id;
            o.identities = identities;
            o.location = location;
            o.name = name;
            o.networkInterfaces = networkInterfaces;
            o.resourceGroupName = resourceGroupName;
            return o;
        }
    }
}
