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

com.pulumi.azurenative.workloads.inputs.DeployerVmPackagesArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.workloads.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;


/**
 * Defines the url and storage account ID where deployer VM packages are uploaded
 * 
 */
public final class DeployerVmPackagesArgs extends com.pulumi.resources.ResourceArgs {

    public static final DeployerVmPackagesArgs Empty = new DeployerVmPackagesArgs();

    /**
     * The deployer VM packages storage account id
     * 
     */
    @Import(name="storageAccountId")
    private @Nullable Output storageAccountId;

    /**
     * @return The deployer VM packages storage account id
     * 
     */
    public Optional> storageAccountId() {
        return Optional.ofNullable(this.storageAccountId);
    }

    /**
     * The URL to the deployer VM packages file.
     * 
     */
    @Import(name="url")
    private @Nullable Output url;

    /**
     * @return The URL to the deployer VM packages file.
     * 
     */
    public Optional> url() {
        return Optional.ofNullable(this.url);
    }

    private DeployerVmPackagesArgs() {}

    private DeployerVmPackagesArgs(DeployerVmPackagesArgs $) {
        this.storageAccountId = $.storageAccountId;
        this.url = $.url;
    }

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

    public static final class Builder {
        private DeployerVmPackagesArgs $;

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

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

        /**
         * @param storageAccountId The deployer VM packages storage account id
         * 
         * @return builder
         * 
         */
        public Builder storageAccountId(@Nullable Output storageAccountId) {
            $.storageAccountId = storageAccountId;
            return this;
        }

        /**
         * @param storageAccountId The deployer VM packages storage account id
         * 
         * @return builder
         * 
         */
        public Builder storageAccountId(String storageAccountId) {
            return storageAccountId(Output.of(storageAccountId));
        }

        /**
         * @param url The URL to the deployer VM packages file.
         * 
         * @return builder
         * 
         */
        public Builder url(@Nullable Output url) {
            $.url = url;
            return this;
        }

        /**
         * @param url The URL to the deployer VM packages file.
         * 
         * @return builder
         * 
         */
        public Builder url(String url) {
            return url(Output.of(url));
        }

        public DeployerVmPackagesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy