com.pulumi.googlenative.dialogflow.v2beta1.outputs.GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponse 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.v2beta1.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponse {
/**
* @return Knowledge bases to query. Format: `projects//locations//knowledgeBases/`. Currently, only one knowledge base is supported.
*
*/
private List knowledgeBases;
private GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponse() {}
/**
* @return Knowledge bases to query. Format: `projects//locations//knowledgeBases/`. Currently, only one knowledge base is supported.
*
*/
public List knowledgeBases() {
return this.knowledgeBases;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List knowledgeBases;
public Builder() {}
public Builder(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponse defaults) {
Objects.requireNonNull(defaults);
this.knowledgeBases = defaults.knowledgeBases;
}
@CustomType.Setter
public Builder knowledgeBases(List knowledgeBases) {
this.knowledgeBases = Objects.requireNonNull(knowledgeBases);
return this;
}
public Builder knowledgeBases(String... knowledgeBases) {
return knowledgeBases(List.of(knowledgeBases));
}
public GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponse build() {
final var o = new GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponse();
o.knowledgeBases = knowledgeBases;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy