All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.dialogflow.v2beta1.outputs.GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse 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.Objects;

@CustomType
public final class GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse {
    /**
     * @return Optional. The text to display.
     * 
     */
    private String displayText;
    /**
     * @return One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
     * 
     */
    private String ssml;
    /**
     * @return One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
     * 
     */
    private String textToSpeech;

    private GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse() {}
    /**
     * @return Optional. The text to display.
     * 
     */
    public String displayText() {
        return this.displayText;
    }
    /**
     * @return One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
     * 
     */
    public String ssml() {
        return this.ssml;
    }
    /**
     * @return One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
     * 
     */
    public String textToSpeech() {
        return this.textToSpeech;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String displayText;
        private String ssml;
        private String textToSpeech;
        public Builder() {}
        public Builder(GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.displayText = defaults.displayText;
    	      this.ssml = defaults.ssml;
    	      this.textToSpeech = defaults.textToSpeech;
        }

        @CustomType.Setter
        public Builder displayText(String displayText) {
            this.displayText = Objects.requireNonNull(displayText);
            return this;
        }
        @CustomType.Setter
        public Builder ssml(String ssml) {
            this.ssml = Objects.requireNonNull(ssml);
            return this;
        }
        @CustomType.Setter
        public Builder textToSpeech(String textToSpeech) {
            this.textToSpeech = Objects.requireNonNull(textToSpeech);
            return this;
        }
        public GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse build() {
            final var o = new GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse();
            o.displayText = displayText;
            o.ssml = ssml;
            o.textToSpeech = textToSpeech;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy