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

com.pulumi.azurenative.securityinsights.inputs.DeploymentInfoArgs 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.securityinsights.inputs;

import com.pulumi.azurenative.securityinsights.enums.DeploymentFetchStatus;
import com.pulumi.azurenative.securityinsights.inputs.DeploymentArgs;
import com.pulumi.core.Either;
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;


/**
 * Information regarding a deployment.
 * 
 */
public final class DeploymentInfoArgs extends com.pulumi.resources.ResourceArgs {

    public static final DeploymentInfoArgs Empty = new DeploymentInfoArgs();

    /**
     * Deployment information.
     * 
     */
    @Import(name="deployment")
    private @Nullable Output deployment;

    /**
     * @return Deployment information.
     * 
     */
    public Optional> deployment() {
        return Optional.ofNullable(this.deployment);
    }

    /**
     * Status while fetching the last deployment.
     * 
     */
    @Import(name="deploymentFetchStatus")
    private @Nullable Output> deploymentFetchStatus;

    /**
     * @return Status while fetching the last deployment.
     * 
     */
    public Optional>> deploymentFetchStatus() {
        return Optional.ofNullable(this.deploymentFetchStatus);
    }

    /**
     * Additional details about the deployment that can be shown to the user.
     * 
     */
    @Import(name="message")
    private @Nullable Output message;

    /**
     * @return Additional details about the deployment that can be shown to the user.
     * 
     */
    public Optional> message() {
        return Optional.ofNullable(this.message);
    }

    private DeploymentInfoArgs() {}

    private DeploymentInfoArgs(DeploymentInfoArgs $) {
        this.deployment = $.deployment;
        this.deploymentFetchStatus = $.deploymentFetchStatus;
        this.message = $.message;
    }

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

    public static final class Builder {
        private DeploymentInfoArgs $;

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

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

        /**
         * @param deployment Deployment information.
         * 
         * @return builder
         * 
         */
        public Builder deployment(@Nullable Output deployment) {
            $.deployment = deployment;
            return this;
        }

        /**
         * @param deployment Deployment information.
         * 
         * @return builder
         * 
         */
        public Builder deployment(DeploymentArgs deployment) {
            return deployment(Output.of(deployment));
        }

        /**
         * @param deploymentFetchStatus Status while fetching the last deployment.
         * 
         * @return builder
         * 
         */
        public Builder deploymentFetchStatus(@Nullable Output> deploymentFetchStatus) {
            $.deploymentFetchStatus = deploymentFetchStatus;
            return this;
        }

        /**
         * @param deploymentFetchStatus Status while fetching the last deployment.
         * 
         * @return builder
         * 
         */
        public Builder deploymentFetchStatus(Either deploymentFetchStatus) {
            return deploymentFetchStatus(Output.of(deploymentFetchStatus));
        }

        /**
         * @param deploymentFetchStatus Status while fetching the last deployment.
         * 
         * @return builder
         * 
         */
        public Builder deploymentFetchStatus(String deploymentFetchStatus) {
            return deploymentFetchStatus(Either.ofLeft(deploymentFetchStatus));
        }

        /**
         * @param deploymentFetchStatus Status while fetching the last deployment.
         * 
         * @return builder
         * 
         */
        public Builder deploymentFetchStatus(DeploymentFetchStatus deploymentFetchStatus) {
            return deploymentFetchStatus(Either.ofRight(deploymentFetchStatus));
        }

        /**
         * @param message Additional details about the deployment that can be shown to the user.
         * 
         * @return builder
         * 
         */
        public Builder message(@Nullable Output message) {
            $.message = message;
            return this;
        }

        /**
         * @param message Additional details about the deployment that can be shown to the user.
         * 
         * @return builder
         * 
         */
        public Builder message(String message) {
            return message(Output.of(message));
        }

        public DeploymentInfoArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy