com.pulumi.aws.lex.inputs.IntentFulfillmentActivityCodeHookArgs 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 IntentFulfillmentActivityCodeHookArgs extends com.pulumi.resources.ResourceArgs {
public static final IntentFulfillmentActivityCodeHookArgs Empty = new IntentFulfillmentActivityCodeHookArgs();
/**
* The version of the request-response that you want Amazon Lex to use
* to invoke your Lambda function. For more information, see
* [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length.
*
*/
@Import(name="messageVersion", required=true)
private Output messageVersion;
/**
* @return The version of the request-response that you want Amazon Lex to use
* to invoke your Lambda function. For more information, see
* [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length.
*
*/
public Output messageVersion() {
return this.messageVersion;
}
/**
* The Amazon Resource Name (ARN) of the Lambda function.
*
*/
@Import(name="uri", required=true)
private Output uri;
/**
* @return The Amazon Resource Name (ARN) of the Lambda function.
*
*/
public Output uri() {
return this.uri;
}
private IntentFulfillmentActivityCodeHookArgs() {}
private IntentFulfillmentActivityCodeHookArgs(IntentFulfillmentActivityCodeHookArgs $) {
this.messageVersion = $.messageVersion;
this.uri = $.uri;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(IntentFulfillmentActivityCodeHookArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private IntentFulfillmentActivityCodeHookArgs $;
public Builder() {
$ = new IntentFulfillmentActivityCodeHookArgs();
}
public Builder(IntentFulfillmentActivityCodeHookArgs defaults) {
$ = new IntentFulfillmentActivityCodeHookArgs(Objects.requireNonNull(defaults));
}
/**
* @param messageVersion The version of the request-response that you want Amazon Lex to use
* to invoke your Lambda function. For more information, see
* [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length.
*
* @return builder
*
*/
public Builder messageVersion(Output messageVersion) {
$.messageVersion = messageVersion;
return this;
}
/**
* @param messageVersion The version of the request-response that you want Amazon Lex to use
* to invoke your Lambda function. For more information, see
* [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length.
*
* @return builder
*
*/
public Builder messageVersion(String messageVersion) {
return messageVersion(Output.of(messageVersion));
}
/**
* @param uri The Amazon Resource Name (ARN) of the Lambda function.
*
* @return builder
*
*/
public Builder uri(Output uri) {
$.uri = uri;
return this;
}
/**
* @param uri The Amazon Resource Name (ARN) of the Lambda function.
*
* @return builder
*
*/
public Builder uri(String uri) {
return uri(Output.of(uri));
}
public IntentFulfillmentActivityCodeHookArgs build() {
if ($.messageVersion == null) {
throw new MissingRequiredPropertyException("IntentFulfillmentActivityCodeHookArgs", "messageVersion");
}
if ($.uri == null) {
throw new MissingRequiredPropertyException("IntentFulfillmentActivityCodeHookArgs", "uri");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy