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

com.pulumi.azurenative.eventhub.inputs.DestinationArgs 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.eventhub.inputs;

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


/**
 * Capture storage details for capture description
 * 
 */
public final class DestinationArgs extends com.pulumi.resources.ResourceArgs {

    public static final DestinationArgs Empty = new DestinationArgs();

    /**
     * Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order
     * 
     */
    @Import(name="archiveNameFormat")
    private @Nullable Output archiveNameFormat;

    /**
     * @return Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order
     * 
     */
    public Optional> archiveNameFormat() {
        return Optional.ofNullable(this.archiveNameFormat);
    }

    /**
     * Blob container Name
     * 
     */
    @Import(name="blobContainer")
    private @Nullable Output blobContainer;

    /**
     * @return Blob container Name
     * 
     */
    public Optional> blobContainer() {
        return Optional.ofNullable(this.blobContainer);
    }

    /**
     * The Azure Data Lake Store name for the captured events
     * 
     */
    @Import(name="dataLakeAccountName")
    private @Nullable Output dataLakeAccountName;

    /**
     * @return The Azure Data Lake Store name for the captured events
     * 
     */
    public Optional> dataLakeAccountName() {
        return Optional.ofNullable(this.dataLakeAccountName);
    }

    /**
     * The destination folder path for the captured events
     * 
     */
    @Import(name="dataLakeFolderPath")
    private @Nullable Output dataLakeFolderPath;

    /**
     * @return The destination folder path for the captured events
     * 
     */
    public Optional> dataLakeFolderPath() {
        return Optional.ofNullable(this.dataLakeFolderPath);
    }

    /**
     * Subscription Id of Azure Data Lake Store
     * 
     */
    @Import(name="dataLakeSubscriptionId")
    private @Nullable Output dataLakeSubscriptionId;

    /**
     * @return Subscription Id of Azure Data Lake Store
     * 
     */
    public Optional> dataLakeSubscriptionId() {
        return Optional.ofNullable(this.dataLakeSubscriptionId);
    }

    /**
     * Name for capture destination
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name for capture destination
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Resource id of the storage account to be used to create the blobs
     * 
     */
    @Import(name="storageAccountResourceId")
    private @Nullable Output storageAccountResourceId;

    /**
     * @return Resource id of the storage account to be used to create the blobs
     * 
     */
    public Optional> storageAccountResourceId() {
        return Optional.ofNullable(this.storageAccountResourceId);
    }

    private DestinationArgs() {}

    private DestinationArgs(DestinationArgs $) {
        this.archiveNameFormat = $.archiveNameFormat;
        this.blobContainer = $.blobContainer;
        this.dataLakeAccountName = $.dataLakeAccountName;
        this.dataLakeFolderPath = $.dataLakeFolderPath;
        this.dataLakeSubscriptionId = $.dataLakeSubscriptionId;
        this.name = $.name;
        this.storageAccountResourceId = $.storageAccountResourceId;
    }

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

    public static final class Builder {
        private DestinationArgs $;

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

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

        /**
         * @param archiveNameFormat Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order
         * 
         * @return builder
         * 
         */
        public Builder archiveNameFormat(@Nullable Output archiveNameFormat) {
            $.archiveNameFormat = archiveNameFormat;
            return this;
        }

        /**
         * @param archiveNameFormat Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order
         * 
         * @return builder
         * 
         */
        public Builder archiveNameFormat(String archiveNameFormat) {
            return archiveNameFormat(Output.of(archiveNameFormat));
        }

        /**
         * @param blobContainer Blob container Name
         * 
         * @return builder
         * 
         */
        public Builder blobContainer(@Nullable Output blobContainer) {
            $.blobContainer = blobContainer;
            return this;
        }

        /**
         * @param blobContainer Blob container Name
         * 
         * @return builder
         * 
         */
        public Builder blobContainer(String blobContainer) {
            return blobContainer(Output.of(blobContainer));
        }

        /**
         * @param dataLakeAccountName The Azure Data Lake Store name for the captured events
         * 
         * @return builder
         * 
         */
        public Builder dataLakeAccountName(@Nullable Output dataLakeAccountName) {
            $.dataLakeAccountName = dataLakeAccountName;
            return this;
        }

        /**
         * @param dataLakeAccountName The Azure Data Lake Store name for the captured events
         * 
         * @return builder
         * 
         */
        public Builder dataLakeAccountName(String dataLakeAccountName) {
            return dataLakeAccountName(Output.of(dataLakeAccountName));
        }

        /**
         * @param dataLakeFolderPath The destination folder path for the captured events
         * 
         * @return builder
         * 
         */
        public Builder dataLakeFolderPath(@Nullable Output dataLakeFolderPath) {
            $.dataLakeFolderPath = dataLakeFolderPath;
            return this;
        }

        /**
         * @param dataLakeFolderPath The destination folder path for the captured events
         * 
         * @return builder
         * 
         */
        public Builder dataLakeFolderPath(String dataLakeFolderPath) {
            return dataLakeFolderPath(Output.of(dataLakeFolderPath));
        }

        /**
         * @param dataLakeSubscriptionId Subscription Id of Azure Data Lake Store
         * 
         * @return builder
         * 
         */
        public Builder dataLakeSubscriptionId(@Nullable Output dataLakeSubscriptionId) {
            $.dataLakeSubscriptionId = dataLakeSubscriptionId;
            return this;
        }

        /**
         * @param dataLakeSubscriptionId Subscription Id of Azure Data Lake Store
         * 
         * @return builder
         * 
         */
        public Builder dataLakeSubscriptionId(String dataLakeSubscriptionId) {
            return dataLakeSubscriptionId(Output.of(dataLakeSubscriptionId));
        }

        /**
         * @param name Name for capture destination
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name for capture destination
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param storageAccountResourceId Resource id of the storage account to be used to create the blobs
         * 
         * @return builder
         * 
         */
        public Builder storageAccountResourceId(@Nullable Output storageAccountResourceId) {
            $.storageAccountResourceId = storageAccountResourceId;
            return this;
        }

        /**
         * @param storageAccountResourceId Resource id of the storage account to be used to create the blobs
         * 
         * @return builder
         * 
         */
        public Builder storageAccountResourceId(String storageAccountResourceId) {
            return storageAccountResourceId(Output.of(storageAccountResourceId));
        }

        public DestinationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy