com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.aws.lex.outputs;
import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload;
import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard;
import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage;
import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage {
/**
* @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`.
*
*/
private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload;
/**
* @return Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.
*
*/
private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard;
/**
* @return Configuration block for a message in plain text format. See `plain_text_message`.
*
*/
private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage;
/**
* @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.
*
*/
private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage;
private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage() {}
/**
* @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`.
*
*/
public Optional customPayload() {
return Optional.ofNullable(this.customPayload);
}
/**
* @return Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.
*
*/
public Optional imageResponseCard() {
return Optional.ofNullable(this.imageResponseCard);
}
/**
* @return Configuration block for a message in plain text format. See `plain_text_message`.
*
*/
public Optional plainTextMessage() {
return Optional.ofNullable(this.plainTextMessage);
}
/**
* @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.
*
*/
public Optional ssmlMessage() {
return Optional.ofNullable(this.ssmlMessage);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload;
private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard;
private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage;
private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage;
public Builder() {}
public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage defaults) {
Objects.requireNonNull(defaults);
this.customPayload = defaults.customPayload;
this.imageResponseCard = defaults.imageResponseCard;
this.plainTextMessage = defaults.plainTextMessage;
this.ssmlMessage = defaults.ssmlMessage;
}
@CustomType.Setter
public Builder customPayload(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload) {
this.customPayload = customPayload;
return this;
}
@CustomType.Setter
public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard) {
this.imageResponseCard = imageResponseCard;
return this;
}
@CustomType.Setter
public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage) {
this.plainTextMessage = plainTextMessage;
return this;
}
@CustomType.Setter
public Builder ssmlMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage) {
this.ssmlMessage = ssmlMessage;
return this;
}
public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage build() {
final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage();
_resultValue.customPayload = customPayload;
_resultValue.imageResponseCard = imageResponseCard;
_resultValue.plainTextMessage = plainTextMessage;
_resultValue.ssmlMessage = ssmlMessage;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy