com.pulumi.googlenative.dialogflow.v3beta1.outputs.GoogleCloudDialogflowCxV3beta1TestConfigResponse 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.v3beta1.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GoogleCloudDialogflowCxV3beta1TestConfigResponse {
/**
* @return Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.
*
*/
private String flow;
/**
* @return The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.
*
*/
private String page;
/**
* @return Session parameters to be compared when calculating differences.
*
*/
private List trackingParameters;
private GoogleCloudDialogflowCxV3beta1TestConfigResponse() {}
/**
* @return Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.
*
*/
public String flow() {
return this.flow;
}
/**
* @return The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.
*
*/
public String page() {
return this.page;
}
/**
* @return Session parameters to be compared when calculating differences.
*
*/
public List trackingParameters() {
return this.trackingParameters;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GoogleCloudDialogflowCxV3beta1TestConfigResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String flow;
private String page;
private List trackingParameters;
public Builder() {}
public Builder(GoogleCloudDialogflowCxV3beta1TestConfigResponse defaults) {
Objects.requireNonNull(defaults);
this.flow = defaults.flow;
this.page = defaults.page;
this.trackingParameters = defaults.trackingParameters;
}
@CustomType.Setter
public Builder flow(String flow) {
this.flow = Objects.requireNonNull(flow);
return this;
}
@CustomType.Setter
public Builder page(String page) {
this.page = Objects.requireNonNull(page);
return this;
}
@CustomType.Setter
public Builder trackingParameters(List trackingParameters) {
this.trackingParameters = Objects.requireNonNull(trackingParameters);
return this;
}
public Builder trackingParameters(String... trackingParameters) {
return trackingParameters(List.of(trackingParameters));
}
public GoogleCloudDialogflowCxV3beta1TestConfigResponse build() {
final var o = new GoogleCloudDialogflowCxV3beta1TestConfigResponse();
o.flow = flow;
o.page = page;
o.trackingParameters = trackingParameters;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy