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

com.pulumi.azurenative.kusto.outputs.GetEventGridDataConnectionResult 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.kusto.outputs;

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

@CustomType
public final class GetEventGridDataConnectionResult {
    /**
     * @return The name of blob storage event type to process.
     * 
     */
    private @Nullable String blobStorageEventType;
    /**
     * @return The event hub consumer group.
     * 
     */
    private String consumerGroup;
    /**
     * @return The data format of the message. Optionally the data format can be added to each message.
     * 
     */
    private @Nullable String dataFormat;
    /**
     * @return Indication for database routing information from the data connection, by default only database routing information is allowed
     * 
     */
    private @Nullable String databaseRouting;
    /**
     * @return The resource ID of the event grid that is subscribed to the storage account events.
     * 
     */
    private @Nullable String eventGridResourceId;
    /**
     * @return The resource ID where the event grid is configured to send events.
     * 
     */
    private String eventHubResourceId;
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    private String id;
    /**
     * @return A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file
     * 
     */
    private @Nullable Boolean ignoreFirstRecord;
    /**
     * @return Kind of the endpoint for the data connection
     * Expected value is 'EventGrid'.
     * 
     */
    private String kind;
    /**
     * @return Resource location.
     * 
     */
    private @Nullable String location;
    /**
     * @return The object ID of managedIdentityResourceId
     * 
     */
    private String managedIdentityObjectId;
    /**
     * @return The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account.
     * 
     */
    private @Nullable String managedIdentityResourceId;
    /**
     * @return The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
     * 
     */
    private @Nullable String mappingRuleName;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return The provisioned state of the resource.
     * 
     */
    private String provisioningState;
    /**
     * @return The resource ID of the storage account where the data resides.
     * 
     */
    private String storageAccountResourceId;
    /**
     * @return The table where the data should be ingested. Optionally the table information can be added to each message.
     * 
     */
    private @Nullable String tableName;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;

    private GetEventGridDataConnectionResult() {}
    /**
     * @return The name of blob storage event type to process.
     * 
     */
    public Optional blobStorageEventType() {
        return Optional.ofNullable(this.blobStorageEventType);
    }
    /**
     * @return The event hub consumer group.
     * 
     */
    public String consumerGroup() {
        return this.consumerGroup;
    }
    /**
     * @return The data format of the message. Optionally the data format can be added to each message.
     * 
     */
    public Optional dataFormat() {
        return Optional.ofNullable(this.dataFormat);
    }
    /**
     * @return Indication for database routing information from the data connection, by default only database routing information is allowed
     * 
     */
    public Optional databaseRouting() {
        return Optional.ofNullable(this.databaseRouting);
    }
    /**
     * @return The resource ID of the event grid that is subscribed to the storage account events.
     * 
     */
    public Optional eventGridResourceId() {
        return Optional.ofNullable(this.eventGridResourceId);
    }
    /**
     * @return The resource ID where the event grid is configured to send events.
     * 
     */
    public String eventHubResourceId() {
        return this.eventHubResourceId;
    }
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file
     * 
     */
    public Optional ignoreFirstRecord() {
        return Optional.ofNullable(this.ignoreFirstRecord);
    }
    /**
     * @return Kind of the endpoint for the data connection
     * Expected value is 'EventGrid'.
     * 
     */
    public String kind() {
        return this.kind;
    }
    /**
     * @return Resource location.
     * 
     */
    public Optional location() {
        return Optional.ofNullable(this.location);
    }
    /**
     * @return The object ID of managedIdentityResourceId
     * 
     */
    public String managedIdentityObjectId() {
        return this.managedIdentityObjectId;
    }
    /**
     * @return The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub and storage account.
     * 
     */
    public Optional managedIdentityResourceId() {
        return Optional.ofNullable(this.managedIdentityResourceId);
    }
    /**
     * @return The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
     * 
     */
    public Optional mappingRuleName() {
        return Optional.ofNullable(this.mappingRuleName);
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The provisioned state of the resource.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return The resource ID of the storage account where the data resides.
     * 
     */
    public String storageAccountResourceId() {
        return this.storageAccountResourceId;
    }
    /**
     * @return The table where the data should be ingested. Optionally the table information can be added to each message.
     * 
     */
    public Optional tableName() {
        return Optional.ofNullable(this.tableName);
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetEventGridDataConnectionResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String blobStorageEventType;
        private String consumerGroup;
        private @Nullable String dataFormat;
        private @Nullable String databaseRouting;
        private @Nullable String eventGridResourceId;
        private String eventHubResourceId;
        private String id;
        private @Nullable Boolean ignoreFirstRecord;
        private String kind;
        private @Nullable String location;
        private String managedIdentityObjectId;
        private @Nullable String managedIdentityResourceId;
        private @Nullable String mappingRuleName;
        private String name;
        private String provisioningState;
        private String storageAccountResourceId;
        private @Nullable String tableName;
        private String type;
        public Builder() {}
        public Builder(GetEventGridDataConnectionResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.blobStorageEventType = defaults.blobStorageEventType;
    	      this.consumerGroup = defaults.consumerGroup;
    	      this.dataFormat = defaults.dataFormat;
    	      this.databaseRouting = defaults.databaseRouting;
    	      this.eventGridResourceId = defaults.eventGridResourceId;
    	      this.eventHubResourceId = defaults.eventHubResourceId;
    	      this.id = defaults.id;
    	      this.ignoreFirstRecord = defaults.ignoreFirstRecord;
    	      this.kind = defaults.kind;
    	      this.location = defaults.location;
    	      this.managedIdentityObjectId = defaults.managedIdentityObjectId;
    	      this.managedIdentityResourceId = defaults.managedIdentityResourceId;
    	      this.mappingRuleName = defaults.mappingRuleName;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.storageAccountResourceId = defaults.storageAccountResourceId;
    	      this.tableName = defaults.tableName;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder blobStorageEventType(@Nullable String blobStorageEventType) {

            this.blobStorageEventType = blobStorageEventType;
            return this;
        }
        @CustomType.Setter
        public Builder consumerGroup(String consumerGroup) {
            if (consumerGroup == null) {
              throw new MissingRequiredPropertyException("GetEventGridDataConnectionResult", "consumerGroup");
            }
            this.consumerGroup = consumerGroup;
            return this;
        }
        @CustomType.Setter
        public Builder dataFormat(@Nullable String dataFormat) {

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

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

            this.eventGridResourceId = eventGridResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder eventHubResourceId(String eventHubResourceId) {
            if (eventHubResourceId == null) {
              throw new MissingRequiredPropertyException("GetEventGridDataConnectionResult", "eventHubResourceId");
            }
            this.eventHubResourceId = eventHubResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetEventGridDataConnectionResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder ignoreFirstRecord(@Nullable Boolean ignoreFirstRecord) {

            this.ignoreFirstRecord = ignoreFirstRecord;
            return this;
        }
        @CustomType.Setter
        public Builder kind(String kind) {
            if (kind == null) {
              throw new MissingRequiredPropertyException("GetEventGridDataConnectionResult", "kind");
            }
            this.kind = kind;
            return this;
        }
        @CustomType.Setter
        public Builder location(@Nullable String location) {

            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder managedIdentityObjectId(String managedIdentityObjectId) {
            if (managedIdentityObjectId == null) {
              throw new MissingRequiredPropertyException("GetEventGridDataConnectionResult", "managedIdentityObjectId");
            }
            this.managedIdentityObjectId = managedIdentityObjectId;
            return this;
        }
        @CustomType.Setter
        public Builder managedIdentityResourceId(@Nullable String managedIdentityResourceId) {

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

            this.mappingRuleName = mappingRuleName;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetEventGridDataConnectionResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetEventGridDataConnectionResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder storageAccountResourceId(String storageAccountResourceId) {
            if (storageAccountResourceId == null) {
              throw new MissingRequiredPropertyException("GetEventGridDataConnectionResult", "storageAccountResourceId");
            }
            this.storageAccountResourceId = storageAccountResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder tableName(@Nullable String tableName) {

            this.tableName = tableName;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetEventGridDataConnectionResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetEventGridDataConnectionResult build() {
            final var _resultValue = new GetEventGridDataConnectionResult();
            _resultValue.blobStorageEventType = blobStorageEventType;
            _resultValue.consumerGroup = consumerGroup;
            _resultValue.dataFormat = dataFormat;
            _resultValue.databaseRouting = databaseRouting;
            _resultValue.eventGridResourceId = eventGridResourceId;
            _resultValue.eventHubResourceId = eventHubResourceId;
            _resultValue.id = id;
            _resultValue.ignoreFirstRecord = ignoreFirstRecord;
            _resultValue.kind = kind;
            _resultValue.location = location;
            _resultValue.managedIdentityObjectId = managedIdentityObjectId;
            _resultValue.managedIdentityResourceId = managedIdentityResourceId;
            _resultValue.mappingRuleName = mappingRuleName;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.storageAccountResourceId = storageAccountResourceId;
            _resultValue.tableName = tableName;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy