
com.pulumi.azurenative.kusto.outputs.GetEventHubConnectionResult Maven / Gradle / Ivy
// *** 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.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetEventHubConnectionResult {
/**
* @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 The resource ID of the event hub to be used to create a data connection.
*
*/
private String eventHubResourceId;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return Resource location.
*
*/
private @Nullable String location;
/**
* @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 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 GetEventHubConnectionResult() {}
/**
* @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 The resource ID of the event hub to be used to create a data connection.
*
*/
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 Resource location.
*
*/
public Optional location() {
return Optional.ofNullable(this.location);
}
/**
* @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 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(GetEventHubConnectionResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String consumerGroup;
private @Nullable String dataFormat;
private String eventHubResourceId;
private String id;
private @Nullable String location;
private @Nullable String mappingRuleName;
private String name;
private @Nullable String tableName;
private String type;
public Builder() {}
public Builder(GetEventHubConnectionResult defaults) {
Objects.requireNonNull(defaults);
this.consumerGroup = defaults.consumerGroup;
this.dataFormat = defaults.dataFormat;
this.eventHubResourceId = defaults.eventHubResourceId;
this.id = defaults.id;
this.location = defaults.location;
this.mappingRuleName = defaults.mappingRuleName;
this.name = defaults.name;
this.tableName = defaults.tableName;
this.type = defaults.type;
}
@CustomType.Setter
public Builder consumerGroup(String consumerGroup) {
if (consumerGroup == null) {
throw new MissingRequiredPropertyException("GetEventHubConnectionResult", "consumerGroup");
}
this.consumerGroup = consumerGroup;
return this;
}
@CustomType.Setter
public Builder dataFormat(@Nullable String dataFormat) {
this.dataFormat = dataFormat;
return this;
}
@CustomType.Setter
public Builder eventHubResourceId(String eventHubResourceId) {
if (eventHubResourceId == null) {
throw new MissingRequiredPropertyException("GetEventHubConnectionResult", "eventHubResourceId");
}
this.eventHubResourceId = eventHubResourceId;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetEventHubConnectionResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder location(@Nullable String location) {
this.location = location;
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("GetEventHubConnectionResult", "name");
}
this.name = name;
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("GetEventHubConnectionResult", "type");
}
this.type = type;
return this;
}
public GetEventHubConnectionResult build() {
final var _resultValue = new GetEventHubConnectionResult();
_resultValue.consumerGroup = consumerGroup;
_resultValue.dataFormat = dataFormat;
_resultValue.eventHubResourceId = eventHubResourceId;
_resultValue.id = id;
_resultValue.location = location;
_resultValue.mappingRuleName = mappingRuleName;
_resultValue.name = name;
_resultValue.tableName = tableName;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy