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

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

@CustomType
public final class GetVirtualNetworkSubnetOverride {
    /**
     * @return The name of the subnet.
     * 
     */
    private String labSubnetName;
    /**
     * @return The resource identifier for the subnet.
     * 
     */
    private String resourceId;
    /**
     * @return Indicates if the subnet can be used for VM creation.  Possible values are `Allow`, `Default` and `Deny`.
     * 
     */
    private String useInVmCreationPermission;
    private String usePublicIpAddressPermission;
    /**
     * @return The virtual network pool associated with this subnet.
     * 
     */
    private String virtualNetworkPoolName;

    private GetVirtualNetworkSubnetOverride() {}
    /**
     * @return The name of the subnet.
     * 
     */
    public String labSubnetName() {
        return this.labSubnetName;
    }
    /**
     * @return The resource identifier for the subnet.
     * 
     */
    public String resourceId() {
        return this.resourceId;
    }
    /**
     * @return Indicates if the subnet can be used for VM creation.  Possible values are `Allow`, `Default` and `Deny`.
     * 
     */
    public String useInVmCreationPermission() {
        return this.useInVmCreationPermission;
    }
    public String usePublicIpAddressPermission() {
        return this.usePublicIpAddressPermission;
    }
    /**
     * @return The virtual network pool associated with this subnet.
     * 
     */
    public String virtualNetworkPoolName() {
        return this.virtualNetworkPoolName;
    }

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

    public static Builder builder(GetVirtualNetworkSubnetOverride defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String labSubnetName;
        private String resourceId;
        private String useInVmCreationPermission;
        private String usePublicIpAddressPermission;
        private String virtualNetworkPoolName;
        public Builder() {}
        public Builder(GetVirtualNetworkSubnetOverride defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.labSubnetName = defaults.labSubnetName;
    	      this.resourceId = defaults.resourceId;
    	      this.useInVmCreationPermission = defaults.useInVmCreationPermission;
    	      this.usePublicIpAddressPermission = defaults.usePublicIpAddressPermission;
    	      this.virtualNetworkPoolName = defaults.virtualNetworkPoolName;
        }

        @CustomType.Setter
        public Builder labSubnetName(String labSubnetName) {
            this.labSubnetName = Objects.requireNonNull(labSubnetName);
            return this;
        }
        @CustomType.Setter
        public Builder resourceId(String resourceId) {
            this.resourceId = Objects.requireNonNull(resourceId);
            return this;
        }
        @CustomType.Setter
        public Builder useInVmCreationPermission(String useInVmCreationPermission) {
            this.useInVmCreationPermission = Objects.requireNonNull(useInVmCreationPermission);
            return this;
        }
        @CustomType.Setter
        public Builder usePublicIpAddressPermission(String usePublicIpAddressPermission) {
            this.usePublicIpAddressPermission = Objects.requireNonNull(usePublicIpAddressPermission);
            return this;
        }
        @CustomType.Setter
        public Builder virtualNetworkPoolName(String virtualNetworkPoolName) {
            this.virtualNetworkPoolName = Objects.requireNonNull(virtualNetworkPoolName);
            return this;
        }
        public GetVirtualNetworkSubnetOverride build() {
            final var o = new GetVirtualNetworkSubnetOverride();
            o.labSubnetName = labSubnetName;
            o.resourceId = resourceId;
            o.useInVmCreationPermission = useInVmCreationPermission;
            o.usePublicIpAddressPermission = usePublicIpAddressPermission;
            o.virtualNetworkPoolName = virtualNetworkPoolName;
            return o;
        }
    }
}
