com.pulumi.azurenative.timeseriesinsights.inputs.GetEventHubEventSourceArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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 GetEventHubEventSourceArgs extends com.pulumi.resources.InvokeArgs {
public static final GetEventHubEventSourceArgs Empty = new GetEventHubEventSourceArgs();
/**
* 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 GetEventHubEventSourceArgs() {}
private GetEventHubEventSourceArgs(GetEventHubEventSourceArgs $) {
this.environmentName = $.environmentName;
this.eventSourceName = $.eventSourceName;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetEventHubEventSourceArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetEventHubEventSourceArgs $;
public Builder() {
$ = new GetEventHubEventSourceArgs();
}
public Builder(GetEventHubEventSourceArgs defaults) {
$ = new GetEventHubEventSourceArgs(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 GetEventHubEventSourceArgs build() {
if ($.environmentName == null) {
throw new MissingRequiredPropertyException("GetEventHubEventSourceArgs", "environmentName");
}
if ($.eventSourceName == null) {
throw new MissingRequiredPropertyException("GetEventHubEventSourceArgs", "eventSourceName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetEventHubEventSourceArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy