com.pulumi.kafka.inputs.GetTopicArgs 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.kafka.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 GetTopicArgs extends com.pulumi.resources.InvokeArgs {
public static final GetTopicArgs Empty = new GetTopicArgs();
@Import(name="name", required=true)
private Output name;
public Output name() {
return this.name;
}
private GetTopicArgs() {}
private GetTopicArgs(GetTopicArgs $) {
this.name = $.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetTopicArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetTopicArgs $;
public Builder() {
$ = new GetTopicArgs();
}
public Builder(GetTopicArgs defaults) {
$ = new GetTopicArgs(Objects.requireNonNull(defaults));
}
public Builder name(Output name) {
$.name = name;
return this;
}
public Builder name(String name) {
return name(Output.of(name));
}
public GetTopicArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("GetTopicArgs", "name");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy