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

com.pulumi.azurenative.containerregistry.inputs.ExportPipelineTargetPropertiesArgs 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.containerregistry.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The properties of the export pipeline target.
 * 
 */
public final class ExportPipelineTargetPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final ExportPipelineTargetPropertiesArgs Empty = new ExportPipelineTargetPropertiesArgs();

    /**
     * They key vault secret uri to obtain the target storage SAS token.
     * 
     */
    @Import(name="keyVaultUri", required=true)
    private Output keyVaultUri;

    /**
     * @return They key vault secret uri to obtain the target storage SAS token.
     * 
     */
    public Output keyVaultUri() {
        return this.keyVaultUri;
    }

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

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

    /**
     * The target uri of the export pipeline.
     * When 'AzureStorageBlob': "https://accountName.blob.core.windows.net/containerName/blobName"
     * When 'AzureStorageBlobContainer':  "https://accountName.blob.core.windows.net/containerName"
     * 
     */
    @Import(name="uri")
    private @Nullable Output uri;

    /**
     * @return The target uri of the export pipeline.
     * When 'AzureStorageBlob': "https://accountName.blob.core.windows.net/containerName/blobName"
     * When 'AzureStorageBlobContainer':  "https://accountName.blob.core.windows.net/containerName"
     * 
     */
    public Optional> uri() {
        return Optional.ofNullable(this.uri);
    }

    private ExportPipelineTargetPropertiesArgs() {}

    private ExportPipelineTargetPropertiesArgs(ExportPipelineTargetPropertiesArgs $) {
        this.keyVaultUri = $.keyVaultUri;
        this.type = $.type;
        this.uri = $.uri;
    }

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

    public static final class Builder {
        private ExportPipelineTargetPropertiesArgs $;

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

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

        /**
         * @param keyVaultUri They key vault secret uri to obtain the target storage SAS token.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultUri(Output keyVaultUri) {
            $.keyVaultUri = keyVaultUri;
            return this;
        }

        /**
         * @param keyVaultUri They key vault secret uri to obtain the target storage SAS token.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultUri(String keyVaultUri) {
            return keyVaultUri(Output.of(keyVaultUri));
        }

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

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

        /**
         * @param uri The target uri of the export pipeline.
         * When 'AzureStorageBlob': "https://accountName.blob.core.windows.net/containerName/blobName"
         * When 'AzureStorageBlobContainer':  "https://accountName.blob.core.windows.net/containerName"
         * 
         * @return builder
         * 
         */
        public Builder uri(@Nullable Output uri) {
            $.uri = uri;
            return this;
        }

        /**
         * @param uri The target uri of the export pipeline.
         * When 'AzureStorageBlob': "https://accountName.blob.core.windows.net/containerName/blobName"
         * When 'AzureStorageBlobContainer':  "https://accountName.blob.core.windows.net/containerName"
         * 
         * @return builder
         * 
         */
        public Builder uri(String uri) {
            return uri(Output.of(uri));
        }

        public ExportPipelineTargetPropertiesArgs build() {
            if ($.keyVaultUri == null) {
                throw new MissingRequiredPropertyException("ExportPipelineTargetPropertiesArgs", "keyVaultUri");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy