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

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

@CustomType
public final class VirtualNetworkEncryption {
    /**
     * @return Specifies if the encrypted Virtual Network allows VM that does not support encryption. Possible values are `DropUnencrypted` and `AllowUnencrypted`.
     * 
     */
    private String enforcement;

    private VirtualNetworkEncryption() {}
    /**
     * @return Specifies if the encrypted Virtual Network allows VM that does not support encryption. Possible values are `DropUnencrypted` and `AllowUnencrypted`.
     * 
     */
    public String enforcement() {
        return this.enforcement;
    }

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

    public static Builder builder(VirtualNetworkEncryption defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String enforcement;
        public Builder() {}
        public Builder(VirtualNetworkEncryption defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.enforcement = defaults.enforcement;
        }

        @CustomType.Setter
        public Builder enforcement(String enforcement) {
            this.enforcement = Objects.requireNonNull(enforcement);
            return this;
        }
        public VirtualNetworkEncryption build() {
            final var o = new VirtualNetworkEncryption();
            o.enforcement = enforcement;
            return o;
        }
    }
}
