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

com.pulumi.azurenative.labservices.inputs.ResourceSetArgs 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.labservices.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Represents a VM and the setting Id it was created for.
 * 
 */
public final class ResourceSetArgs extends com.pulumi.resources.ResourceArgs {

    public static final ResourceSetArgs Empty = new ResourceSetArgs();

    /**
     * resourceSettingId for the environment
     * 
     */
    @Import(name="resourceSettingId")
    private @Nullable Output resourceSettingId;

    /**
     * @return resourceSettingId for the environment
     * 
     */
    public Optional> resourceSettingId() {
        return Optional.ofNullable(this.resourceSettingId);
    }

    /**
     * VM resource Id for the environment
     * 
     */
    @Import(name="vmResourceId")
    private @Nullable Output vmResourceId;

    /**
     * @return VM resource Id for the environment
     * 
     */
    public Optional> vmResourceId() {
        return Optional.ofNullable(this.vmResourceId);
    }

    private ResourceSetArgs() {}

    private ResourceSetArgs(ResourceSetArgs $) {
        this.resourceSettingId = $.resourceSettingId;
        this.vmResourceId = $.vmResourceId;
    }

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

    public static final class Builder {
        private ResourceSetArgs $;

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

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

        /**
         * @param resourceSettingId resourceSettingId for the environment
         * 
         * @return builder
         * 
         */
        public Builder resourceSettingId(@Nullable Output resourceSettingId) {
            $.resourceSettingId = resourceSettingId;
            return this;
        }

        /**
         * @param resourceSettingId resourceSettingId for the environment
         * 
         * @return builder
         * 
         */
        public Builder resourceSettingId(String resourceSettingId) {
            return resourceSettingId(Output.of(resourceSettingId));
        }

        /**
         * @param vmResourceId VM resource Id for the environment
         * 
         * @return builder
         * 
         */
        public Builder vmResourceId(@Nullable Output vmResourceId) {
            $.vmResourceId = vmResourceId;
            return this;
        }

        /**
         * @param vmResourceId VM resource Id for the environment
         * 
         * @return builder
         * 
         */
        public Builder vmResourceId(String vmResourceId) {
            return vmResourceId(Output.of(vmResourceId));
        }

        public ResourceSetArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy