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

com.pulumi.azurenative.devtestlab.inputs.ArtifactInstallPropertiesArgs 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.devtestlab.inputs;

import com.pulumi.azurenative.devtestlab.inputs.ArtifactParameterPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Properties of an artifact.
 * 
 */
public final class ArtifactInstallPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final ArtifactInstallPropertiesArgs Empty = new ArtifactInstallPropertiesArgs();

    /**
     * The artifact's identifier.
     * 
     */
    @Import(name="artifactId")
    private @Nullable Output artifactId;

    /**
     * @return The artifact's identifier.
     * 
     */
    public Optional> artifactId() {
        return Optional.ofNullable(this.artifactId);
    }

    /**
     * The artifact's title.
     * 
     */
    @Import(name="artifactTitle")
    private @Nullable Output artifactTitle;

    /**
     * @return The artifact's title.
     * 
     */
    public Optional> artifactTitle() {
        return Optional.ofNullable(this.artifactTitle);
    }

    /**
     * The status message from the deployment.
     * 
     */
    @Import(name="deploymentStatusMessage")
    private @Nullable Output deploymentStatusMessage;

    /**
     * @return The status message from the deployment.
     * 
     */
    public Optional> deploymentStatusMessage() {
        return Optional.ofNullable(this.deploymentStatusMessage);
    }

    /**
     * The time that the artifact starts to install on the virtual machine.
     * 
     */
    @Import(name="installTime")
    private @Nullable Output installTime;

    /**
     * @return The time that the artifact starts to install on the virtual machine.
     * 
     */
    public Optional> installTime() {
        return Optional.ofNullable(this.installTime);
    }

    /**
     * The parameters of the artifact.
     * 
     */
    @Import(name="parameters")
    private @Nullable Output> parameters;

    /**
     * @return The parameters of the artifact.
     * 
     */
    public Optional>> parameters() {
        return Optional.ofNullable(this.parameters);
    }

    /**
     * The status of the artifact.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return The status of the artifact.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * The status message from the virtual machine extension.
     * 
     */
    @Import(name="vmExtensionStatusMessage")
    private @Nullable Output vmExtensionStatusMessage;

    /**
     * @return The status message from the virtual machine extension.
     * 
     */
    public Optional> vmExtensionStatusMessage() {
        return Optional.ofNullable(this.vmExtensionStatusMessage);
    }

    private ArtifactInstallPropertiesArgs() {}

    private ArtifactInstallPropertiesArgs(ArtifactInstallPropertiesArgs $) {
        this.artifactId = $.artifactId;
        this.artifactTitle = $.artifactTitle;
        this.deploymentStatusMessage = $.deploymentStatusMessage;
        this.installTime = $.installTime;
        this.parameters = $.parameters;
        this.status = $.status;
        this.vmExtensionStatusMessage = $.vmExtensionStatusMessage;
    }

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

    public static final class Builder {
        private ArtifactInstallPropertiesArgs $;

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

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

        /**
         * @param artifactId The artifact's identifier.
         * 
         * @return builder
         * 
         */
        public Builder artifactId(@Nullable Output artifactId) {
            $.artifactId = artifactId;
            return this;
        }

        /**
         * @param artifactId The artifact's identifier.
         * 
         * @return builder
         * 
         */
        public Builder artifactId(String artifactId) {
            return artifactId(Output.of(artifactId));
        }

        /**
         * @param artifactTitle The artifact's title.
         * 
         * @return builder
         * 
         */
        public Builder artifactTitle(@Nullable Output artifactTitle) {
            $.artifactTitle = artifactTitle;
            return this;
        }

        /**
         * @param artifactTitle The artifact's title.
         * 
         * @return builder
         * 
         */
        public Builder artifactTitle(String artifactTitle) {
            return artifactTitle(Output.of(artifactTitle));
        }

        /**
         * @param deploymentStatusMessage The status message from the deployment.
         * 
         * @return builder
         * 
         */
        public Builder deploymentStatusMessage(@Nullable Output deploymentStatusMessage) {
            $.deploymentStatusMessage = deploymentStatusMessage;
            return this;
        }

        /**
         * @param deploymentStatusMessage The status message from the deployment.
         * 
         * @return builder
         * 
         */
        public Builder deploymentStatusMessage(String deploymentStatusMessage) {
            return deploymentStatusMessage(Output.of(deploymentStatusMessage));
        }

        /**
         * @param installTime The time that the artifact starts to install on the virtual machine.
         * 
         * @return builder
         * 
         */
        public Builder installTime(@Nullable Output installTime) {
            $.installTime = installTime;
            return this;
        }

        /**
         * @param installTime The time that the artifact starts to install on the virtual machine.
         * 
         * @return builder
         * 
         */
        public Builder installTime(String installTime) {
            return installTime(Output.of(installTime));
        }

        /**
         * @param parameters The parameters of the artifact.
         * 
         * @return builder
         * 
         */
        public Builder parameters(@Nullable Output> parameters) {
            $.parameters = parameters;
            return this;
        }

        /**
         * @param parameters The parameters of the artifact.
         * 
         * @return builder
         * 
         */
        public Builder parameters(List parameters) {
            return parameters(Output.of(parameters));
        }

        /**
         * @param parameters The parameters of the artifact.
         * 
         * @return builder
         * 
         */
        public Builder parameters(ArtifactParameterPropertiesArgs... parameters) {
            return parameters(List.of(parameters));
        }

        /**
         * @param status The status of the artifact.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The status of the artifact.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        /**
         * @param vmExtensionStatusMessage The status message from the virtual machine extension.
         * 
         * @return builder
         * 
         */
        public Builder vmExtensionStatusMessage(@Nullable Output vmExtensionStatusMessage) {
            $.vmExtensionStatusMessage = vmExtensionStatusMessage;
            return this;
        }

        /**
         * @param vmExtensionStatusMessage The status message from the virtual machine extension.
         * 
         * @return builder
         * 
         */
        public Builder vmExtensionStatusMessage(String vmExtensionStatusMessage) {
            return vmExtensionStatusMessage(Output.of(vmExtensionStatusMessage));
        }

        public ArtifactInstallPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy