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

com.pulumi.azurenative.hybridnetwork.inputs.ManifestArtifactFormatArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.hybridnetwork.inputs;

import com.pulumi.azurenative.hybridnetwork.enums.ArtifactType;
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;


/**
 * Manifest artifact properties.
 * 
 */
public final class ManifestArtifactFormatArgs extends com.pulumi.resources.ResourceArgs {

    public static final ManifestArtifactFormatArgs Empty = new ManifestArtifactFormatArgs();

    /**
     * The artifact name
     * 
     */
    @Import(name="artifactName")
    private @Nullable Output artifactName;

    /**
     * @return The artifact name
     * 
     */
    public Optional> artifactName() {
        return Optional.ofNullable(this.artifactName);
    }

    /**
     * The artifact type.
     * 
     */
    @Import(name="artifactType")
    private @Nullable Output> artifactType;

    /**
     * @return The artifact type.
     * 
     */
    public Optional>> artifactType() {
        return Optional.ofNullable(this.artifactType);
    }

    /**
     * The artifact version.
     * 
     */
    @Import(name="artifactVersion")
    private @Nullable Output artifactVersion;

    /**
     * @return The artifact version.
     * 
     */
    public Optional> artifactVersion() {
        return Optional.ofNullable(this.artifactVersion);
    }

    private ManifestArtifactFormatArgs() {}

    private ManifestArtifactFormatArgs(ManifestArtifactFormatArgs $) {
        this.artifactName = $.artifactName;
        this.artifactType = $.artifactType;
        this.artifactVersion = $.artifactVersion;
    }

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

    public static final class Builder {
        private ManifestArtifactFormatArgs $;

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

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

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

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

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

        /**
         * @param artifactType The artifact type.
         * 
         * @return builder
         * 
         */
        public Builder artifactType(Either artifactType) {
            return artifactType(Output.of(artifactType));
        }

        /**
         * @param artifactType The artifact type.
         * 
         * @return builder
         * 
         */
        public Builder artifactType(String artifactType) {
            return artifactType(Either.ofLeft(artifactType));
        }

        /**
         * @param artifactType The artifact type.
         * 
         * @return builder
         * 
         */
        public Builder artifactType(ArtifactType artifactType) {
            return artifactType(Either.ofRight(artifactType));
        }

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

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

        public ManifestArtifactFormatArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy