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

com.pulumi.azurenative.appplatform.inputs.CustomContainerUserSourceInfoArgs 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.appplatform.inputs;

import com.pulumi.azurenative.appplatform.inputs.CustomContainerArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Custom container user source info
 * 
 */
public final class CustomContainerUserSourceInfoArgs extends com.pulumi.resources.ResourceArgs {

    public static final CustomContainerUserSourceInfoArgs Empty = new CustomContainerUserSourceInfoArgs();

    /**
     * Custom container payload
     * 
     */
    @Import(name="customContainer")
    private @Nullable Output customContainer;

    /**
     * @return Custom container payload
     * 
     */
    public Optional> customContainer() {
        return Optional.ofNullable(this.customContainer);
    }

    /**
     * Type of the source uploaded
     * Expected value is 'Container'.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return Type of the source uploaded
     * Expected value is 'Container'.
     * 
     */
    public Output type() {
        return this.type;
    }

    /**
     * Version of the source
     * 
     */
    @Import(name="version")
    private @Nullable Output version;

    /**
     * @return Version of the source
     * 
     */
    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

    private CustomContainerUserSourceInfoArgs() {}

    private CustomContainerUserSourceInfoArgs(CustomContainerUserSourceInfoArgs $) {
        this.customContainer = $.customContainer;
        this.type = $.type;
        this.version = $.version;
    }

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

    public static final class Builder {
        private CustomContainerUserSourceInfoArgs $;

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

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

        /**
         * @param customContainer Custom container payload
         * 
         * @return builder
         * 
         */
        public Builder customContainer(@Nullable Output customContainer) {
            $.customContainer = customContainer;
            return this;
        }

        /**
         * @param customContainer Custom container payload
         * 
         * @return builder
         * 
         */
        public Builder customContainer(CustomContainerArgs customContainer) {
            return customContainer(Output.of(customContainer));
        }

        /**
         * @param type Type of the source uploaded
         * Expected value is 'Container'.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Type of the source uploaded
         * Expected value is 'Container'.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        /**
         * @param version Version of the source
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version Version of the source
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            return version(Output.of(version));
        }

        public CustomContainerUserSourceInfoArgs build() {
            $.type = Codegen.stringProp("type").output().arg($.type).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy