com.pulumi.googlenative.dialogflow.v2.inputs.GetConversationModelPlainArgs 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.googlenative.dialogflow.v2.inputs;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetConversationModelPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetConversationModelPlainArgs Empty = new GetConversationModelPlainArgs();
@Import(name="conversationModelId", required=true)
private String conversationModelId;
public String conversationModelId() {
return this.conversationModelId;
}
@Import(name="location", required=true)
private String location;
public String location() {
return this.location;
}
@Import(name="project")
private @Nullable String project;
public Optional project() {
return Optional.ofNullable(this.project);
}
private GetConversationModelPlainArgs() {}
private GetConversationModelPlainArgs(GetConversationModelPlainArgs $) {
this.conversationModelId = $.conversationModelId;
this.location = $.location;
this.project = $.project;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetConversationModelPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetConversationModelPlainArgs $;
public Builder() {
$ = new GetConversationModelPlainArgs();
}
public Builder(GetConversationModelPlainArgs defaults) {
$ = new GetConversationModelPlainArgs(Objects.requireNonNull(defaults));
}
public Builder conversationModelId(String conversationModelId) {
$.conversationModelId = conversationModelId;
return this;
}
public Builder location(String location) {
$.location = location;
return this;
}
public Builder project(@Nullable String project) {
$.project = project;
return this;
}
public GetConversationModelPlainArgs build() {
$.conversationModelId = Objects.requireNonNull($.conversationModelId, "expected parameter 'conversationModelId' to be non-null");
$.location = Objects.requireNonNull($.location, "expected parameter 'location' to be non-null");
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy