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

com.pulumi.azure.storage.inputs.GetBlobPlainArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.storage.inputs;

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


public final class GetBlobPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetBlobPlainArgs Empty = new GetBlobPlainArgs();

    /**
     * A map of custom blob metadata.
     * 
     */
    @Import(name="metadata")
    private @Nullable Map metadata;

    /**
     * @return A map of custom blob metadata.
     * 
     */
    public Optional> metadata() {
        return Optional.ofNullable(this.metadata);
    }

    /**
     * The name of the Blob.
     * 
     */
    @Import(name="name", required=true)
    private String name;

    /**
     * @return The name of the Blob.
     * 
     */
    public String name() {
        return this.name;
    }

    /**
     * The name of the Storage Account where the Container exists.
     * 
     */
    @Import(name="storageAccountName", required=true)
    private String storageAccountName;

    /**
     * @return The name of the Storage Account where the Container exists.
     * 
     */
    public String storageAccountName() {
        return this.storageAccountName;
    }

    /**
     * The name of the Storage Container where the Blob exists.
     * 
     */
    @Import(name="storageContainerName", required=true)
    private String storageContainerName;

    /**
     * @return The name of the Storage Container where the Blob exists.
     * 
     */
    public String storageContainerName() {
        return this.storageContainerName;
    }

    private GetBlobPlainArgs() {}

    private GetBlobPlainArgs(GetBlobPlainArgs $) {
        this.metadata = $.metadata;
        this.name = $.name;
        this.storageAccountName = $.storageAccountName;
        this.storageContainerName = $.storageContainerName;
    }

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

    public static final class Builder {
        private GetBlobPlainArgs $;

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

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

        /**
         * @param metadata A map of custom blob metadata.
         * 
         * @return builder
         * 
         */
        public Builder metadata(@Nullable Map metadata) {
            $.metadata = metadata;
            return this;
        }

        /**
         * @param name The name of the Blob.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            $.name = name;
            return this;
        }

        /**
         * @param storageAccountName The name of the Storage Account where the Container exists.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountName(String storageAccountName) {
            $.storageAccountName = storageAccountName;
            return this;
        }

        /**
         * @param storageContainerName The name of the Storage Container where the Blob exists.
         * 
         * @return builder
         * 
         */
        public Builder storageContainerName(String storageContainerName) {
            $.storageContainerName = storageContainerName;
            return this;
        }

        public GetBlobPlainArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("GetBlobPlainArgs", "name");
            }
            if ($.storageAccountName == null) {
                throw new MissingRequiredPropertyException("GetBlobPlainArgs", "storageAccountName");
            }
            if ($.storageContainerName == null) {
                throw new MissingRequiredPropertyException("GetBlobPlainArgs", "storageContainerName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy