com.pulumi.azure.hdinsight.inputs.KafkaClusterExtensionArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.hdinsight.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 KafkaClusterExtensionArgs extends com.pulumi.resources.ResourceArgs {
public static final KafkaClusterExtensionArgs Empty = new KafkaClusterExtensionArgs();
/**
* The workspace ID of the log analytics extension.
*
*/
@Import(name="logAnalyticsWorkspaceId", required=true)
private Output logAnalyticsWorkspaceId;
/**
* @return The workspace ID of the log analytics extension.
*
*/
public Output logAnalyticsWorkspaceId() {
return this.logAnalyticsWorkspaceId;
}
/**
* The workspace key of the log analytics extension.
*
*/
@Import(name="primaryKey", required=true)
private Output primaryKey;
/**
* @return The workspace key of the log analytics extension.
*
*/
public Output primaryKey() {
return this.primaryKey;
}
private KafkaClusterExtensionArgs() {}
private KafkaClusterExtensionArgs(KafkaClusterExtensionArgs $) {
this.logAnalyticsWorkspaceId = $.logAnalyticsWorkspaceId;
this.primaryKey = $.primaryKey;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(KafkaClusterExtensionArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private KafkaClusterExtensionArgs $;
public Builder() {
$ = new KafkaClusterExtensionArgs();
}
public Builder(KafkaClusterExtensionArgs defaults) {
$ = new KafkaClusterExtensionArgs(Objects.requireNonNull(defaults));
}
/**
* @param logAnalyticsWorkspaceId The workspace ID of the log analytics extension.
*
* @return builder
*
*/
public Builder logAnalyticsWorkspaceId(Output logAnalyticsWorkspaceId) {
$.logAnalyticsWorkspaceId = logAnalyticsWorkspaceId;
return this;
}
/**
* @param logAnalyticsWorkspaceId The workspace ID of the log analytics extension.
*
* @return builder
*
*/
public Builder logAnalyticsWorkspaceId(String logAnalyticsWorkspaceId) {
return logAnalyticsWorkspaceId(Output.of(logAnalyticsWorkspaceId));
}
/**
* @param primaryKey The workspace key of the log analytics extension.
*
* @return builder
*
*/
public Builder primaryKey(Output primaryKey) {
$.primaryKey = primaryKey;
return this;
}
/**
* @param primaryKey The workspace key of the log analytics extension.
*
* @return builder
*
*/
public Builder primaryKey(String primaryKey) {
return primaryKey(Output.of(primaryKey));
}
public KafkaClusterExtensionArgs build() {
if ($.logAnalyticsWorkspaceId == null) {
throw new MissingRequiredPropertyException("KafkaClusterExtensionArgs", "logAnalyticsWorkspaceId");
}
if ($.primaryKey == null) {
throw new MissingRequiredPropertyException("KafkaClusterExtensionArgs", "primaryKey");
}
return $;
}
}
}