com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs {
public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs();
/**
* Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
*
*/
@Import(name="text", required=true)
private Output text;
/**
* @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
*
*/
public Output text() {
return this.text;
}
/**
* Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
*
*/
@Import(name="value", required=true)
private Output value;
/**
* @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
*
*/
public Output value() {
return this.value;
}
private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs() {}
private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs $) {
this.text = $.text;
this.value = $.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs $;
public Builder() {
$ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs();
}
public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs defaults) {
$ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs(Objects.requireNonNull(defaults));
}
/**
* @param text Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
*
* @return builder
*
*/
public Builder text(Output text) {
$.text = text;
return this;
}
/**
* @param text Text that appears on the button. Use this to tell the user what value is returned when they choose this button.
*
* @return builder
*
*/
public Builder text(String text) {
return text(Output.of(text));
}
/**
* @param value Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
*
* @return builder
*
*/
public Builder value(Output value) {
$.value = value;
return this;
}
/**
* @param value Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
*
* @return builder
*
*/
public Builder value(String value) {
return value(Output.of(value));
}
public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs build() {
if ($.text == null) {
throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs", "text");
}
if ($.value == null) {
throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs", "value");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy