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

com.pulumi.azurenative.migrate.inputs.NsgReferenceArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** 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.migrate.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;


/**
 * Defines reference to NSG.
 * 
 */
public final class NsgReferenceArgs extends com.pulumi.resources.ResourceArgs {

    public static final NsgReferenceArgs Empty = new NsgReferenceArgs();

    /**
     * Gets the ARM resource ID of the tracked resource being referenced.
     * 
     */
    @Import(name="sourceArmResourceId", required=true)
    private Output sourceArmResourceId;

    /**
     * @return Gets the ARM resource ID of the tracked resource being referenced.
     * 
     */
    public Output sourceArmResourceId() {
        return this.sourceArmResourceId;
    }

    private NsgReferenceArgs() {}

    private NsgReferenceArgs(NsgReferenceArgs $) {
        this.sourceArmResourceId = $.sourceArmResourceId;
    }

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

    public static final class Builder {
        private NsgReferenceArgs $;

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

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

        /**
         * @param sourceArmResourceId Gets the ARM resource ID of the tracked resource being referenced.
         * 
         * @return builder
         * 
         */
        public Builder sourceArmResourceId(Output sourceArmResourceId) {
            $.sourceArmResourceId = sourceArmResourceId;
            return this;
        }

        /**
         * @param sourceArmResourceId Gets the ARM resource ID of the tracked resource being referenced.
         * 
         * @return builder
         * 
         */
        public Builder sourceArmResourceId(String sourceArmResourceId) {
            return sourceArmResourceId(Output.of(sourceArmResourceId));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy