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

com.pulumi.azurenative.containerregistry.ExportPipelineArgs Maven / Gradle / Ivy

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

import com.pulumi.azurenative.containerregistry.enums.PipelineOptions;
import com.pulumi.azurenative.containerregistry.inputs.ExportPipelineTargetPropertiesArgs;
import com.pulumi.azurenative.containerregistry.inputs.IdentityPropertiesArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ExportPipelineArgs extends com.pulumi.resources.ResourceArgs {

    public static final ExportPipelineArgs Empty = new ExportPipelineArgs();

    /**
     * The name of the export pipeline.
     * 
     */
    @Import(name="exportPipelineName")
    private @Nullable Output exportPipelineName;

    /**
     * @return The name of the export pipeline.
     * 
     */
    public Optional> exportPipelineName() {
        return Optional.ofNullable(this.exportPipelineName);
    }

    /**
     * The identity of the export pipeline.
     * 
     */
    @Import(name="identity")
    private @Nullable Output identity;

    /**
     * @return The identity of the export pipeline.
     * 
     */
    public Optional> identity() {
        return Optional.ofNullable(this.identity);
    }

    /**
     * The location of the export pipeline.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The location of the export pipeline.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The list of all options configured for the pipeline.
     * 
     */
    @Import(name="options")
    private @Nullable Output>> options;

    /**
     * @return The list of all options configured for the pipeline.
     * 
     */
    public Optional>>> options() {
        return Optional.ofNullable(this.options);
    }

    /**
     * The name of the container registry.
     * 
     */
    @Import(name="registryName", required=true)
    private Output registryName;

    /**
     * @return The name of the container registry.
     * 
     */
    public Output registryName() {
        return this.registryName;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The target properties of the export pipeline.
     * 
     */
    @Import(name="target", required=true)
    private Output target;

    /**
     * @return The target properties of the export pipeline.
     * 
     */
    public Output target() {
        return this.target;
    }

    private ExportPipelineArgs() {}

    private ExportPipelineArgs(ExportPipelineArgs $) {
        this.exportPipelineName = $.exportPipelineName;
        this.identity = $.identity;
        this.location = $.location;
        this.options = $.options;
        this.registryName = $.registryName;
        this.resourceGroupName = $.resourceGroupName;
        this.target = $.target;
    }

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

    public static final class Builder {
        private ExportPipelineArgs $;

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

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

        /**
         * @param exportPipelineName The name of the export pipeline.
         * 
         * @return builder
         * 
         */
        public Builder exportPipelineName(@Nullable Output exportPipelineName) {
            $.exportPipelineName = exportPipelineName;
            return this;
        }

        /**
         * @param exportPipelineName The name of the export pipeline.
         * 
         * @return builder
         * 
         */
        public Builder exportPipelineName(String exportPipelineName) {
            return exportPipelineName(Output.of(exportPipelineName));
        }

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

        /**
         * @param identity The identity of the export pipeline.
         * 
         * @return builder
         * 
         */
        public Builder identity(IdentityPropertiesArgs identity) {
            return identity(Output.of(identity));
        }

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

        /**
         * @param location The location of the export pipeline.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param options The list of all options configured for the pipeline.
         * 
         * @return builder
         * 
         */
        public Builder options(@Nullable Output>> options) {
            $.options = options;
            return this;
        }

        /**
         * @param options The list of all options configured for the pipeline.
         * 
         * @return builder
         * 
         */
        public Builder options(List> options) {
            return options(Output.of(options));
        }

        /**
         * @param options The list of all options configured for the pipeline.
         * 
         * @return builder
         * 
         */
        public Builder options(Either... options) {
            return options(List.of(options));
        }

        /**
         * @param registryName The name of the container registry.
         * 
         * @return builder
         * 
         */
        public Builder registryName(Output registryName) {
            $.registryName = registryName;
            return this;
        }

        /**
         * @param registryName The name of the container registry.
         * 
         * @return builder
         * 
         */
        public Builder registryName(String registryName) {
            return registryName(Output.of(registryName));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param target The target properties of the export pipeline.
         * 
         * @return builder
         * 
         */
        public Builder target(Output target) {
            $.target = target;
            return this;
        }

        /**
         * @param target The target properties of the export pipeline.
         * 
         * @return builder
         * 
         */
        public Builder target(ExportPipelineTargetPropertiesArgs target) {
            return target(Output.of(target));
        }

        public ExportPipelineArgs build() {
            if ($.registryName == null) {
                throw new MissingRequiredPropertyException("ExportPipelineArgs", "registryName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("ExportPipelineArgs", "resourceGroupName");
            }
            if ($.target == null) {
                throw new MissingRequiredPropertyException("ExportPipelineArgs", "target");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy