com.pulumi.azure.kusto.inputs.ClusterLanguageExtensionArgs 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.azure.kusto.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 ClusterLanguageExtensionArgs extends com.pulumi.resources.ResourceArgs {
public static final ClusterLanguageExtensionArgs Empty = new ClusterLanguageExtensionArgs();
@Import(name="image", required=true)
private Output image;
public Output image() {
return this.image;
}
/**
* The name of the Kusto Cluster to create. Only lowercase Alphanumeric characters allowed, starting with a letter. Changing this forces a new resource to be created.
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return The name of the Kusto Cluster to create. Only lowercase Alphanumeric characters allowed, starting with a letter. Changing this forces a new resource to be created.
*
*/
public Output name() {
return this.name;
}
private ClusterLanguageExtensionArgs() {}
private ClusterLanguageExtensionArgs(ClusterLanguageExtensionArgs $) {
this.image = $.image;
this.name = $.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClusterLanguageExtensionArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ClusterLanguageExtensionArgs $;
public Builder() {
$ = new ClusterLanguageExtensionArgs();
}
public Builder(ClusterLanguageExtensionArgs defaults) {
$ = new ClusterLanguageExtensionArgs(Objects.requireNonNull(defaults));
}
public Builder image(Output image) {
$.image = image;
return this;
}
public Builder image(String image) {
return image(Output.of(image));
}
/**
* @param name The name of the Kusto Cluster to create. Only lowercase Alphanumeric characters allowed, starting with a letter. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder name(Output name) {
$.name = name;
return this;
}
/**
* @param name The name of the Kusto Cluster to create. Only lowercase Alphanumeric characters allowed, starting with a letter. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
public ClusterLanguageExtensionArgs build() {
if ($.image == null) {
throw new MissingRequiredPropertyException("ClusterLanguageExtensionArgs", "image");
}
if ($.name == null) {
throw new MissingRequiredPropertyException("ClusterLanguageExtensionArgs", "name");
}
return $;
}
}
}