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

com.pulumi.azurenative.containerregistry.outputs.ExportPipelineTargetPropertiesResponse 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.containerregistry.outputs;

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

@CustomType
public final class ExportPipelineTargetPropertiesResponse {
    /**
     * @return They key vault secret uri to obtain the target storage SAS token.
     * 
     */
    private String keyVaultUri;
    /**
     * @return The type of target for the export pipeline.
     * 
     */
    private @Nullable String type;
    /**
     * @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"
     * 
     */
    private @Nullable String uri;

    private ExportPipelineTargetPropertiesResponse() {}
    /**
     * @return They key vault secret uri to obtain the target storage SAS token.
     * 
     */
    public String keyVaultUri() {
        return this.keyVaultUri;
    }
    /**
     * @return The type of target for the export pipeline.
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }
    /**
     * @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);
    }

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

    public static Builder builder(ExportPipelineTargetPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String keyVaultUri;
        private @Nullable String type;
        private @Nullable String uri;
        public Builder() {}
        public Builder(ExportPipelineTargetPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.keyVaultUri = defaults.keyVaultUri;
    	      this.type = defaults.type;
    	      this.uri = defaults.uri;
        }

        @CustomType.Setter
        public Builder keyVaultUri(String keyVaultUri) {
            if (keyVaultUri == null) {
              throw new MissingRequiredPropertyException("ExportPipelineTargetPropertiesResponse", "keyVaultUri");
            }
            this.keyVaultUri = keyVaultUri;
            return this;
        }
        @CustomType.Setter
        public Builder type(@Nullable String type) {

            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder uri(@Nullable String uri) {

            this.uri = uri;
            return this;
        }
        public ExportPipelineTargetPropertiesResponse build() {
            final var _resultValue = new ExportPipelineTargetPropertiesResponse();
            _resultValue.keyVaultUri = keyVaultUri;
            _resultValue.type = type;
            _resultValue.uri = uri;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy