All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.compute.inputs.VirtualMachinePublicIPAddressDnsSettingsConfigurationArgs Maven / Gradle / Ivy

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

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


/**
 * Describes a virtual machines network configuration's DNS settings.
 * 
 */
public final class VirtualMachinePublicIPAddressDnsSettingsConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final VirtualMachinePublicIPAddressDnsSettingsConfigurationArgs Empty = new VirtualMachinePublicIPAddressDnsSettingsConfigurationArgs();

    /**
     * The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.
     * 
     */
    @Import(name="domainNameLabel", required=true)
    private Output domainNameLabel;

    /**
     * @return The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.
     * 
     */
    public Output domainNameLabel() {
        return this.domainNameLabel;
    }

    private VirtualMachinePublicIPAddressDnsSettingsConfigurationArgs() {}

    private VirtualMachinePublicIPAddressDnsSettingsConfigurationArgs(VirtualMachinePublicIPAddressDnsSettingsConfigurationArgs $) {
        this.domainNameLabel = $.domainNameLabel;
    }

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

    public static final class Builder {
        private VirtualMachinePublicIPAddressDnsSettingsConfigurationArgs $;

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

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

        /**
         * @param domainNameLabel The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.
         * 
         * @return builder
         * 
         */
        public Builder domainNameLabel(Output domainNameLabel) {
            $.domainNameLabel = domainNameLabel;
            return this;
        }

        /**
         * @param domainNameLabel The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.
         * 
         * @return builder
         * 
         */
        public Builder domainNameLabel(String domainNameLabel) {
            return domainNameLabel(Output.of(domainNameLabel));
        }

        public VirtualMachinePublicIPAddressDnsSettingsConfigurationArgs build() {
            if ($.domainNameLabel == null) {
                throw new MissingRequiredPropertyException("VirtualMachinePublicIPAddressDnsSettingsConfigurationArgs", "domainNameLabel");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy