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

com.pulumi.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs 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.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArgs;
import com.pulumi.googlenative.dialogflow.v3beta1.inputs.GoogleCloudDialogflowCxV3beta1ResponseMessageArgs;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The list of messages or conditional cases to activate for this case.
 * 
 */
public final class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs extends com.pulumi.resources.ResourceArgs {

    public static final GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs Empty = new GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs();

    /**
     * Additional cases to be evaluated.
     * 
     */
    @Import(name="additionalCases")
    private @Nullable Output additionalCases;

    /**
     * @return Additional cases to be evaluated.
     * 
     */
    public Optional> additionalCases() {
        return Optional.ofNullable(this.additionalCases);
    }

    /**
     * Returned message.
     * 
     */
    @Import(name="message")
    private @Nullable Output message;

    /**
     * @return Returned message.
     * 
     */
    public Optional> message() {
        return Optional.ofNullable(this.message);
    }

    private GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs() {}

    private GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs(GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs $) {
        this.additionalCases = $.additionalCases;
        this.message = $.message;
    }

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

    public static final class Builder {
        private GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs $;

        public Builder() {
            $ = new GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs();
        }

        public Builder(GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs defaults) {
            $ = new GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param additionalCases Additional cases to be evaluated.
         * 
         * @return builder
         * 
         */
        public Builder additionalCases(@Nullable Output additionalCases) {
            $.additionalCases = additionalCases;
            return this;
        }

        /**
         * @param additionalCases Additional cases to be evaluated.
         * 
         * @return builder
         * 
         */
        public Builder additionalCases(GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArgs additionalCases) {
            return additionalCases(Output.of(additionalCases));
        }

        /**
         * @param message Returned message.
         * 
         * @return builder
         * 
         */
        public Builder message(@Nullable Output message) {
            $.message = message;
            return this;
        }

        /**
         * @param message Returned message.
         * 
         * @return builder
         * 
         */
        public Builder message(GoogleCloudDialogflowCxV3beta1ResponseMessageArgs message) {
            return message(Output.of(message));
        }

        public GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy