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

com.pulumi.aws.datasync.inputs.LocationAzureBlobState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.datasync.inputs;

import com.pulumi.aws.datasync.inputs.LocationAzureBlobSasConfigurationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final LocationAzureBlobState Empty = new LocationAzureBlobState();

    /**
     * The access tier that you want your objects or files transferred into. Valid values: `HOT`, `COOL` and `ARCHIVE`. Default: `HOT`.
     * 
     */
    @Import(name="accessTier")
    private @Nullable Output accessTier;

    /**
     * @return The access tier that you want your objects or files transferred into. Valid values: `HOT`, `COOL` and `ARCHIVE`. Default: `HOT`.
     * 
     */
    public Optional> accessTier() {
        return Optional.ofNullable(this.accessTier);
    }

    /**
     * A list of DataSync Agent ARNs with which this location will be associated.
     * 
     */
    @Import(name="agentArns")
    private @Nullable Output> agentArns;

    /**
     * @return A list of DataSync Agent ARNs with which this location will be associated.
     * 
     */
    public Optional>> agentArns() {
        return Optional.ofNullable(this.agentArns);
    }

    /**
     * Amazon Resource Name (ARN) of the DataSync Location.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return Amazon Resource Name (ARN) of the DataSync Location.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * The authentication method DataSync uses to access your Azure Blob Storage. Valid values: `SAS`.
     * 
     */
    @Import(name="authenticationType")
    private @Nullable Output authenticationType;

    /**
     * @return The authentication method DataSync uses to access your Azure Blob Storage. Valid values: `SAS`.
     * 
     */
    public Optional> authenticationType() {
        return Optional.ofNullable(this.authenticationType);
    }

    /**
     * The type of blob that you want your objects or files to be when transferring them into Azure Blob Storage. Valid values: `BLOB`. Default: `BLOB`.
     * 
     */
    @Import(name="blobType")
    private @Nullable Output blobType;

    /**
     * @return The type of blob that you want your objects or files to be when transferring them into Azure Blob Storage. Valid values: `BLOB`. Default: `BLOB`.
     * 
     */
    public Optional> blobType() {
        return Optional.ofNullable(this.blobType);
    }

    /**
     * The URL of the Azure Blob Storage container involved in your transfer.
     * 
     */
    @Import(name="containerUrl")
    private @Nullable Output containerUrl;

    /**
     * @return The URL of the Azure Blob Storage container involved in your transfer.
     * 
     */
    public Optional> containerUrl() {
        return Optional.ofNullable(this.containerUrl);
    }

    /**
     * The SAS configuration that allows DataSync to access your Azure Blob Storage. See configuration below.
     * 
     */
    @Import(name="sasConfiguration")
    private @Nullable Output sasConfiguration;

    /**
     * @return The SAS configuration that allows DataSync to access your Azure Blob Storage. See configuration below.
     * 
     */
    public Optional> sasConfiguration() {
        return Optional.ofNullable(this.sasConfiguration);
    }

    /**
     * Path segments if you want to limit your transfer to a virtual directory in the container.
     * 
     */
    @Import(name="subdirectory")
    private @Nullable Output subdirectory;

    /**
     * @return Path segments if you want to limit your transfer to a virtual directory in the container.
     * 
     */
    public Optional> subdirectory() {
        return Optional.ofNullable(this.subdirectory);
    }

    /**
     * Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @return A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    @Import(name="uri")
    private @Nullable Output uri;

    public Optional> uri() {
        return Optional.ofNullable(this.uri);
    }

    private LocationAzureBlobState() {}

    private LocationAzureBlobState(LocationAzureBlobState $) {
        this.accessTier = $.accessTier;
        this.agentArns = $.agentArns;
        this.arn = $.arn;
        this.authenticationType = $.authenticationType;
        this.blobType = $.blobType;
        this.containerUrl = $.containerUrl;
        this.sasConfiguration = $.sasConfiguration;
        this.subdirectory = $.subdirectory;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
        this.uri = $.uri;
    }

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

    public static final class Builder {
        private LocationAzureBlobState $;

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

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

        /**
         * @param accessTier The access tier that you want your objects or files transferred into. Valid values: `HOT`, `COOL` and `ARCHIVE`. Default: `HOT`.
         * 
         * @return builder
         * 
         */
        public Builder accessTier(@Nullable Output accessTier) {
            $.accessTier = accessTier;
            return this;
        }

        /**
         * @param accessTier The access tier that you want your objects or files transferred into. Valid values: `HOT`, `COOL` and `ARCHIVE`. Default: `HOT`.
         * 
         * @return builder
         * 
         */
        public Builder accessTier(String accessTier) {
            return accessTier(Output.of(accessTier));
        }

        /**
         * @param agentArns A list of DataSync Agent ARNs with which this location will be associated.
         * 
         * @return builder
         * 
         */
        public Builder agentArns(@Nullable Output> agentArns) {
            $.agentArns = agentArns;
            return this;
        }

        /**
         * @param agentArns A list of DataSync Agent ARNs with which this location will be associated.
         * 
         * @return builder
         * 
         */
        public Builder agentArns(List agentArns) {
            return agentArns(Output.of(agentArns));
        }

        /**
         * @param agentArns A list of DataSync Agent ARNs with which this location will be associated.
         * 
         * @return builder
         * 
         */
        public Builder agentArns(String... agentArns) {
            return agentArns(List.of(agentArns));
        }

        /**
         * @param arn Amazon Resource Name (ARN) of the DataSync Location.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn Amazon Resource Name (ARN) of the DataSync Location.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param authenticationType The authentication method DataSync uses to access your Azure Blob Storage. Valid values: `SAS`.
         * 
         * @return builder
         * 
         */
        public Builder authenticationType(@Nullable Output authenticationType) {
            $.authenticationType = authenticationType;
            return this;
        }

        /**
         * @param authenticationType The authentication method DataSync uses to access your Azure Blob Storage. Valid values: `SAS`.
         * 
         * @return builder
         * 
         */
        public Builder authenticationType(String authenticationType) {
            return authenticationType(Output.of(authenticationType));
        }

        /**
         * @param blobType The type of blob that you want your objects or files to be when transferring them into Azure Blob Storage. Valid values: `BLOB`. Default: `BLOB`.
         * 
         * @return builder
         * 
         */
        public Builder blobType(@Nullable Output blobType) {
            $.blobType = blobType;
            return this;
        }

        /**
         * @param blobType The type of blob that you want your objects or files to be when transferring them into Azure Blob Storage. Valid values: `BLOB`. Default: `BLOB`.
         * 
         * @return builder
         * 
         */
        public Builder blobType(String blobType) {
            return blobType(Output.of(blobType));
        }

        /**
         * @param containerUrl The URL of the Azure Blob Storage container involved in your transfer.
         * 
         * @return builder
         * 
         */
        public Builder containerUrl(@Nullable Output containerUrl) {
            $.containerUrl = containerUrl;
            return this;
        }

        /**
         * @param containerUrl The URL of the Azure Blob Storage container involved in your transfer.
         * 
         * @return builder
         * 
         */
        public Builder containerUrl(String containerUrl) {
            return containerUrl(Output.of(containerUrl));
        }

        /**
         * @param sasConfiguration The SAS configuration that allows DataSync to access your Azure Blob Storage. See configuration below.
         * 
         * @return builder
         * 
         */
        public Builder sasConfiguration(@Nullable Output sasConfiguration) {
            $.sasConfiguration = sasConfiguration;
            return this;
        }

        /**
         * @param sasConfiguration The SAS configuration that allows DataSync to access your Azure Blob Storage. See configuration below.
         * 
         * @return builder
         * 
         */
        public Builder sasConfiguration(LocationAzureBlobSasConfigurationArgs sasConfiguration) {
            return sasConfiguration(Output.of(sasConfiguration));
        }

        /**
         * @param subdirectory Path segments if you want to limit your transfer to a virtual directory in the container.
         * 
         * @return builder
         * 
         */
        public Builder subdirectory(@Nullable Output subdirectory) {
            $.subdirectory = subdirectory;
            return this;
        }

        /**
         * @param subdirectory Path segments if you want to limit your transfer to a virtual directory in the container.
         * 
         * @return builder
         * 
         */
        public Builder subdirectory(String subdirectory) {
            return subdirectory(Output.of(subdirectory));
        }

        /**
         * @param tags Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        public Builder uri(@Nullable Output uri) {
            $.uri = uri;
            return this;
        }

        public Builder uri(String uri) {
            return uri(Output.of(uri));
        }

        public LocationAzureBlobState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy