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

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


public final class ServerVulnerabilityAssessmentVirtualMachineArgs extends com.pulumi.resources.ResourceArgs {

    public static final ServerVulnerabilityAssessmentVirtualMachineArgs Empty = new ServerVulnerabilityAssessmentVirtualMachineArgs();

    /**
     * The ID of the virtual machine to be monitored by vulnerability assessment. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="virtualMachineId", required=true)
    private Output<String> virtualMachineId;

    /**
     * @return The ID of the virtual machine to be monitored by vulnerability assessment. Changing this forces a new resource to be created.
     * 
     */
    public Output<String> virtualMachineId() {
        return this.virtualMachineId;
    }

    private ServerVulnerabilityAssessmentVirtualMachineArgs() {}

    private ServerVulnerabilityAssessmentVirtualMachineArgs(ServerVulnerabilityAssessmentVirtualMachineArgs $) {
        this.virtualMachineId = $.virtualMachineId;
    }

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

    public static final class Builder {
        private ServerVulnerabilityAssessmentVirtualMachineArgs $;

        public Builder() {
            $ = new ServerVulnerabilityAssessmentVirtualMachineArgs();
        }

        public Builder(ServerVulnerabilityAssessmentVirtualMachineArgs defaults) {
            $ = new ServerVulnerabilityAssessmentVirtualMachineArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param virtualMachineId The ID of the virtual machine to be monitored by vulnerability assessment. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder virtualMachineId(Output<String> virtualMachineId) {
            $.virtualMachineId = virtualMachineId;
            return this;
        }

        /**
         * @param virtualMachineId The ID of the virtual machine to be monitored by vulnerability assessment. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder virtualMachineId(String virtualMachineId) {
            return virtualMachineId(Output.of(virtualMachineId));
        }

        public ServerVulnerabilityAssessmentVirtualMachineArgs build() {
            $.virtualMachineId = Objects.requireNonNull($.virtualMachineId, "expected parameter 'virtualMachineId' to be non-null");
            return $;
        }
    }

}
