
com.pulumi.azurenative.timeseriesinsights.inputs.GetIoTHubEventSourceArgs 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.timeseriesinsights.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetIoTHubEventSourceArgs extends com.pulumi.resources.InvokeArgs {
public static final GetIoTHubEventSourceArgs Empty = new GetIoTHubEventSourceArgs();
/**
* The name of the Time Series Insights environment associated with the specified resource group.
*
*/
@Import(name="environmentName", required=true)
private Output environmentName;
/**
* @return The name of the Time Series Insights environment associated with the specified resource group.
*
*/
public Output environmentName() {
return this.environmentName;
}
/**
* The name of the Time Series Insights event source associated with the specified environment.
*
*/
@Import(name="eventSourceName", required=true)
private Output eventSourceName;
/**
* @return The name of the Time Series Insights event source associated with the specified environment.
*
*/
public Output eventSourceName() {
return this.eventSourceName;
}
/**
* Name of an Azure Resource group.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return Name of an Azure Resource group.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
private GetIoTHubEventSourceArgs() {}
private GetIoTHubEventSourceArgs(GetIoTHubEventSourceArgs $) {
this.environmentName = $.environmentName;
this.eventSourceName = $.eventSourceName;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetIoTHubEventSourceArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetIoTHubEventSourceArgs $;
public Builder() {
$ = new GetIoTHubEventSourceArgs();
}
public Builder(GetIoTHubEventSourceArgs defaults) {
$ = new GetIoTHubEventSourceArgs(Objects.requireNonNull(defaults));
}
/**
* @param environmentName The name of the Time Series Insights environment associated with the specified resource group.
*
* @return builder
*
*/
public Builder environmentName(Output environmentName) {
$.environmentName = environmentName;
return this;
}
/**
* @param environmentName The name of the Time Series Insights environment associated with the specified resource group.
*
* @return builder
*
*/
public Builder environmentName(String environmentName) {
return environmentName(Output.of(environmentName));
}
/**
* @param eventSourceName The name of the Time Series Insights event source associated with the specified environment.
*
* @return builder
*
*/
public Builder eventSourceName(Output eventSourceName) {
$.eventSourceName = eventSourceName;
return this;
}
/**
* @param eventSourceName The name of the Time Series Insights event source associated with the specified environment.
*
* @return builder
*
*/
public Builder eventSourceName(String eventSourceName) {
return eventSourceName(Output.of(eventSourceName));
}
/**
* @param resourceGroupName Name of an Azure Resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName Name of an Azure Resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
public GetIoTHubEventSourceArgs build() {
if ($.environmentName == null) {
throw new MissingRequiredPropertyException("GetIoTHubEventSourceArgs", "environmentName");
}
if ($.eventSourceName == null) {
throw new MissingRequiredPropertyException("GetIoTHubEventSourceArgs", "eventSourceName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetIoTHubEventSourceArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy