diff --git a/provider/cmd/pulumi-resource-aws/schema.json b/provider/cmd/pulumi-resource-aws/schema.json index db0a32d7ff9..7bb7974b06b 100644 --- a/provider/cmd/pulumi-resource-aws/schema.json +++ b/provider/cmd/pulumi-resource-aws/schema.json @@ -16998,6 +16998,47 @@ "metricSpecification" ] }, + "aws:autoscaling/PolicyPredictiveScalingConfigurationDimension:PolicyPredictiveScalingConfigurationDimension": { + "properties": { + "name": { + "type": "string", + "description": "Name of the dimension.\n" + }, + "value": { + "type": "string", + "description": "Value of the dimension.\n" + } + }, + "type": "object", + "required": [ + "name", + "value" + ] + }, + "aws:autoscaling/PolicyPredictiveScalingConfigurationMetric:PolicyPredictiveScalingConfigurationMetric": { + "properties": { + "dimensions": { + "type": "array", + "items": { + "$ref": "#/types/aws:autoscaling/PolicyPredictiveScalingConfigurationDimension:PolicyPredictiveScalingConfigurationDimension" + }, + "description": "Dimensions of the metric.\n" + }, + "metricName": { + "type": "string", + "description": "Name of the metric.\n" + }, + "namespace": { + "type": "string", + "description": "Namespace of the metric.\n" + } + }, + "type": "object", + "required": [ + "metricName", + "namespace" + ] + }, "aws:autoscaling/PolicyPredictiveScalingConfigurationMetricSpecification:PolicyPredictiveScalingConfigurationMetricSpecification": { "properties": { "customizedCapacityMetricSpecification": { @@ -17080,7 +17121,7 @@ "aws:autoscaling/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStat:PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStat": { "properties": { "metric": { - "$ref": "#/types/aws:autoscaling/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric:PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric", + "$ref": "#/types/aws:autoscaling/PolicyPredictiveScalingConfigurationMetric:PolicyPredictiveScalingConfigurationMetric", "description": "Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions.\n" }, "stat": { @@ -17098,47 +17139,6 @@ "stat" ] }, - "aws:autoscaling/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric:PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric": { - "properties": { - "dimensions": { - "type": "array", - "items": { - "$ref": "#/types/aws:autoscaling/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension:PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension" - }, - "description": "Dimensions of the metric.\n" - }, - "metricName": { - "type": "string", - "description": "Name of the metric.\n" - }, - "namespace": { - "type": "string", - "description": "Namespace of the metric.\n" - } - }, - "type": "object", - "required": [ - "metricName", - "namespace" - ] - }, - "aws:autoscaling/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension:PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension": { - "properties": { - "name": { - "type": "string", - "description": "Name of the dimension.\n" - }, - "value": { - "type": "string", - "description": "Value of the dimension.\n" - } - }, - "type": "object", - "required": [ - "name", - "value" - ] - }, "aws:autoscaling/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecification:PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecification": { "properties": { "metricDataQueries": { @@ -17208,7 +17208,7 @@ "dimensions": { "type": "array", "items": { - "$ref": "#/types/aws:autoscaling/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension:PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension" + "$ref": "#/types/aws:autoscaling/PolicyPredictiveScalingConfigurationDimension:PolicyPredictiveScalingConfigurationDimension" }, "description": "Dimensions of the metric.\n" }, @@ -17227,23 +17227,6 @@ "namespace" ] }, - "aws:autoscaling/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension:PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension": { - "properties": { - "name": { - "type": "string", - "description": "Name of the dimension.\n" - }, - "value": { - "type": "string", - "description": "Value of the dimension.\n" - } - }, - "type": "object", - "required": [ - "name", - "value" - ] - }, "aws:autoscaling/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecification:PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecification": { "properties": { "metricDataQueries": { @@ -17290,7 +17273,7 @@ "aws:autoscaling/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStat:PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStat": { "properties": { "metric": { - "$ref": "#/types/aws:autoscaling/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric:PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric", + "$ref": "#/types/aws:autoscaling/PolicyPredictiveScalingConfigurationMetric:PolicyPredictiveScalingConfigurationMetric", "description": "Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions.\n" }, "stat": { @@ -17308,47 +17291,6 @@ "stat" ] }, - "aws:autoscaling/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric:PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric": { - "properties": { - "dimensions": { - "type": "array", - "items": { - "$ref": "#/types/aws:autoscaling/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension:PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension" - }, - "description": "Dimensions of the metric.\n" - }, - "metricName": { - "type": "string", - "description": "Name of the metric.\n" - }, - "namespace": { - "type": "string", - "description": "Namespace of the metric.\n" - } - }, - "type": "object", - "required": [ - "metricName", - "namespace" - ] - }, - "aws:autoscaling/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension:PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension": { - "properties": { - "name": { - "type": "string", - "description": "Name of the dimension.\n" - }, - "value": { - "type": "string", - "description": "Value of the dimension.\n" - } - }, - "type": "object", - "required": [ - "name", - "value" - ] - }, "aws:autoscaling/PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecification:PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecification": { "properties": { "predefinedMetricType": { @@ -84228,17 +84170,101 @@ "aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializer:FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializer": { "properties": { "hiveJsonSerDe": { - "$ref": "#/types/aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDe:FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDe", + "$ref": "#/types/aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDe:FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDe", "description": "Specifies the native Hive / HCatalog JsonSerDe. More details below. See `hive_json_ser_de` block below for details.\n" }, "openXJsonSerDe": { - "$ref": "#/types/aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDe:FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDe", + "$ref": "#/types/aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDe:FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDe", "description": "Specifies the OpenX SerDe. See `open_x_json_ser_de` block below for details.\n" } }, "type": "object" }, - "aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDe:FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDe": { + "aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfiguration:FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfiguration": { + "properties": { + "serializer": { + "$ref": "#/types/aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializer:FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializer", + "description": "Specifies which serializer to use. You can choose either the ORC SerDe or the Parquet SerDe. See `serializer` block below for details.\n" + } + }, + "type": "object", + "required": [ + "serializer" + ] + }, + "aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializer:FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializer": { + "properties": { + "orcSerDe": { + "$ref": "#/types/aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDe:FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDe", + "description": "Specifies converting data to the ORC format before storing it in Amazon S3. For more information, see [Apache ORC](https://orc.apache.org/docs/). See `orc_ser_de` block below for details.\n" + }, + "parquetSerDe": { + "$ref": "#/types/aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDe:FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDe", + "description": "Specifies converting data to the Parquet format before storing it in Amazon S3. For more information, see [Apache Parquet](https://parquet.apache.org/docs/). More details below.\n" + } + }, + "type": "object" + }, + "aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationSchemaConfiguration:FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationSchemaConfiguration": { + "properties": { + "catalogId": { + "type": "string", + "description": "The ID of the AWS Glue Data Catalog. If you don't supply this, the AWS account ID is used by default.\n" + }, + "databaseName": { + "type": "string", + "description": "Specifies the name of the AWS Glue database that contains the schema for the output data.\n" + }, + "region": { + "type": "string", + "description": "If you don't specify an AWS Region, the default is the current region.\n" + }, + "roleArn": { + "type": "string", + "description": "The role that Kinesis Data Firehose can use to access AWS Glue. This role must be in the same account you use for Kinesis Data Firehose. Cross-account roles aren't allowed.\n" + }, + "tableName": { + "type": "string", + "description": "Specifies the AWS Glue table that contains the column information that constitutes your data schema.\n" + }, + "versionId": { + "type": "string", + "description": "Specifies the table version for the output data schema. Defaults to `LATEST`.\n" + } + }, + "type": "object", + "required": [ + "databaseName", + "roleArn", + "tableName" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "catalogId", + "databaseName", + "region", + "roleArn", + "tableName" + ] + } + } + }, + "aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDynamicPartitioningConfiguration:FirehoseDeliveryStreamExtendedS3ConfigurationDynamicPartitioningConfiguration": { + "properties": { + "enabled": { + "type": "boolean", + "description": "Enables or disables dynamic partitioning. Defaults to `false`.\n", + "willReplaceOnChanges": true + }, + "retryDuration": { + "type": "integer", + "description": "Total amount of seconds Firehose spends on retries. Valid values between 0 and 7200. Default is 300.\n\n\u003e **NOTE:** You can enable dynamic partitioning only when you create a new delivery stream. Once you enable dynamic partitioning on a delivery stream, it cannot be disabled on this delivery stream. Therefore, the provider will recreate the resource whenever dynamic partitioning is enabled or disabled.\n" + } + }, + "type": "object" + }, + "aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDe:FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDe": { "properties": { "timestampFormats": { "type": "array", @@ -84250,7 +84276,7 @@ }, "type": "object" }, - "aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDe:FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDe": { + "aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDe:FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDe": { "properties": { "caseInsensitive": { "type": "boolean", @@ -84270,32 +84296,7 @@ }, "type": "object" }, - "aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfiguration:FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfiguration": { - "properties": { - "serializer": { - "$ref": "#/types/aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializer:FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializer", - "description": "Specifies which serializer to use. You can choose either the ORC SerDe or the Parquet SerDe. See `serializer` block below for details.\n" - } - }, - "type": "object", - "required": [ - "serializer" - ] - }, - "aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializer:FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializer": { - "properties": { - "orcSerDe": { - "$ref": "#/types/aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDe:FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDe", - "description": "Specifies converting data to the ORC format before storing it in Amazon S3. For more information, see [Apache ORC](https://orc.apache.org/docs/). See `orc_ser_de` block below for details.\n" - }, - "parquetSerDe": { - "$ref": "#/types/aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDe:FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDe", - "description": "Specifies converting data to the Parquet format before storing it in Amazon S3. For more information, see [Apache Parquet](https://parquet.apache.org/docs/). More details below.\n" - } - }, - "type": "object" - }, - "aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDe:FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDe": { + "aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDe:FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDe": { "properties": { "blockSizeBytes": { "type": "integer", @@ -84343,7 +84344,7 @@ }, "type": "object" }, - "aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDe:FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDe": { + "aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDe:FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDe": { "properties": { "blockSizeBytes": { "type": "integer", @@ -84372,65 +84373,6 @@ }, "type": "object" }, - "aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationSchemaConfiguration:FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationSchemaConfiguration": { - "properties": { - "catalogId": { - "type": "string", - "description": "The ID of the AWS Glue Data Catalog. If you don't supply this, the AWS account ID is used by default.\n" - }, - "databaseName": { - "type": "string", - "description": "Specifies the name of the AWS Glue database that contains the schema for the output data.\n" - }, - "region": { - "type": "string", - "description": "If you don't specify an AWS Region, the default is the current region.\n" - }, - "roleArn": { - "type": "string", - "description": "The role that Kinesis Data Firehose can use to access AWS Glue. This role must be in the same account you use for Kinesis Data Firehose. Cross-account roles aren't allowed.\n" - }, - "tableName": { - "type": "string", - "description": "Specifies the AWS Glue table that contains the column information that constitutes your data schema.\n" - }, - "versionId": { - "type": "string", - "description": "Specifies the table version for the output data schema. Defaults to `LATEST`.\n" - } - }, - "type": "object", - "required": [ - "databaseName", - "roleArn", - "tableName" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "catalogId", - "databaseName", - "region", - "roleArn", - "tableName" - ] - } - } - }, - "aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationDynamicPartitioningConfiguration:FirehoseDeliveryStreamExtendedS3ConfigurationDynamicPartitioningConfiguration": { - "properties": { - "enabled": { - "type": "boolean", - "description": "Enables or disables dynamic partitioning. Defaults to `false`.\n", - "willReplaceOnChanges": true - }, - "retryDuration": { - "type": "integer", - "description": "Total amount of seconds Firehose spends on retries. Valid values between 0 and 7200. Default is 300.\n\n\u003e **NOTE:** You can enable dynamic partitioning only when you create a new delivery stream. Once you enable dynamic partitioning on a delivery stream, it cannot be disabled on this delivery stream. Therefore, the provider will recreate the resource whenever dynamic partitioning is enabled or disabled.\n" - } - }, - "type": "object" - }, "aws:kinesis/FirehoseDeliveryStreamExtendedS3ConfigurationProcessingConfiguration:FirehoseDeliveryStreamExtendedS3ConfigurationProcessingConfiguration": { "properties": { "enabled": { @@ -86405,6 +86347,23 @@ "snapshotsEnabled" ] }, + "aws:kinesisanalyticsv2/ApplicationApplicationConfigurationCsvMappingParameters:ApplicationApplicationConfigurationCsvMappingParameters": { + "properties": { + "recordColumnDelimiter": { + "type": "string", + "description": "The column delimiter. For example, in a CSV format, a comma (`,`) is the typical column delimiter.\n" + }, + "recordRowDelimiter": { + "type": "string", + "description": "The row delimiter. For example, in a CSV format, `\\n` is the typical row delimiter.\n" + } + }, + "type": "object", + "required": [ + "recordColumnDelimiter", + "recordRowDelimiter" + ] + }, "aws:kinesisanalyticsv2/ApplicationApplicationConfigurationEnvironmentProperties:ApplicationApplicationConfigurationEnvironmentProperties": { "properties": { "propertyGroups": { @@ -86563,6 +86522,31 @@ } } }, + "aws:kinesisanalyticsv2/ApplicationApplicationConfigurationJsonMappingParameters:ApplicationApplicationConfigurationJsonMappingParameters": { + "properties": { + "recordRowPath": { + "type": "string", + "description": "The path to the top-level parent that contains the records.\n" + } + }, + "type": "object", + "required": [ + "recordRowPath" + ] + }, + "aws:kinesisanalyticsv2/ApplicationApplicationConfigurationMappingParameters:ApplicationApplicationConfigurationMappingParameters": { + "properties": { + "csvMappingParameters": { + "$ref": "#/types/aws:kinesisanalyticsv2/ApplicationApplicationConfigurationCsvMappingParameters:ApplicationApplicationConfigurationCsvMappingParameters", + "description": "Provides additional mapping information when the record format uses delimiters (for example, CSV).\n" + }, + "jsonMappingParameters": { + "$ref": "#/types/aws:kinesisanalyticsv2/ApplicationApplicationConfigurationJsonMappingParameters:ApplicationApplicationConfigurationJsonMappingParameters", + "description": "Provides additional mapping information when JSON is the record format on the streaming source.\n" + } + }, + "type": "object" + }, "aws:kinesisanalyticsv2/ApplicationApplicationConfigurationRunConfiguration:ApplicationApplicationConfigurationRunConfiguration": { "properties": { "applicationRestoreConfiguration": { @@ -86806,45 +86790,16 @@ "aws:kinesisanalyticsv2/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParameters:ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParameters": { "properties": { "csvMappingParameters": { - "$ref": "#/types/aws:kinesisanalyticsv2/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters:ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters", + "$ref": "#/types/aws:kinesisanalyticsv2/ApplicationApplicationConfigurationCsvMappingParameters:ApplicationApplicationConfigurationCsvMappingParameters", "description": "Provides additional mapping information when the record format uses delimiters (for example, CSV).\n" }, "jsonMappingParameters": { - "$ref": "#/types/aws:kinesisanalyticsv2/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParameters:ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParameters", + "$ref": "#/types/aws:kinesisanalyticsv2/ApplicationApplicationConfigurationJsonMappingParameters:ApplicationApplicationConfigurationJsonMappingParameters", "description": "Provides additional mapping information when JSON is the record format on the streaming source.\n" } }, "type": "object" }, - "aws:kinesisanalyticsv2/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters:ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters": { - "properties": { - "recordColumnDelimiter": { - "type": "string", - "description": "The column delimiter. For example, in a CSV format, a comma (`,`) is the typical column delimiter.\n" - }, - "recordRowDelimiter": { - "type": "string", - "description": "The row delimiter. For example, in a CSV format, `\\n` is the typical row delimiter.\n" - } - }, - "type": "object", - "required": [ - "recordColumnDelimiter", - "recordRowDelimiter" - ] - }, - "aws:kinesisanalyticsv2/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParameters:ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParameters": { - "properties": { - "recordRowPath": { - "type": "string", - "description": "The path to the top-level parent that contains the records.\n" - } - }, - "type": "object", - "required": [ - "recordRowPath" - ] - }, "aws:kinesisanalyticsv2/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputStartingPositionConfiguration:ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputStartingPositionConfiguration": { "properties": { "inputStartingPosition": { @@ -87057,7 +87012,7 @@ "aws:kinesisanalyticsv2/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormat:ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormat": { "properties": { "mappingParameters": { - "$ref": "#/types/aws:kinesisanalyticsv2/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParameters:ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParameters", + "$ref": "#/types/aws:kinesisanalyticsv2/ApplicationApplicationConfigurationMappingParameters:ApplicationApplicationConfigurationMappingParameters", "description": "Provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.\n" }, "recordFormatType": { @@ -87071,48 +87026,6 @@ "recordFormatType" ] }, - "aws:kinesisanalyticsv2/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParameters:ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParameters": { - "properties": { - "csvMappingParameters": { - "$ref": "#/types/aws:kinesisanalyticsv2/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters:ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters", - "description": "Provides additional mapping information when the record format uses delimiters (for example, CSV).\n" - }, - "jsonMappingParameters": { - "$ref": "#/types/aws:kinesisanalyticsv2/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters:ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters", - "description": "Provides additional mapping information when JSON is the record format on the streaming source.\n" - } - }, - "type": "object" - }, - "aws:kinesisanalyticsv2/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters:ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters": { - "properties": { - "recordColumnDelimiter": { - "type": "string", - "description": "The column delimiter. For example, in a CSV format, a comma (`,`) is the typical column delimiter.\n" - }, - "recordRowDelimiter": { - "type": "string", - "description": "The row delimiter. For example, in a CSV format, `\\n` is the typical row delimiter.\n" - } - }, - "type": "object", - "required": [ - "recordColumnDelimiter", - "recordRowDelimiter" - ] - }, - "aws:kinesisanalyticsv2/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters:ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters": { - "properties": { - "recordRowPath": { - "type": "string", - "description": "The path to the top-level parent that contains the records.\n" - } - }, - "type": "object", - "required": [ - "recordRowPath" - ] - }, "aws:kinesisanalyticsv2/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceS3ReferenceDataSource:ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceS3ReferenceDataSource": { "properties": { "bucketArn": { @@ -92410,6 +92323,40 @@ "promptSpecification" ] }, + "aws:lex/V2modelsIntentConfirmationSettingAudioSpecification:V2modelsIntentConfirmationSettingAudioSpecification": { + "properties": { + "endTimeoutMs": { + "type": "integer", + "description": "Time for which a bot waits after the customer stops speaking to assume the utterance is finished.\n" + }, + "maxLengthMs": { + "type": "integer", + "description": "Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.\n" + } + }, + "type": "object", + "required": [ + "endTimeoutMs", + "maxLengthMs" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingButton:V2modelsIntentConfirmationSettingButton": { + "properties": { + "text": { + "type": "string", + "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" + }, + "value": { + "type": "string", + "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" + } + }, + "type": "object", + "required": [ + "text", + "value" + ] + }, "aws:lex/V2modelsIntentConfirmationSettingCodeHook:V2modelsIntentConfirmationSettingCodeHook": { "properties": { "active": { @@ -92542,7 +92489,7 @@ "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDialogAction:V2modelsIntentConfirmationSettingDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { @@ -92559,7 +92506,92 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntent": { + "properties": { + "name": { + "type": "string", + "description": "Name of the intent.\n" + }, + "slots": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot" + }, + "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot": { + "properties": { + "mapBlockKey": { + "type": "string", + "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" + }, + "shape": { + "type": "string", + "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" + }, + "value": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingValue:V2modelsIntentConfirmationSettingValue", + "description": "Configuration block for the current value of the slot. See `value`.\n" + } + }, + "type": "object", + "required": [ + "mapBlockKey" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse": { + "properties": { + "allowInterrupt": { + "type": "boolean", + "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" + }, + "messageGroups": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingMessageGroup:V2modelsIntentConfirmationSettingMessageGroup" + }, + "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranch:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranch": { + "properties": { + "nextStep": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStep", + "description": "Configuration block for the next step in the conversation. See `next_step`.\n" + }, + "response": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponse", + "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStep": { + "properties": { + "dialogAction": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepDialogAction", + "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" + }, + "intent": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntent", + "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" + }, + "sessionAttributes": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepDialogAction": { "properties": { "slotToElicit": { "type": "string", @@ -92579,7 +92611,7 @@ "type" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntent": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntent": { "properties": { "name": { "type": "string", @@ -92588,14 +92620,14 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlot" }, "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlot": { "properties": { "mapBlockKey": { "type": "string", @@ -92606,7 +92638,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -92615,7 +92647,7 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue": { "properties": { "interpretedValue": { "type": "string", @@ -92624,7 +92656,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponse": { "properties": { "allowInterrupt": { "type": "boolean", @@ -92633,23 +92665,23 @@ "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup" }, "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingMessage:V2modelsIntentConfirmationSettingMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingVariation:V2modelsIntentConfirmationSettingVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -92659,129 +92691,148 @@ "message" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStep": { "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" + "dialogAction": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepDialogAction", + "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" + "intent": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntent", + "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" + "sessionAttributes": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepDialogAction": { "properties": { - "value": { + "slotToElicit": { "type": "string", - "description": "String that is sent to your application.\n" + "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" + }, + "suppressNextMessage": { + "type": "boolean", + "description": "Whether the next message for the intent is _not_ used.\n" + }, + "type": { + "type": "string", + "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" } }, "type": "object", "required": [ - "value" + "type" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntent": { "properties": { - "buttons": { + "name": { + "type": "string", + "description": "Name of the intent.\n" + }, + "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlot" }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { + "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlot": { + "properties": { + "mapBlockKey": { "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" + "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" }, - "subtitle": { + "shape": { "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" + "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" + "value": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotValue", + "description": "Configuration block for the current value of the slot. See `value`.\n" } }, "type": "object", "required": [ - "title" + "mapBlockKey" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotValue": { "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { + "interpretedValue": { "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" + "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" } }, - "type": "object", - "required": [ - "text", - "value" - ] + "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponse": { "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" + "allowInterrupt": { + "type": "boolean", + "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" + }, + "messageGroups": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroup" + }, + "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, - "type": "object", - "required": [ - "value" - ] + "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroup": { "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" + "message": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessage", + "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" + }, + "variations": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariation" + }, + "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } }, "type": "object", "required": [ - "value" + "message" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessage": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessagePlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageCustomPayload": { "properties": { "value": { "type": "string", @@ -92793,12 +92844,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingButton:V2modelsIntentConfirmationSettingButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -92820,24 +92871,91 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessagePlainTextMessage": { "properties": { - "text": { + "value": { "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" + "description": "Message to send to the user.\n" + } + }, + "type": "object", + "required": [ + "value" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageSsmlMessage": { + "properties": { + "value": { + "type": "string", + "description": "SSML text that defines the prompt.\n" + } + }, + "type": "object", + "required": [ + "value" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariation": { + "properties": { + "customPayload": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationCustomPayload", + "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" + }, + "imageResponseCard": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard", + "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" + }, + "plainTextMessage": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage", + "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, + "ssmlMessage": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessage", + "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationCustomPayload": { + "properties": { "value": { "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" + "description": "String that is sent to your application.\n" } }, "type": "object", "required": [ - "text", "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard": { + "properties": { + "buttons": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingButton:V2modelsIntentConfirmationSettingButton" + }, + "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" + }, + "imageUrl": { + "type": "string", + "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" + }, + "subtitle": { + "type": "string", + "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" + }, + "title": { + "type": "string", + "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" + } + }, + "type": "object", + "required": [ + "title" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage": { "properties": { "value": { "type": "string", @@ -92849,7 +92967,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { "type": "string", @@ -92861,27 +92979,161 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranch:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranch": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditional:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditional": { + "properties": { + "active": { + "type": "boolean", + "description": "Whether a conditional branch is active. When active is false, the conditions are not evaluated.\n" + }, + "conditionalBranches": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranch:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranch" + }, + "description": "Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See `conditional_branch`.\n" + }, + "defaultBranch": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranch:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranch", + "description": "Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See `default_branch`.\n" + } + }, + "type": "object", + "required": [ + "active", + "defaultBranch" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranch:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranch": { "properties": { + "condition": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchCondition", + "description": "Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See `condition`.\n" + }, + "name": { + "type": "string", + "description": "Name of the branch.\n" + }, "nextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStep", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStep", "description": "Configuration block for the next step in the conversation. See `next_step`.\n" }, "response": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponse", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse", + "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" + } + }, + "type": "object", + "required": [ + "condition", + "name", + "nextStep" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchCondition": { + "properties": { + "expressionString": { + "type": "string", + "description": "Expression string that is evaluated.\n" + } + }, + "type": "object", + "required": [ + "expressionString" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStep": { + "properties": { + "dialogAction": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDialogAction:V2modelsIntentConfirmationSettingDialogAction", + "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" + }, + "intent": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent", + "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" + }, + "sessionAttributes": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent": { + "properties": { + "name": { + "type": "string", + "description": "Name of the intent.\n" + }, + "slots": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot" + }, + "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot": { + "properties": { + "mapBlockKey": { + "type": "string", + "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" + }, + "shape": { + "type": "string", + "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" + }, + "value": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingValue:V2modelsIntentConfirmationSettingValue", + "description": "Configuration block for the current value of the slot. See `value`.\n" + } + }, + "type": "object", + "required": [ + "mapBlockKey" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse": { + "properties": { + "allowInterrupt": { + "type": "boolean", + "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" + }, + "messageGroups": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingMessageGroup:V2modelsIntentConfirmationSettingMessageGroup" + }, + "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranch:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranch": { + "properties": { + "nextStep": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStep", + "description": "Configuration block for the next step in the conversation. See `next_step`.\n" + }, + "response": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponse", "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStep": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntent", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntent", "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" }, "sessionAttributes": { @@ -92894,7 +93146,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepDialogAction": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepDialogAction": { "properties": { "slotToElicit": { "type": "string", @@ -92914,7 +93166,7 @@ "type" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntent": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntent": { "properties": { "name": { "type": "string", @@ -92923,14 +93175,14 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot" }, "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlot": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot": { "properties": { "mapBlockKey": { "type": "string", @@ -92941,7 +93193,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -92950,7 +93202,7 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue": { "properties": { "interpretedValue": { "type": "string", @@ -92959,7 +93211,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponse": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponse": { "properties": { "allowInterrupt": { "type": "boolean", @@ -92968,23 +93220,143 @@ "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup" }, "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup": { + "properties": { + "message": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingMessage:V2modelsIntentConfirmationSettingMessage", + "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" + }, + "variations": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingVariation:V2modelsIntentConfirmationSettingVariation" + }, + "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" + } + }, + "type": "object", + "required": [ + "message" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStep": { + "properties": { + "dialogAction": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepDialogAction", + "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" + }, + "intent": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntent", + "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" + }, + "sessionAttributes": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepDialogAction": { + "properties": { + "slotToElicit": { + "type": "string", + "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" + }, + "suppressNextMessage": { + "type": "boolean", + "description": "Whether the next message for the intent is _not_ used.\n" + }, + "type": { + "type": "string", + "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" + } + }, + "type": "object", + "required": [ + "type" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntent": { + "properties": { + "name": { + "type": "string", + "description": "Name of the intent.\n" + }, + "slots": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlot" + }, + "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlot": { + "properties": { + "mapBlockKey": { + "type": "string", + "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" + }, + "shape": { + "type": "string", + "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" + }, + "value": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotValue", + "description": "Configuration block for the current value of the slot. See `value`.\n" + } + }, + "type": "object", + "required": [ + "mapBlockKey" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotValue": { + "properties": { + "interpretedValue": { + "type": "string", + "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponse": { + "properties": { + "allowInterrupt": { + "type": "boolean", + "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" + }, + "messageGroups": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroup" + }, + "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -92994,28 +93366,28 @@ "message" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessage": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessagePlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageCustomPayload": { "properties": { "value": { "type": "string", @@ -93027,12 +93399,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingButton:V2modelsIntentConfirmationSettingButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -93054,24 +93426,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { "type": "string", @@ -93083,7 +93438,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageSsmlMessage": { "properties": { "value": { "type": "string", @@ -93095,28 +93450,28 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariation": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationCustomPayload": { "properties": { "value": { "type": "string", @@ -93128,12 +93483,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingButton:V2modelsIntentConfirmationSettingButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -93155,28 +93510,23 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage": { "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, "value": { "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" + "description": "Message to send to the user.\n" } }, "type": "object", "required": [ - "text", "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { "type": "string", - "description": "Message to send to the user.\n" + "description": "SSML text that defines the prompt.\n" } }, "type": "object", @@ -93184,26 +93534,281 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditional:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditional": { + "properties": { + "active": { + "type": "boolean", + "description": "Whether a conditional branch is active. When active is false, the conditions are not evaluated.\n" + }, + "conditionalBranches": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranch:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranch" + }, + "description": "Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See `conditional_branch`.\n" + }, + "defaultBranch": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranch:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranch", + "description": "Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See `default_branch`.\n" + } + }, + "type": "object", + "required": [ + "active", + "defaultBranch" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranch:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranch": { + "properties": { + "condition": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchCondition", + "description": "Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See `condition`.\n" + }, + "name": { + "type": "string", + "description": "Name of the branch.\n" + }, + "nextStep": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStep", + "description": "Configuration block for the next step in the conversation. See `next_step`.\n" + }, + "response": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse", + "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" + } + }, + "type": "object", + "required": [ + "condition", + "name", + "nextStep" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchCondition": { + "properties": { + "expressionString": { + "type": "string", + "description": "Expression string that is evaluated.\n" + } + }, + "type": "object", + "required": [ + "expressionString" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStep": { + "properties": { + "dialogAction": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDialogAction:V2modelsIntentConfirmationSettingDialogAction", + "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" + }, + "intent": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent", + "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" + }, + "sessionAttributes": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent": { + "properties": { + "name": { + "type": "string", + "description": "Name of the intent.\n" + }, + "slots": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot" + }, + "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot": { + "properties": { + "mapBlockKey": { + "type": "string", + "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" + }, + "shape": { + "type": "string", + "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" + }, + "value": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingValue:V2modelsIntentConfirmationSettingValue", + "description": "Configuration block for the current value of the slot. See `value`.\n" + } + }, + "type": "object", + "required": [ + "mapBlockKey" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse": { + "properties": { + "allowInterrupt": { + "type": "boolean", + "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" + }, + "messageGroups": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingMessageGroup:V2modelsIntentConfirmationSettingMessageGroup" + }, + "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranch:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranch": { + "properties": { + "nextStep": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStep", + "description": "Configuration block for the next step in the conversation. See `next_step`.\n" + }, + "response": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponse", + "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStep": { + "properties": { + "dialogAction": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepDialogAction", + "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" + }, + "intent": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntent", + "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" + }, + "sessionAttributes": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepDialogAction": { + "properties": { + "slotToElicit": { + "type": "string", + "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" + }, + "suppressNextMessage": { + "type": "boolean", + "description": "Whether the next message for the intent is _not_ used.\n" + }, + "type": { + "type": "string", + "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" + } + }, + "type": "object", + "required": [ + "type" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntent": { + "properties": { + "name": { + "type": "string", + "description": "Name of the intent.\n" + }, + "slots": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot" + }, + "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot": { "properties": { + "mapBlockKey": { + "type": "string", + "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" + }, + "shape": { + "type": "string", + "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" + }, "value": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue", + "description": "Configuration block for the current value of the slot. See `value`.\n" + } + }, + "type": "object", + "required": [ + "mapBlockKey" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue": { + "properties": { + "interpretedValue": { "type": "string", - "description": "SSML text that defines the prompt.\n" + "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponse": { + "properties": { + "allowInterrupt": { + "type": "boolean", + "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" + }, + "messageGroups": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup" + }, + "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup": { + "properties": { + "message": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingMessage:V2modelsIntentConfirmationSettingMessage", + "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" + }, + "variations": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingVariation:V2modelsIntentConfirmationSettingVariation" + }, + "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } }, "type": "object", "required": [ - "value" + "message" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStep": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntent", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntent", "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" }, "sessionAttributes": { @@ -93216,7 +93821,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepDialogAction": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepDialogAction": { "properties": { "slotToElicit": { "type": "string", @@ -93236,7 +93841,7 @@ "type" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntent": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntent": { "properties": { "name": { "type": "string", @@ -93245,14 +93850,14 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlot" }, "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlot": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlot": { "properties": { "mapBlockKey": { "type": "string", @@ -93263,7 +93868,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -93272,7 +93877,7 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStepIntentSlotValue": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotValue": { "properties": { "interpretedValue": { "type": "string", @@ -93281,7 +93886,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponse": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponse": { "properties": { "allowInterrupt": { "type": "boolean", @@ -93290,23 +93895,23 @@ "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroup" }, "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroup": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -93316,28 +93921,28 @@ "message" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessage": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessagePlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessagePlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageCustomPayload": { "properties": { "value": { "type": "string", @@ -93349,12 +93954,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingButton:V2modelsIntentConfirmationSettingButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -93376,24 +93981,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessagePlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { "type": "string", @@ -93405,7 +93993,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageSsmlMessage": { "properties": { "value": { "type": "string", @@ -93417,28 +94005,28 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariation": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariation": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationCustomPayload": { "properties": { "value": { "type": "string", @@ -93450,12 +94038,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingButton:V2modelsIntentConfirmationSettingButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -93477,24 +94065,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage": { "properties": { "value": { "type": "string", @@ -93506,7 +94077,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { "type": "string", @@ -93518,7 +94089,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditional:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditional": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditional:V2modelsIntentConfirmationSettingConfirmationConditional": { "properties": { "active": { "type": "boolean", @@ -93527,12 +94098,12 @@ "conditionalBranches": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranch:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranch" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranch:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranch" }, "description": "Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See `conditional_branch`.\n" }, "defaultBranch": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranch:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranch", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranch:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranch", "description": "Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See `default_branch`.\n" } }, @@ -93542,10 +94113,10 @@ "defaultBranch" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranch:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranch": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranch:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranch": { "properties": { "condition": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchCondition", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchCondition", "description": "Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See `condition`.\n" }, "name": { @@ -93553,11 +94124,11 @@ "description": "Name of the branch.\n" }, "nextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStep", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStep", "description": "Configuration block for the next step in the conversation. See `next_step`.\n" }, "response": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponse", "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" } }, @@ -93568,7 +94139,7 @@ "nextStep" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchCondition": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchCondition": { "properties": { "expressionString": { "type": "string", @@ -93580,14 +94151,14 @@ "expressionString" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStep": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogAction:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntent", "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" }, "sessionAttributes": { @@ -93600,7 +94171,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogAction:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogAction": { "properties": { "slotToElicit": { "type": "string", @@ -93620,7 +94191,7 @@ "type" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntent": { "properties": { "name": { "type": "string", @@ -93629,14 +94200,14 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlot" }, "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlot": { "properties": { "mapBlockKey": { "type": "string", @@ -93647,7 +94218,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlotValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -93656,7 +94227,7 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlotValue": { "properties": { "interpretedValue": { "type": "string", @@ -93665,7 +94236,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponse": { "properties": { "allowInterrupt": { "type": "boolean", @@ -93674,23 +94245,23 @@ "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroup:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroup" }, "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroup:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -93700,28 +94271,28 @@ "message" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessage": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageCustomPayload": { "properties": { "value": { "type": "string", @@ -93733,12 +94304,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingButton:V2modelsIntentConfirmationSettingButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -93760,24 +94331,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { "type": "string", @@ -93789,7 +94343,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage": { "properties": { "value": { "type": "string", @@ -93801,28 +94355,28 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariation": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationCustomPayload": { "properties": { "value": { "type": "string", @@ -93834,12 +94388,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingButton:V2modelsIntentConfirmationSettingButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -93861,24 +94415,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage": { "properties": { "value": { "type": "string", @@ -93890,7 +94427,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { "type": "string", @@ -93902,27 +94439,27 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranch:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranch": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranch:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranch": { "properties": { "nextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStep", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStep", "description": "Configuration block for the next step in the conversation. See `next_step`.\n" }, "response": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponse", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponse", "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStep": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntent", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntent", "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" }, "sessionAttributes": { @@ -93935,7 +94472,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepDialogAction": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepDialogAction": { "properties": { "slotToElicit": { "type": "string", @@ -93955,7 +94492,7 @@ "type" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntent": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntent": { "properties": { "name": { "type": "string", @@ -93964,14 +94501,14 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlot" }, "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlot": { "properties": { "mapBlockKey": { "type": "string", @@ -93982,7 +94519,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlotValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -93991,7 +94528,7 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlotValue": { "properties": { "interpretedValue": { "type": "string", @@ -94000,7 +94537,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponse": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponse": { "properties": { "allowInterrupt": { "type": "boolean", @@ -94009,23 +94546,23 @@ "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroup" }, "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -94035,28 +94572,28 @@ "message" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessage": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageCustomPayload": { "properties": { "value": { "type": "string", @@ -94068,12 +94605,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -94095,7 +94632,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton": { "properties": { "text": { "type": "string", @@ -94112,7 +94649,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { "type": "string", @@ -94124,7 +94661,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage": { "properties": { "value": { "type": "string", @@ -94136,28 +94673,28 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariation": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationCustomPayload": { "properties": { "value": { "type": "string", @@ -94169,12 +94706,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingButton:V2modelsIntentConfirmationSettingButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -94196,24 +94733,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage": { "properties": { "value": { "type": "string", @@ -94225,7 +94745,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { "type": "string", @@ -94237,14 +94757,14 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStep": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationNextStep:V2modelsIntentConfirmationSettingConfirmationNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationNextStepDialogAction:V2modelsIntentConfirmationSettingConfirmationNextStepDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntent", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationNextStepIntent:V2modelsIntentConfirmationSettingConfirmationNextStepIntent", "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" }, "sessionAttributes": { @@ -94257,7 +94777,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepDialogAction": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationNextStepDialogAction:V2modelsIntentConfirmationSettingConfirmationNextStepDialogAction": { "properties": { "slotToElicit": { "type": "string", @@ -94277,7 +94797,7 @@ "type" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntent": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationNextStepIntent:V2modelsIntentConfirmationSettingConfirmationNextStepIntent": { "properties": { "name": { "type": "string", @@ -94286,14 +94806,14 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlot:V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlot" }, "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlot": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlot:V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlot": { "properties": { "mapBlockKey": { "type": "string", @@ -94304,7 +94824,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotValue:V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -94313,7 +94833,7 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStepIntentSlotValue": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotValue:V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotValue": { "properties": { "interpretedValue": { "type": "string", @@ -94322,7 +94842,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponse": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponse:V2modelsIntentConfirmationSettingConfirmationResponse": { "properties": { "allowInterrupt": { "type": "boolean", @@ -94331,23 +94851,23 @@ "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroup:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroup" }, "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroup": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroup:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariation:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -94357,28 +94877,28 @@ "message" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessage": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessagePlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessagePlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageCustomPayload": { "properties": { "value": { "type": "string", @@ -94390,12 +94910,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCardButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -94417,7 +94937,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCardButton": { "properties": { "text": { "type": "string", @@ -94434,7 +94954,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessagePlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { "type": "string", @@ -94446,7 +94966,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageSsmlMessage": { "properties": { "value": { "type": "string", @@ -94458,28 +94978,28 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariation": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariation:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariation": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationCustomPayload": { "properties": { "value": { "type": "string", @@ -94491,12 +95011,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCardButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -94518,7 +95038,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCardButton": { "properties": { "text": { "type": "string", @@ -94535,7 +95055,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationPlainTextMessage": { "properties": { "value": { "type": "string", @@ -94547,7 +95067,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { "type": "string", @@ -94559,7 +95079,19 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditional:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditional": { + "aws:lex/V2modelsIntentConfirmationSettingCustomPayload:V2modelsIntentConfirmationSettingCustomPayload": { + "properties": { + "value": { + "type": "string", + "description": "String that is sent to your application.\n" + } + }, + "type": "object", + "required": [ + "value" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditional:V2modelsIntentConfirmationSettingDeclinationConditional": { "properties": { "active": { "type": "boolean", @@ -94568,12 +95100,12 @@ "conditionalBranches": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranch:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranch" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranch:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranch" }, "description": "Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See `conditional_branch`.\n" }, "defaultBranch": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranch:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranch", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranch:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranch", "description": "Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See `default_branch`.\n" } }, @@ -94583,10 +95115,10 @@ "defaultBranch" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranch:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranch": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranch:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranch": { "properties": { "condition": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchCondition", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchCondition", "description": "Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See `condition`.\n" }, "name": { @@ -94594,11 +95126,11 @@ "description": "Name of the branch.\n" }, "nextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStep", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStep", "description": "Configuration block for the next step in the conversation. See `next_step`.\n" }, "response": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponse", "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" } }, @@ -94609,7 +95141,7 @@ "nextStep" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchCondition": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchCondition": { "properties": { "expressionString": { "type": "string", @@ -94621,14 +95153,14 @@ "expressionString" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStep": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepDialogAction:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntent", "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" }, "sessionAttributes": { @@ -94641,7 +95173,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepDialogAction:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepDialogAction": { "properties": { "slotToElicit": { "type": "string", @@ -94661,7 +95193,7 @@ "type" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntent": { "properties": { "name": { "type": "string", @@ -94670,14 +95202,14 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlot" }, "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlot": { "properties": { "mapBlockKey": { "type": "string", @@ -94688,7 +95220,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlotValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -94697,7 +95229,7 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlotValue": { "properties": { "interpretedValue": { "type": "string", @@ -94706,7 +95238,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponse": { "properties": { "allowInterrupt": { "type": "boolean", @@ -94715,23 +95247,23 @@ "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroup:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroup" }, "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroup:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -94741,28 +95273,28 @@ "message" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessage": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageCustomPayload": { "properties": { "value": { "type": "string", @@ -94774,12 +95306,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingButton:V2modelsIntentConfirmationSettingButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -94801,24 +95333,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { "type": "string", @@ -94830,7 +95345,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage": { "properties": { "value": { "type": "string", @@ -94842,28 +95357,28 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariation": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationCustomPayload": { "properties": { "value": { "type": "string", @@ -94875,12 +95390,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingButton:V2modelsIntentConfirmationSettingButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -94902,24 +95417,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage": { "properties": { "value": { "type": "string", @@ -94931,7 +95429,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { "type": "string", @@ -94943,27 +95441,27 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranch:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranch": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranch:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranch": { "properties": { "nextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStep", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStep", "description": "Configuration block for the next step in the conversation. See `next_step`.\n" }, "response": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponse", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponse", "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStep": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntent", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntent", "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" }, "sessionAttributes": { @@ -94976,7 +95474,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepDialogAction": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepDialogAction": { "properties": { "slotToElicit": { "type": "string", @@ -94996,7 +95494,7 @@ "type" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntent": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntent": { "properties": { "name": { "type": "string", @@ -95005,14 +95503,14 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlot" }, "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlot": { "properties": { "mapBlockKey": { "type": "string", @@ -95023,7 +95521,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlotValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -95032,7 +95530,7 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlotValue": { "properties": { "interpretedValue": { "type": "string", @@ -95041,7 +95539,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponse": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponse": { "properties": { "allowInterrupt": { "type": "boolean", @@ -95050,23 +95548,23 @@ "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroup" }, "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -95076,28 +95574,28 @@ "message" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessage": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageCustomPayload": { "properties": { "value": { "type": "string", @@ -95109,12 +95607,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -95136,7 +95634,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton": { "properties": { "text": { "type": "string", @@ -95153,7 +95651,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { "type": "string", @@ -95165,7 +95663,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage": { "properties": { "value": { "type": "string", @@ -95177,28 +95675,28 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariation": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationCustomPayload": { "properties": { "value": { "type": "string", @@ -95210,12 +95708,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -95237,7 +95735,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton": { "properties": { "text": { "type": "string", @@ -95254,7 +95752,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage": { "properties": { "value": { "type": "string", @@ -95266,7 +95764,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { "type": "string", @@ -95278,14 +95776,14 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStep:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStep": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationNextStep:V2modelsIntentConfirmationSettingDeclinationNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationNextStepDialogAction:V2modelsIntentConfirmationSettingDeclinationNextStepDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntent", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationNextStepIntent:V2modelsIntentConfirmationSettingDeclinationNextStepIntent", "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" }, "sessionAttributes": { @@ -95298,7 +95796,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepDialogAction:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepDialogAction": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationNextStepDialogAction:V2modelsIntentConfirmationSettingDeclinationNextStepDialogAction": { "properties": { "slotToElicit": { "type": "string", @@ -95318,7 +95816,7 @@ "type" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntent:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntent": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationNextStepIntent:V2modelsIntentConfirmationSettingDeclinationNextStepIntent": { "properties": { "name": { "type": "string", @@ -95327,14 +95825,14 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlot:V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlot" }, "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlot:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlot": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlot:V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlot": { "properties": { "mapBlockKey": { "type": "string", @@ -95345,7 +95843,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlotValue:V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlotValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -95354,7 +95852,7 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotValue:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStepIntentSlotValue": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlotValue:V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlotValue": { "properties": { "interpretedValue": { "type": "string", @@ -95363,7 +95861,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponse:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponse": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponse:V2modelsIntentConfirmationSettingDeclinationResponse": { "properties": { "allowInterrupt": { "type": "boolean", @@ -95372,23 +95870,23 @@ "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroup:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroup" }, "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroup:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroup": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroup:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariation:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -95398,28 +95896,28 @@ "message" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessage": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessagePlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessagePlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageCustomPayload": { "properties": { "value": { "type": "string", @@ -95431,12 +95929,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCardButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -95458,7 +95956,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCardButton": { "properties": { "text": { "type": "string", @@ -95475,7 +95973,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessagePlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { "type": "string", @@ -95487,7 +95985,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageSsmlMessage": { "properties": { "value": { "type": "string", @@ -95499,28 +95997,28 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariation:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariation": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariation:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariation": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationCustomPayload": { "properties": { "value": { "type": "string", @@ -95532,12 +96030,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCardButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -95559,7 +96057,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCardButton": { "properties": { "text": { "type": "string", @@ -95576,7 +96074,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationPlainTextMessage": { "properties": { "value": { "type": "string", @@ -95588,7 +96086,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { "type": "string", @@ -95600,7 +96098,67 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditional:V2modelsIntentConfirmationSettingConfirmationConditional": { + "aws:lex/V2modelsIntentConfirmationSettingDialogAction:V2modelsIntentConfirmationSettingDialogAction": { + "properties": { + "slotToElicit": { + "type": "string", + "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" + }, + "suppressNextMessage": { + "type": "boolean", + "description": "Whether the next message for the intent is _not_ used.\n" + }, + "type": { + "type": "string", + "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" + } + }, + "type": "object", + "required": [ + "type" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingDtmfSpecification:V2modelsIntentConfirmationSettingDtmfSpecification": { + "properties": { + "deletionCharacter": { + "type": "string", + "description": "DTMF character that clears the accumulated DTMF digits and immediately ends the input.\n" + }, + "endCharacter": { + "type": "string", + "description": "DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.\n" + }, + "endTimeoutMs": { + "type": "integer", + "description": "How long the bot should wait after the last DTMF character input before assuming that the input has concluded.\n" + }, + "maxLength": { + "type": "integer", + "description": "Maximum number of DTMF digits allowed in an utterance.\n" + } + }, + "type": "object", + "required": [ + "deletionCharacter", + "endCharacter", + "endTimeoutMs", + "maxLength" + ] + }, + "aws:lex/V2modelsIntentConfirmationSettingElicitationCodeHook:V2modelsIntentConfirmationSettingElicitationCodeHook": { + "properties": { + "enableCodeHookInvocation": { + "type": "boolean", + "description": "Whether a Lambda function should be invoked for the dialog.\n" + }, + "invocationLabel": { + "type": "string", + "description": "Label that indicates the dialog step from which the dialog code hook is happening.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentConfirmationSettingFailureConditional:V2modelsIntentConfirmationSettingFailureConditional": { "properties": { "active": { "type": "boolean", @@ -95609,12 +96167,12 @@ "conditionalBranches": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranch:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranch" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranch:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranch" }, "description": "Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See `conditional_branch`.\n" }, "defaultBranch": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranch:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranch", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranch:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranch", "description": "Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See `default_branch`.\n" } }, @@ -95624,10 +96182,10 @@ "defaultBranch" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranch:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranch": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranch:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranch": { "properties": { "condition": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchCondition", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchCondition", "description": "Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See `condition`.\n" }, "name": { @@ -95635,11 +96193,11 @@ "description": "Name of the branch.\n" }, "nextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStep", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStep", "description": "Configuration block for the next step in the conversation. See `next_step`.\n" }, "response": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponse", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponse", "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" } }, @@ -95650,7 +96208,7 @@ "nextStep" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchCondition": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchCondition": { "properties": { "expressionString": { "type": "string", @@ -95662,14 +96220,14 @@ "expressionString" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStep": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogAction:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepDialogAction:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntent", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntent", "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" }, "sessionAttributes": { @@ -95682,7 +96240,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogAction:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogAction": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepDialogAction:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepDialogAction": { "properties": { "slotToElicit": { "type": "string", @@ -95702,7 +96260,7 @@ "type" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntent": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntent": { "properties": { "name": { "type": "string", @@ -95711,14 +96269,14 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlot" }, "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlot": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlot": { "properties": { "mapBlockKey": { "type": "string", @@ -95729,7 +96287,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlotValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -95738,7 +96296,7 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntentSlotValue": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlotValue": { "properties": { "interpretedValue": { "type": "string", @@ -95747,7 +96305,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponse": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponse": { "properties": { "allowInterrupt": { "type": "boolean", @@ -95756,23 +96314,23 @@ "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroup:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroup:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroup" }, "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroup:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroup": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroup:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -95782,28 +96340,28 @@ "message" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessage": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload": { "properties": { "value": { "type": "string", @@ -95815,12 +96373,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -95842,7 +96400,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton": { "properties": { "text": { "type": "string", @@ -95859,7 +96417,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { "type": "string", @@ -95871,7 +96429,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage": { "properties": { "value": { "type": "string", @@ -95883,28 +96441,28 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariation": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariation": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload": { "properties": { "value": { "type": "string", @@ -95916,12 +96474,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -95943,7 +96501,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton": { "properties": { "text": { "type": "string", @@ -95960,7 +96518,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage": { "properties": { "value": { "type": "string", @@ -95972,7 +96530,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { "type": "string", @@ -95984,27 +96542,27 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranch:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranch": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranch:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranch": { "properties": { "nextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStep", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStep", "description": "Configuration block for the next step in the conversation. See `next_step`.\n" }, "response": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponse", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponse", "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStep": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntent", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntent", "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" }, "sessionAttributes": { @@ -96017,7 +96575,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepDialogAction": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepDialogAction": { "properties": { "slotToElicit": { "type": "string", @@ -96037,7 +96595,7 @@ "type" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntent": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntent": { "properties": { "name": { "type": "string", @@ -96046,14 +96604,14 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlot" }, "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlot": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlot": { "properties": { "mapBlockKey": { "type": "string", @@ -96064,7 +96622,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlotValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -96073,7 +96631,7 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntentSlotValue": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlotValue": { "properties": { "interpretedValue": { "type": "string", @@ -96082,7 +96640,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponse": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponse": { "properties": { "allowInterrupt": { "type": "boolean", @@ -96091,23 +96649,23 @@ "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroup" }, "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroup": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -96117,28 +96675,28 @@ "message" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessage": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload": { "properties": { "value": { "type": "string", @@ -96150,12 +96708,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -96177,7 +96735,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton": { "properties": { "text": { "type": "string", @@ -96194,7 +96752,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { "type": "string", @@ -96206,7 +96764,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage": { "properties": { "value": { "type": "string", @@ -96218,28 +96776,28 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariation": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariation": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload": { "properties": { "value": { "type": "string", @@ -96251,12 +96809,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -96278,7 +96836,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton": { "properties": { "text": { "type": "string", @@ -96295,7 +96853,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage": { "properties": { "value": { "type": "string", @@ -96307,7 +96865,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { "type": "string", @@ -96319,14 +96877,14 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationNextStep:V2modelsIntentConfirmationSettingConfirmationNextStep": { + "aws:lex/V2modelsIntentConfirmationSettingFailureNextStep:V2modelsIntentConfirmationSettingFailureNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationNextStepDialogAction:V2modelsIntentConfirmationSettingConfirmationNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureNextStepDialogAction:V2modelsIntentConfirmationSettingFailureNextStepDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationNextStepIntent:V2modelsIntentConfirmationSettingConfirmationNextStepIntent", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureNextStepIntent:V2modelsIntentConfirmationSettingFailureNextStepIntent", "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" }, "sessionAttributes": { @@ -96339,7 +96897,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationNextStepDialogAction:V2modelsIntentConfirmationSettingConfirmationNextStepDialogAction": { + "aws:lex/V2modelsIntentConfirmationSettingFailureNextStepDialogAction:V2modelsIntentConfirmationSettingFailureNextStepDialogAction": { "properties": { "slotToElicit": { "type": "string", @@ -96359,7 +96917,7 @@ "type" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationNextStepIntent:V2modelsIntentConfirmationSettingConfirmationNextStepIntent": { + "aws:lex/V2modelsIntentConfirmationSettingFailureNextStepIntent:V2modelsIntentConfirmationSettingFailureNextStepIntent": { "properties": { "name": { "type": "string", @@ -96368,14 +96926,14 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlot:V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureNextStepIntentSlot:V2modelsIntentConfirmationSettingFailureNextStepIntentSlot" }, "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlot:V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlot": { + "aws:lex/V2modelsIntentConfirmationSettingFailureNextStepIntentSlot:V2modelsIntentConfirmationSettingFailureNextStepIntentSlot": { "properties": { "mapBlockKey": { "type": "string", @@ -96386,7 +96944,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotValue:V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureNextStepIntentSlotValue:V2modelsIntentConfirmationSettingFailureNextStepIntentSlotValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -96395,7 +96953,7 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotValue:V2modelsIntentConfirmationSettingConfirmationNextStepIntentSlotValue": { + "aws:lex/V2modelsIntentConfirmationSettingFailureNextStepIntentSlotValue:V2modelsIntentConfirmationSettingFailureNextStepIntentSlotValue": { "properties": { "interpretedValue": { "type": "string", @@ -96404,7 +96962,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponse:V2modelsIntentConfirmationSettingConfirmationResponse": { + "aws:lex/V2modelsIntentConfirmationSettingFailureResponse:V2modelsIntentConfirmationSettingFailureResponse": { "properties": { "allowInterrupt": { "type": "boolean", @@ -96413,23 +96971,23 @@ "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroup:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroup:V2modelsIntentConfirmationSettingFailureResponseMessageGroup" }, "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroup:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroup": { + "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroup:V2modelsIntentConfirmationSettingFailureResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariation:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariation:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -96439,28 +96997,28 @@ "message" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessage": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessagePlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessagePlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageCustomPayload": { "properties": { "value": { "type": "string", @@ -96472,12 +97030,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCardButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -96499,7 +97057,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCardButton": { "properties": { "text": { "type": "string", @@ -96516,7 +97074,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessagePlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { "type": "string", @@ -96528,7 +97086,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageSsmlMessage": { "properties": { "value": { "type": "string", @@ -96540,28 +97098,28 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariation:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariation": { + "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariation:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariation": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationCustomPayload": { "properties": { "value": { "type": "string", @@ -96573,12 +97131,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCardButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -96600,7 +97158,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCardButton": { "properties": { "text": { "type": "string", @@ -96617,7 +97175,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationPlainTextMessage": { "properties": { "value": { "type": "string", @@ -96629,7 +97187,7 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingConfirmationResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { "type": "string", @@ -96641,179 +97199,129 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditional:V2modelsIntentConfirmationSettingDeclinationConditional": { + "aws:lex/V2modelsIntentConfirmationSettingImageResponseCard:V2modelsIntentConfirmationSettingImageResponseCard": { "properties": { - "active": { - "type": "boolean", - "description": "Whether a conditional branch is active. When active is false, the conditions are not evaluated.\n" - }, - "conditionalBranches": { + "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranch:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranch" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingButton:V2modelsIntentConfirmationSettingButton" }, - "description": "Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See `conditional_branch`.\n" - }, - "defaultBranch": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranch:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranch", - "description": "Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See `default_branch`.\n" - } - }, - "type": "object", - "required": [ - "active", - "defaultBranch" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranch:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranch": { - "properties": { - "condition": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchCondition", - "description": "Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See `condition`.\n" + "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, - "name": { + "imageUrl": { "type": "string", - "description": "Name of the branch.\n" + "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" }, - "nextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStep", - "description": "Configuration block for the next step in the conversation. See `next_step`.\n" + "subtitle": { + "type": "string", + "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" }, - "response": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponse", - "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" - } - }, - "type": "object", - "required": [ - "condition", - "name", - "nextStep" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchCondition": { - "properties": { - "expressionString": { + "title": { "type": "string", - "description": "Expression string that is evaluated.\n" + "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" } }, "type": "object", "required": [ - "expressionString" + "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStep": { + "aws:lex/V2modelsIntentConfirmationSettingMessage:V2modelsIntentConfirmationSettingMessage": { "properties": { - "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepDialogAction:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepDialogAction", - "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" - }, - "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntent", - "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" + "customPayload": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCustomPayload:V2modelsIntentConfirmationSettingCustomPayload", + "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, - "sessionAttributes": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepDialogAction:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepDialogAction": { - "properties": { - "slotToElicit": { - "type": "string", - "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" + "imageResponseCard": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingImageResponseCard:V2modelsIntentConfirmationSettingImageResponseCard", + "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, - "suppressNextMessage": { - "type": "boolean", - "description": "Whether the next message for the intent is _not_ used.\n" + "plainTextMessage": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPlainTextMessage:V2modelsIntentConfirmationSettingPlainTextMessage", + "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, - "type": { - "type": "string", - "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" + "ssmlMessage": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingSsmlMessage:V2modelsIntentConfirmationSettingSsmlMessage", + "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, - "type": "object", - "required": [ - "type" - ] + "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntent": { + "aws:lex/V2modelsIntentConfirmationSettingMessageGroup:V2modelsIntentConfirmationSettingMessageGroup": { "properties": { - "name": { - "type": "string", - "description": "Name of the intent.\n" + "message": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingMessage:V2modelsIntentConfirmationSettingMessage", + "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, - "slots": { + "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingVariation:V2modelsIntentConfirmationSettingVariation" }, - "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlot": { - "properties": { - "mapBlockKey": { - "type": "string", - "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" - }, - "shape": { - "type": "string", - "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" - }, - "value": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlotValue", - "description": "Configuration block for the current value of the slot. See `value`.\n" + "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } }, "type": "object", "required": [ - "mapBlockKey" + "message" ] }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchNextStepIntentSlotValue": { + "aws:lex/V2modelsIntentConfirmationSettingPlainTextMessage:V2modelsIntentConfirmationSettingPlainTextMessage": { "properties": { - "interpretedValue": { + "value": { "type": "string", - "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" + "description": "Message to send to the user.\n" } }, - "type": "object" + "type": "object", + "required": [ + "value" + ] }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponse": { + "aws:lex/V2modelsIntentConfirmationSettingPromptSpecification:V2modelsIntentConfirmationSettingPromptSpecification": { "properties": { "allowInterrupt": { "type": "boolean", - "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" + "description": "Whether the user can interrupt a speech prompt from the bot.\n" + }, + "maxRetries": { + "type": "integer", + "description": "Maximum number of times the bot tries to elicit a response from the user using this prompt.\n" }, "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroup:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroup:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroup" }, - "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" + "description": "Configuration block for messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime. See `message_group`.\n" + }, + "messageSelectionStrategy": { + "type": "string", + "description": "How a message is selected from a message group among retries. Valid values are `Random` and `Ordered`.\n" + }, + "promptAttemptsSpecifications": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecification:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecification" + }, + "description": "Configuration block for advanced settings on each attempt of the prompt. See `prompt_attempts_specification`.\n" } }, - "type": "object" + "type": "object", + "required": [ + "maxRetries" + ] }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroup:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroup": { + "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroup:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariation:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -96823,28 +97331,28 @@ "message" ] }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessage": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessagePlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageCustomPayload": { "properties": { "value": { "type": "string", @@ -96856,12 +97364,12 @@ "value" ] }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCardButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -96883,3065 +97391,7 @@ "title" ] }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariation": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranch:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranch": { - "properties": { - "nextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStep", - "description": "Configuration block for the next step in the conversation. See `next_step`.\n" - }, - "response": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponse", - "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStep": { - "properties": { - "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepDialogAction", - "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" - }, - "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntent", - "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" - }, - "sessionAttributes": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepDialogAction": { - "properties": { - "slotToElicit": { - "type": "string", - "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" - }, - "suppressNextMessage": { - "type": "boolean", - "description": "Whether the next message for the intent is _not_ used.\n" - }, - "type": { - "type": "string", - "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" - } - }, - "type": "object", - "required": [ - "type" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntent": { - "properties": { - "name": { - "type": "string", - "description": "Name of the intent.\n" - }, - "slots": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlot" - }, - "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlot": { - "properties": { - "mapBlockKey": { - "type": "string", - "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" - }, - "shape": { - "type": "string", - "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" - }, - "value": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlotValue", - "description": "Configuration block for the current value of the slot. See `value`.\n" - } - }, - "type": "object", - "required": [ - "mapBlockKey" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchNextStepIntentSlotValue": { - "properties": { - "interpretedValue": { - "type": "string", - "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponse": { - "properties": { - "allowInterrupt": { - "type": "boolean", - "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" - }, - "messageGroups": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroup" - }, - "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroup": { - "properties": { - "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessage", - "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" - }, - "variations": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariation" - }, - "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" - } - }, - "type": "object", - "required": [ - "message" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessage": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariation": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingDeclinationConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationNextStep:V2modelsIntentConfirmationSettingDeclinationNextStep": { - "properties": { - "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationNextStepDialogAction:V2modelsIntentConfirmationSettingDeclinationNextStepDialogAction", - "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" - }, - "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationNextStepIntent:V2modelsIntentConfirmationSettingDeclinationNextStepIntent", - "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" - }, - "sessionAttributes": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationNextStepDialogAction:V2modelsIntentConfirmationSettingDeclinationNextStepDialogAction": { - "properties": { - "slotToElicit": { - "type": "string", - "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" - }, - "suppressNextMessage": { - "type": "boolean", - "description": "Whether the next message for the intent is _not_ used.\n" - }, - "type": { - "type": "string", - "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" - } - }, - "type": "object", - "required": [ - "type" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationNextStepIntent:V2modelsIntentConfirmationSettingDeclinationNextStepIntent": { - "properties": { - "name": { - "type": "string", - "description": "Name of the intent.\n" - }, - "slots": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlot:V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlot" - }, - "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlot:V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlot": { - "properties": { - "mapBlockKey": { - "type": "string", - "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" - }, - "shape": { - "type": "string", - "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" - }, - "value": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlotValue:V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlotValue", - "description": "Configuration block for the current value of the slot. See `value`.\n" - } - }, - "type": "object", - "required": [ - "mapBlockKey" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlotValue:V2modelsIntentConfirmationSettingDeclinationNextStepIntentSlotValue": { - "properties": { - "interpretedValue": { - "type": "string", - "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponse:V2modelsIntentConfirmationSettingDeclinationResponse": { - "properties": { - "allowInterrupt": { - "type": "boolean", - "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" - }, - "messageGroups": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroup:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroup" - }, - "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroup:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroup": { - "properties": { - "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessage", - "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" - }, - "variations": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariation:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariation" - }, - "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" - } - }, - "type": "object", - "required": [ - "message" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessage": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessagePlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupMessageSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariation:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariation": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationPlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingDeclinationResponseMessageGroupVariationSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingElicitationCodeHook:V2modelsIntentConfirmationSettingElicitationCodeHook": { - "properties": { - "enableCodeHookInvocation": { - "type": "boolean", - "description": "Whether a Lambda function should be invoked for the dialog.\n" - }, - "invocationLabel": { - "type": "string", - "description": "Label that indicates the dialog step from which the dialog code hook is happening.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditional:V2modelsIntentConfirmationSettingFailureConditional": { - "properties": { - "active": { - "type": "boolean", - "description": "Whether a conditional branch is active. When active is false, the conditions are not evaluated.\n" - }, - "conditionalBranches": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranch:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranch" - }, - "description": "Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See `conditional_branch`.\n" - }, - "defaultBranch": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranch:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranch", - "description": "Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See `default_branch`.\n" - } - }, - "type": "object", - "required": [ - "active", - "defaultBranch" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranch:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranch": { - "properties": { - "condition": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchCondition", - "description": "Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See `condition`.\n" - }, - "name": { - "type": "string", - "description": "Name of the branch.\n" - }, - "nextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStep", - "description": "Configuration block for the next step in the conversation. See `next_step`.\n" - }, - "response": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponse", - "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" - } - }, - "type": "object", - "required": [ - "condition", - "name", - "nextStep" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchCondition:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchCondition": { - "properties": { - "expressionString": { - "type": "string", - "description": "Expression string that is evaluated.\n" - } - }, - "type": "object", - "required": [ - "expressionString" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStep:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStep": { - "properties": { - "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepDialogAction:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepDialogAction", - "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" - }, - "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntent", - "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" - }, - "sessionAttributes": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepDialogAction:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepDialogAction": { - "properties": { - "slotToElicit": { - "type": "string", - "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" - }, - "suppressNextMessage": { - "type": "boolean", - "description": "Whether the next message for the intent is _not_ used.\n" - }, - "type": { - "type": "string", - "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" - } - }, - "type": "object", - "required": [ - "type" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntent:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntent": { - "properties": { - "name": { - "type": "string", - "description": "Name of the intent.\n" - }, - "slots": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlot" - }, - "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlot": { - "properties": { - "mapBlockKey": { - "type": "string", - "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" - }, - "shape": { - "type": "string", - "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" - }, - "value": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlotValue", - "description": "Configuration block for the current value of the slot. See `value`.\n" - } - }, - "type": "object", - "required": [ - "mapBlockKey" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchNextStepIntentSlotValue": { - "properties": { - "interpretedValue": { - "type": "string", - "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponse:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponse": { - "properties": { - "allowInterrupt": { - "type": "boolean", - "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" - }, - "messageGroups": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroup:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroup" - }, - "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroup:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroup": { - "properties": { - "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessage", - "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" - }, - "variations": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariation" - }, - "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" - } - }, - "type": "object", - "required": [ - "message" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessage": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariation": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranch:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranch": { - "properties": { - "nextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStep", - "description": "Configuration block for the next step in the conversation. See `next_step`.\n" - }, - "response": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponse", - "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStep:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStep": { - "properties": { - "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepDialogAction", - "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" - }, - "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntent", - "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" - }, - "sessionAttributes": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepDialogAction:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepDialogAction": { - "properties": { - "slotToElicit": { - "type": "string", - "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" - }, - "suppressNextMessage": { - "type": "boolean", - "description": "Whether the next message for the intent is _not_ used.\n" - }, - "type": { - "type": "string", - "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" - } - }, - "type": "object", - "required": [ - "type" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntent:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntent": { - "properties": { - "name": { - "type": "string", - "description": "Name of the intent.\n" - }, - "slots": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlot" - }, - "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlot": { - "properties": { - "mapBlockKey": { - "type": "string", - "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" - }, - "shape": { - "type": "string", - "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" - }, - "value": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlotValue", - "description": "Configuration block for the current value of the slot. See `value`.\n" - } - }, - "type": "object", - "required": [ - "mapBlockKey" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchNextStepIntentSlotValue": { - "properties": { - "interpretedValue": { - "type": "string", - "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponse:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponse": { - "properties": { - "allowInterrupt": { - "type": "boolean", - "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" - }, - "messageGroups": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroup" - }, - "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroup:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroup": { - "properties": { - "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessage", - "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" - }, - "variations": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariation" - }, - "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" - } - }, - "type": "object", - "required": [ - "message" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessage": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariation": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureNextStep:V2modelsIntentConfirmationSettingFailureNextStep": { - "properties": { - "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureNextStepDialogAction:V2modelsIntentConfirmationSettingFailureNextStepDialogAction", - "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" - }, - "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureNextStepIntent:V2modelsIntentConfirmationSettingFailureNextStepIntent", - "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" - }, - "sessionAttributes": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureNextStepDialogAction:V2modelsIntentConfirmationSettingFailureNextStepDialogAction": { - "properties": { - "slotToElicit": { - "type": "string", - "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" - }, - "suppressNextMessage": { - "type": "boolean", - "description": "Whether the next message for the intent is _not_ used.\n" - }, - "type": { - "type": "string", - "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" - } - }, - "type": "object", - "required": [ - "type" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureNextStepIntent:V2modelsIntentConfirmationSettingFailureNextStepIntent": { - "properties": { - "name": { - "type": "string", - "description": "Name of the intent.\n" - }, - "slots": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureNextStepIntentSlot:V2modelsIntentConfirmationSettingFailureNextStepIntentSlot" - }, - "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureNextStepIntentSlot:V2modelsIntentConfirmationSettingFailureNextStepIntentSlot": { - "properties": { - "mapBlockKey": { - "type": "string", - "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" - }, - "shape": { - "type": "string", - "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" - }, - "value": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureNextStepIntentSlotValue:V2modelsIntentConfirmationSettingFailureNextStepIntentSlotValue", - "description": "Configuration block for the current value of the slot. See `value`.\n" - } - }, - "type": "object", - "required": [ - "mapBlockKey" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureNextStepIntentSlotValue:V2modelsIntentConfirmationSettingFailureNextStepIntentSlotValue": { - "properties": { - "interpretedValue": { - "type": "string", - "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureResponse:V2modelsIntentConfirmationSettingFailureResponse": { - "properties": { - "allowInterrupt": { - "type": "boolean", - "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" - }, - "messageGroups": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroup:V2modelsIntentConfirmationSettingFailureResponseMessageGroup" - }, - "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroup:V2modelsIntentConfirmationSettingFailureResponseMessageGroup": { - "properties": { - "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessage", - "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" - }, - "variations": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariation:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariation" - }, - "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" - } - }, - "type": "object", - "required": [ - "message" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessage": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessagePlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupMessageSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariation:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariation": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationPlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingFailureResponseMessageGroupVariationSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecification:V2modelsIntentConfirmationSettingPromptSpecification": { - "properties": { - "allowInterrupt": { - "type": "boolean", - "description": "Whether the user can interrupt a speech prompt from the bot.\n" - }, - "maxRetries": { - "type": "integer", - "description": "Maximum number of times the bot tries to elicit a response from the user using this prompt.\n" - }, - "messageGroups": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroup:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroup" - }, - "description": "Configuration block for messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime. See `message_group`.\n" - }, - "messageSelectionStrategy": { - "type": "string", - "description": "How a message is selected from a message group among retries. Valid values are `Random` and `Ordered`.\n" - }, - "promptAttemptsSpecifications": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecification:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecification" - }, - "description": "Configuration block for advanced settings on each attempt of the prompt. See `prompt_attempts_specification`.\n" - } - }, - "type": "object", - "required": [ - "maxRetries" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroup:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroup": { - "properties": { - "message": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessage", - "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" - }, - "variations": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariation:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariation" - }, - "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" - } - }, - "type": "object", - "required": [ - "message" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessage": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageCustomPayload:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCard:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessagePlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariation:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariation": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationPlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecification:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecification": { - "properties": { - "allowInterrupt": { - "type": "boolean", - "description": "Whether the user can interrupt a speech prompt attempt from the bot.\n" - }, - "allowedInputTypes": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypes:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypes", - "description": "Configuration block for the allowed input types of the prompt attempt. See `allowed_input_types`.\n" - }, - "audioAndDtmfInputSpecification": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification", - "description": "Configuration block for settings on audio and DTMF input. See `audio_and_dtmf_input_specification`.\n" - }, - "mapBlockKey": { - "type": "string", - "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" - }, - "textInputSpecification": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecification:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecification", - "description": "Configuration block for the settings on text input. See `text_input_specification`.\n" - } - }, - "type": "object", - "required": [ - "allowedInputTypes", - "mapBlockKey" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypes:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypes": { - "properties": { - "allowAudioInput": { - "type": "boolean", - "description": "Whether audio input is allowed.\n" - }, - "allowDtmfInput": { - "type": "boolean", - "description": "Whether DTMF input is allowed.\n" - } - }, - "type": "object", - "required": [ - "allowAudioInput", - "allowDtmfInput" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification": { - "properties": { - "audioSpecification": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification", - "description": "Configuration block for the settings on audio input. See `audio_specification`.\n" - }, - "dtmfSpecification": { - "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification", - "description": "Configuration block for the settings on DTMF input. See `dtmf_specification`.\n" - }, - "startTimeoutMs": { - "type": "integer", - "description": "Time for which a bot waits before assuming that the customer isn't going to speak or press a key. This timeout is shared between Audio and DTMF inputs.\n" - } - }, - "type": "object", - "required": [ - "startTimeoutMs" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification": { - "properties": { - "endTimeoutMs": { - "type": "integer", - "description": "Time for which a bot waits after the customer stops speaking to assume the utterance is finished.\n" - }, - "maxLengthMs": { - "type": "integer", - "description": "Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.\n" - } - }, - "type": "object", - "required": [ - "endTimeoutMs", - "maxLengthMs" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification": { - "properties": { - "deletionCharacter": { - "type": "string", - "description": "DTMF character that clears the accumulated DTMF digits and immediately ends the input.\n" - }, - "endCharacter": { - "type": "string", - "description": "DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.\n" - }, - "endTimeoutMs": { - "type": "integer", - "description": "How long the bot should wait after the last DTMF character input before assuming that the input has concluded.\n" - }, - "maxLength": { - "type": "integer", - "description": "Maximum number of DTMF digits allowed in an utterance.\n" - } - }, - "type": "object", - "required": [ - "deletionCharacter", - "endCharacter", - "endTimeoutMs", - "maxLength" - ] - }, - "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecification:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecification": { - "properties": { - "startTimeoutMs": { - "type": "integer", - "description": "Time for which a bot waits before re-prompting a customer for text input.\n" - } - }, - "type": "object", - "required": [ - "startTimeoutMs" - ] - }, - "aws:lex/V2modelsIntentDialogCodeHook:V2modelsIntentDialogCodeHook": { - "properties": { - "enabled": { - "type": "boolean", - "description": "Enables the dialog code hook so that it processes user requests.\n" - } - }, - "type": "object", - "required": [ - "enabled" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHook:V2modelsIntentFulfillmentCodeHook": { - "properties": { - "active": { - "type": "boolean", - "description": "Whether the fulfillment code hook is used. When active is false, the code hook doesn't run.\n" - }, - "enabled": { - "type": "boolean", - "description": "Whether a Lambda function should be invoked to fulfill a specific intent.\n" - }, - "fulfillmentUpdatesSpecification": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecification:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecification", - "description": "Configuration block for settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations. See `fulfillment_updates_specification`.\n" - }, - "postFulfillmentStatusSpecification": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification", - "description": "Configuration block for settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations. See `post_fulfillment_status_specification`.\n" - } - }, - "type": "object", - "required": [ - "enabled" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecification:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecification": { - "properties": { - "active": { - "type": "boolean", - "description": "Whether fulfillment updates are sent to the user. When this field is true, updates are sent. If the active field is set to true, the `start_response`, `update_response`, and `timeout_in_seconds` fields are required.\n" - }, - "startResponse": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponse:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponse", - "description": "Configuration block for the message sent to users when the fulfillment Lambda functions starts running.\n" - }, - "timeoutInSeconds": { - "type": "integer", - "description": "Length of time that the fulfillment Lambda function should run before it times out.\n" - }, - "updateResponse": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponse:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponse", - "description": "Configuration block for messages sent periodically to the user while the fulfillment Lambda function is running.\n" - } - }, - "type": "object", - "required": [ - "active" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponse:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponse": { - "properties": { - "allowInterrupt": { - "type": "boolean", - "description": "Whether the user can interrupt the start message while it is playing.\n" - }, - "delayInSeconds": { - "type": "integer", - "description": "Delay between when the Lambda fulfillment function starts running and the start message is played. If the Lambda function returns before the delay is over, the start message isn't played.\n" - }, - "messageGroups": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroup:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroup" - }, - "description": "Between 1-5 configuration block message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user. See `message_group`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroup:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroup": { - "properties": { - "message": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessage", - "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" - }, - "variations": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariation" - }, - "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" - } - }, - "type": "object", - "required": [ - "message" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessage": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessagePlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariation": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationPlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponse:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponse": { - "properties": { - "allowInterrupt": { - "type": "boolean", - "description": "Whether the user can interrupt the start message while it is playing.\n" - }, - "frequencyInSeconds": { - "type": "integer", - "description": "Frequency that a message is sent to the user. When the period ends, Amazon Lex chooses a message from the message groups and plays it to the user. If the fulfillment Lambda returns before the first period ends, an update message is not played to the user.\n" - }, - "messageGroups": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroup:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroup" - }, - "description": "Between 1-5 configuration block message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user. See `message_group`.\n" - } - }, - "type": "object", - "required": [ - "frequencyInSeconds" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroup:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroup": { - "properties": { - "message": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessage", - "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" - }, - "variations": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariation" - }, - "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" - } - }, - "type": "object", - "required": [ - "message" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessage": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessagePlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariation": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationPlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification": { - "properties": { - "failureConditional": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditional:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditional", - "description": "Configuration block for conditional branches to evaluate after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed. See `failure_conditional`.\n" - }, - "failureNextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStep", - "description": "Configuration block for the next step the bot runs after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed. See `failure_next_step`.\n" - }, - "failureResponse": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponse", - "description": "Configuration block for message groups that Amazon Lex uses to respond the user input. See `failure_response`.\n" - }, - "successConditional": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditional:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditional", - "description": "Configuration block for conditional branches to evaluate after the dialog code hook finishes successfully. See `success_conditional`.\n" - }, - "successNextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStep", - "description": "Configuration block for the next step the bot runs after the dialog code hook finishes successfully. See `success_next_step`.\n" - }, - "successResponse": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponse", - "description": "Configuration block for message groups that Amazon Lex uses to respond the user input. See `success_response`.\n" - }, - "timeoutConditional": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditional:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditional", - "description": "Configuration block for conditional branches to evaluate if the code hook times out. See `timeout_conditional`.\n" - }, - "timeoutNextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStep", - "description": "Configuration block for the next step that the bot runs when the code hook times out. See `timeout_next_step`.\n" - }, - "timeoutResponse": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponse", - "description": "Configuration block for a list of message groups that Amazon Lex uses to respond the user input. See `timeout_response`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditional:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditional": { - "properties": { - "active": { - "type": "boolean", - "description": "Whether a conditional branch is active. When active is false, the conditions are not evaluated.\n" - }, - "conditionalBranches": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranch" - }, - "description": "Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See `conditional_branch`.\n" - }, - "defaultBranch": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranch", - "description": "Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See `default_branch`.\n" - } - }, - "type": "object", - "required": [ - "active", - "defaultBranch" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranch": { - "properties": { - "condition": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchCondition:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchCondition", - "description": "Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See `condition`.\n" - }, - "name": { - "type": "string", - "description": "Name of the branch.\n" - }, - "nextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStep", - "description": "Configuration block for the next step in the conversation. See `next_step`.\n" - }, - "response": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponse", - "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" - } - }, - "type": "object", - "required": [ - "condition", - "name", - "nextStep" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchCondition:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchCondition": { - "properties": { - "expressionString": { - "type": "string", - "description": "Expression string that is evaluated.\n" - } - }, - "type": "object", - "required": [ - "expressionString" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStep": { - "properties": { - "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogAction", - "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" - }, - "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntent", - "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" - }, - "sessionAttributes": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogAction": { - "properties": { - "slotToElicit": { - "type": "string", - "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" - }, - "suppressNextMessage": { - "type": "boolean", - "description": "Whether the next message for the intent is _not_ used.\n" - }, - "type": { - "type": "string", - "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" - } - }, - "type": "object", - "required": [ - "type" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntent": { - "properties": { - "name": { - "type": "string", - "description": "Name of the intent.\n" - }, - "slots": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlot" - }, - "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlot": { - "properties": { - "mapBlockKey": { - "type": "string", - "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" - }, - "shape": { - "type": "string", - "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" - }, - "value": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue", - "description": "Configuration block for the current value of the slot. See `value`.\n" - } - }, - "type": "object", - "required": [ - "mapBlockKey" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue": { - "properties": { - "interpretedValue": { - "type": "string", - "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponse": { - "properties": { - "allowInterrupt": { - "type": "boolean", - "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" - }, - "messageGroups": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroup" - }, - "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroup": { - "properties": { - "message": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage", - "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" - }, - "variations": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation" - }, - "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" - } - }, - "type": "object", - "required": [ - "message" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCardButton:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageImageResponseCardButton": { "properties": { "text": { "type": "string", @@ -99958,7 +97408,7 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessagePlainTextMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessagePlainTextMessage": { "properties": { "value": { "type": "string", @@ -99970,7 +97420,7 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageSsmlMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupMessageSsmlMessage": { "properties": { "value": { "type": "string", @@ -99982,28 +97432,28 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation": { + "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariation:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariation": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload": { + "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationCustomPayload:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationCustomPayload": { "properties": { "value": { "type": "string", @@ -100015,12 +97465,12 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCard:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCardButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -100042,7 +97492,7 @@ "title" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCardButton:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationImageResponseCardButton": { "properties": { "text": { "type": "string", @@ -100059,7 +97509,7 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationPlainTextMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationPlainTextMessage": { "properties": { "value": { "type": "string", @@ -100071,7 +97521,7 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationSsmlMessage:V2modelsIntentConfirmationSettingPromptSpecificationMessageGroupVariationSsmlMessage": { "properties": { "value": { "type": "string", @@ -100083,221 +97533,89 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranch": { - "properties": { - "nextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStep", - "description": "Configuration block for the next step in the conversation. See `next_step`.\n" - }, - "response": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponse", - "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStep": { - "properties": { - "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepDialogAction", - "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" - }, - "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntent", - "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" - }, - "sessionAttributes": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepDialogAction": { + "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecification:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecification": { "properties": { - "slotToElicit": { - "type": "string", - "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" - }, - "suppressNextMessage": { + "allowInterrupt": { "type": "boolean", - "description": "Whether the next message for the intent is _not_ used.\n" + "description": "Whether the user can interrupt a speech prompt attempt from the bot.\n" }, - "type": { - "type": "string", - "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" - } - }, - "type": "object", - "required": [ - "type" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntent": { - "properties": { - "name": { - "type": "string", - "description": "Name of the intent.\n" + "allowedInputTypes": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypes:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypes", + "description": "Configuration block for the allowed input types of the prompt attempt. See `allowed_input_types`.\n" + }, + "audioAndDtmfInputSpecification": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification", + "description": "Configuration block for settings on audio and DTMF input. See `audio_and_dtmf_input_specification`.\n" }, - "slots": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlot" - }, - "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlot": { - "properties": { "mapBlockKey": { "type": "string", "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" }, - "shape": { - "type": "string", - "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" - }, - "value": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue", - "description": "Configuration block for the current value of the slot. See `value`.\n" + "textInputSpecification": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecification:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecification", + "description": "Configuration block for the settings on text input. See `text_input_specification`.\n" } }, "type": "object", "required": [ + "allowedInputTypes", "mapBlockKey" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue": { - "properties": { - "interpretedValue": { - "type": "string", - "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponse": { + "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypes:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAllowedInputTypes": { "properties": { - "allowInterrupt": { + "allowAudioInput": { "type": "boolean", - "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" - }, - "messageGroups": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroup" - }, - "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroup": { - "properties": { - "message": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage", - "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" - }, - "variations": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation" - }, - "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" - } - }, - "type": "object", - "required": [ - "message" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" + "description": "Whether audio input is allowed.\n" }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" + "allowDtmfInput": { + "type": "boolean", + "description": "Whether DTMF input is allowed.\n" } }, "type": "object", "required": [ - "value" + "allowAudioInput", + "allowDtmfInput" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification": { "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" + "audioSpecification": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingAudioSpecification:V2modelsIntentConfirmationSettingAudioSpecification", + "description": "Configuration block for the settings on audio input. See `audio_specification`.\n" }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" + "dtmfSpecification": { + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingDtmfSpecification:V2modelsIntentConfirmationSettingDtmfSpecification", + "description": "Configuration block for the settings on DTMF input. See `dtmf_specification`.\n" }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" + "startTimeoutMs": { + "type": "integer", + "description": "Time for which a bot waits before assuming that the customer isn't going to speak or press a key. This timeout is shared between Audio and DTMF inputs.\n" } }, "type": "object", "required": [ - "title" + "startTimeoutMs" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton": { + "aws:lex/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecification:V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecification": { "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" + "startTimeoutMs": { + "type": "integer", + "description": "Time for which a bot waits before re-prompting a customer for text input.\n" } }, "type": "object", "required": [ - "text", - "value" + "startTimeoutMs" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage": { + "aws:lex/V2modelsIntentConfirmationSettingSsmlMessage:V2modelsIntentConfirmationSettingSsmlMessage": { "properties": { "value": { "type": "string", - "description": "Message to send to the user.\n" + "description": "SSML text that defines the prompt.\n" } }, "type": "object", @@ -100305,79 +97623,73 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentConfirmationSettingValue:V2modelsIntentConfirmationSettingValue": { "properties": { - "value": { + "interpretedValue": { "type": "string", - "description": "SSML text that defines the prompt.\n" + "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" } }, - "type": "object", - "required": [ - "value" - ] + "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation": { + "aws:lex/V2modelsIntentConfirmationSettingVariation:V2modelsIntentConfirmationSettingVariation": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingCustomPayload:V2modelsIntentConfirmationSettingCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingImageResponseCard:V2modelsIntentConfirmationSettingImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingPlainTextMessage:V2modelsIntentConfirmationSettingPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentConfirmationSettingSsmlMessage:V2modelsIntentConfirmationSettingSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload": { + "aws:lex/V2modelsIntentDialogCodeHook:V2modelsIntentDialogCodeHook": { "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" + "enabled": { + "type": "boolean", + "description": "Enables the dialog code hook so that it processes user requests.\n" } }, "type": "object", "required": [ - "value" + "enabled" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentFulfillmentCodeHook:V2modelsIntentFulfillmentCodeHook": { "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" + "active": { + "type": "boolean", + "description": "Whether the fulfillment code hook is used. When active is false, the code hook doesn't run.\n" }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" + "enabled": { + "type": "boolean", + "description": "Whether a Lambda function should be invoked to fulfill a specific intent.\n" }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" + "fulfillmentUpdatesSpecification": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecification:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecification", + "description": "Configuration block for settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations. See `fulfillment_updates_specification`.\n" }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" + "postFulfillmentStatusSpecification": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification", + "description": "Configuration block for settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations. See `post_fulfillment_status_specification`.\n" } }, "type": "object", "required": [ - "title" + "enabled" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton": { + "aws:lex/V2modelsIntentFulfillmentCodeHookButton:V2modelsIntentFulfillmentCodeHookButton": { "properties": { "text": { "type": "string", @@ -100394,23 +97706,11 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookCustomPayload:V2modelsIntentFulfillmentCodeHookCustomPayload": { "properties": { "value": { "type": "string", - "description": "SSML text that defines the prompt.\n" + "description": "String that is sent to your application.\n" } }, "type": "object", @@ -100418,27 +97718,7 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStep": { - "properties": { - "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepDialogAction", - "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" - }, - "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntent", - "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" - }, - "sessionAttributes": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepDialogAction": { + "aws:lex/V2modelsIntentFulfillmentCodeHookDialogAction:V2modelsIntentFulfillmentCodeHookDialogAction": { "properties": { "slotToElicit": { "type": "string", @@ -100458,77 +97738,60 @@ "type" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntent": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecification:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecification": { "properties": { - "name": { - "type": "string", - "description": "Name of the intent.\n" + "active": { + "type": "boolean", + "description": "Whether fulfillment updates are sent to the user. When this field is true, updates are sent. If the active field is set to true, the `start_response`, `update_response`, and `timeout_in_seconds` fields are required.\n" }, - "slots": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlot" - }, - "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlot": { - "properties": { - "mapBlockKey": { - "type": "string", - "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" + "startResponse": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponse:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponse", + "description": "Configuration block for the message sent to users when the fulfillment Lambda functions starts running.\n" }, - "shape": { - "type": "string", - "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" + "timeoutInSeconds": { + "type": "integer", + "description": "Length of time that the fulfillment Lambda function should run before it times out.\n" }, - "value": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlotValue", - "description": "Configuration block for the current value of the slot. See `value`.\n" + "updateResponse": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponse:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponse", + "description": "Configuration block for messages sent periodically to the user while the fulfillment Lambda function is running.\n" } }, "type": "object", "required": [ - "mapBlockKey" + "active" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlotValue": { - "properties": { - "interpretedValue": { - "type": "string", - "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponse": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponse:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponse": { "properties": { "allowInterrupt": { "type": "boolean", - "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" + "description": "Whether the user can interrupt the start message while it is playing.\n" + }, + "delayInSeconds": { + "type": "integer", + "description": "Delay between when the Lambda fulfillment function starts running and the start message is played. If the Lambda function returns before the delay is over, the start message isn't played.\n" }, "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroup:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroup" }, - "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" + "description": "Between 1-5 configuration block message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroup": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroup:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -100538,28 +97801,28 @@ "message" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessage": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessagePlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessagePlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageCustomPayload": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageCustomPayload": { "properties": { "value": { "type": "string", @@ -100571,12 +97834,12 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCardButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -100598,7 +97861,7 @@ "title" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButton": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageImageResponseCardButton": { "properties": { "text": { "type": "string", @@ -100615,7 +97878,7 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessagePlainTextMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { "type": "string", @@ -100627,7 +97890,7 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupMessageSsmlMessage": { "properties": { "value": { "type": "string", @@ -100639,28 +97902,28 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariation": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariation": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationCustomPayload": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationCustomPayload": { "properties": { "value": { "type": "string", @@ -100672,12 +97935,12 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookButton:V2modelsIntentFulfillmentCodeHookButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -100699,24 +97962,7 @@ "title" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationPlainTextMessage": { "properties": { "value": { "type": "string", @@ -100728,7 +97974,7 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { "type": "string", @@ -100740,179 +97986,39 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditional:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditional": { - "properties": { - "active": { - "type": "boolean", - "description": "Whether a conditional branch is active. When active is false, the conditions are not evaluated.\n" - }, - "conditionalBranches": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranch" - }, - "description": "Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See `conditional_branch`.\n" - }, - "defaultBranch": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranch", - "description": "Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See `default_branch`.\n" - } - }, - "type": "object", - "required": [ - "active", - "defaultBranch" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranch": { - "properties": { - "condition": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchCondition:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchCondition", - "description": "Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See `condition`.\n" - }, - "name": { - "type": "string", - "description": "Name of the branch.\n" - }, - "nextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStep", - "description": "Configuration block for the next step in the conversation. See `next_step`.\n" - }, - "response": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponse", - "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" - } - }, - "type": "object", - "required": [ - "condition", - "name", - "nextStep" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchCondition:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchCondition": { - "properties": { - "expressionString": { - "type": "string", - "description": "Expression string that is evaluated.\n" - } - }, - "type": "object", - "required": [ - "expressionString" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStep": { - "properties": { - "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogAction", - "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" - }, - "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntent", - "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" - }, - "sessionAttributes": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogAction": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponse:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponse": { "properties": { - "slotToElicit": { - "type": "string", - "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" - }, - "suppressNextMessage": { + "allowInterrupt": { "type": "boolean", - "description": "Whether the next message for the intent is _not_ used.\n" + "description": "Whether the user can interrupt the start message while it is playing.\n" }, - "type": { - "type": "string", - "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" - } - }, - "type": "object", - "required": [ - "type" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntent": { - "properties": { - "name": { - "type": "string", - "description": "Name of the intent.\n" + "frequencyInSeconds": { + "type": "integer", + "description": "Frequency that a message is sent to the user. When the period ends, Amazon Lex chooses a message from the message groups and plays it to the user. If the fulfillment Lambda returns before the first period ends, an update message is not played to the user.\n" }, - "slots": { + "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroup:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroup" }, - "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot": { - "properties": { - "mapBlockKey": { - "type": "string", - "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" - }, - "shape": { - "type": "string", - "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" - }, - "value": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue", - "description": "Configuration block for the current value of the slot. See `value`.\n" + "description": "Between 1-5 configuration block message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user. See `message_group`.\n" } }, "type": "object", "required": [ - "mapBlockKey" + "frequencyInSeconds" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue": { - "properties": { - "interpretedValue": { - "type": "string", - "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponse": { - "properties": { - "allowInterrupt": { - "type": "boolean", - "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" - }, - "messageGroups": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroup" - }, - "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroup": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroup:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -100922,28 +98028,28 @@ "message" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessage": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessagePlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageCustomPayload": { "properties": { "value": { "type": "string", @@ -100955,12 +98061,12 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -100982,7 +98088,7 @@ "title" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageImageResponseCardButton": { "properties": { "text": { "type": "string", @@ -100999,7 +98105,7 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { "type": "string", @@ -101011,7 +98117,7 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupMessageSsmlMessage": { "properties": { "value": { "type": "string", @@ -101023,28 +98129,28 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariation": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationCustomPayload": { "properties": { "value": { "type": "string", @@ -101056,12 +98162,12 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookButton:V2modelsIntentFulfillmentCodeHookButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -101083,28 +98189,23 @@ "title" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationPlainTextMessage": { "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, "value": { "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" + "description": "Message to send to the user.\n" } }, "type": "object", "required": [ - "text", "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { "type": "string", - "description": "Message to send to the user.\n" + "description": "SSML text that defines the prompt.\n" } }, "type": "object", @@ -101112,11 +98213,78 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookImageResponseCard:V2modelsIntentFulfillmentCodeHookImageResponseCard": { + "properties": { + "buttons": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookButton:V2modelsIntentFulfillmentCodeHookButton" + }, + "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" + }, + "imageUrl": { + "type": "string", + "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" + }, + "subtitle": { + "type": "string", + "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" + }, + "title": { + "type": "string", + "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" + } + }, + "type": "object", + "required": [ + "title" + ] + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookMessage:V2modelsIntentFulfillmentCodeHookMessage": { + "properties": { + "customPayload": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookCustomPayload:V2modelsIntentFulfillmentCodeHookCustomPayload", + "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" + }, + "imageResponseCard": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookImageResponseCard:V2modelsIntentFulfillmentCodeHookImageResponseCard", + "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" + }, + "plainTextMessage": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPlainTextMessage:V2modelsIntentFulfillmentCodeHookPlainTextMessage", + "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" + }, + "ssmlMessage": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookSsmlMessage:V2modelsIntentFulfillmentCodeHookSsmlMessage", + "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookMessageGroup:V2modelsIntentFulfillmentCodeHookMessageGroup": { + "properties": { + "message": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookMessage:V2modelsIntentFulfillmentCodeHookMessage", + "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" + }, + "variations": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookVariation:V2modelsIntentFulfillmentCodeHookVariation" + }, + "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" + } + }, + "type": "object", + "required": [ + "message" + ] + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookPlainTextMessage:V2modelsIntentFulfillmentCodeHookPlainTextMessage": { "properties": { "value": { "type": "string", - "description": "SSML text that defines the prompt.\n" + "description": "Message to send to the user.\n" } }, "type": "object", @@ -101124,27 +98292,117 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranch": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecification": { + "properties": { + "failureConditional": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditional:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditional", + "description": "Configuration block for conditional branches to evaluate after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed. See `failure_conditional`.\n" + }, + "failureNextStep": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStep", + "description": "Configuration block for the next step the bot runs after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed. See `failure_next_step`.\n" + }, + "failureResponse": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponse", + "description": "Configuration block for message groups that Amazon Lex uses to respond the user input. See `failure_response`.\n" + }, + "successConditional": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditional:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditional", + "description": "Configuration block for conditional branches to evaluate after the dialog code hook finishes successfully. See `success_conditional`.\n" + }, + "successNextStep": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStep", + "description": "Configuration block for the next step the bot runs after the dialog code hook finishes successfully. See `success_next_step`.\n" + }, + "successResponse": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponse", + "description": "Configuration block for message groups that Amazon Lex uses to respond the user input. See `success_response`.\n" + }, + "timeoutConditional": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditional:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditional", + "description": "Configuration block for conditional branches to evaluate if the code hook times out. See `timeout_conditional`.\n" + }, + "timeoutNextStep": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStep", + "description": "Configuration block for the next step that the bot runs when the code hook times out. See `timeout_next_step`.\n" + }, + "timeoutResponse": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponse", + "description": "Configuration block for a list of message groups that Amazon Lex uses to respond the user input. See `timeout_response`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditional:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditional": { + "properties": { + "active": { + "type": "boolean", + "description": "Whether a conditional branch is active. When active is false, the conditions are not evaluated.\n" + }, + "conditionalBranches": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranch" + }, + "description": "Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See `conditional_branch`.\n" + }, + "defaultBranch": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranch", + "description": "Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See `default_branch`.\n" + } + }, + "type": "object", + "required": [ + "active", + "defaultBranch" + ] + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranch": { "properties": { + "condition": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchCondition:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchCondition", + "description": "Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See `condition`.\n" + }, + "name": { + "type": "string", + "description": "Name of the branch.\n" + }, "nextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStep", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStep", "description": "Configuration block for the next step in the conversation. See `next_step`.\n" }, "response": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponse", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponse", "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" } }, - "type": "object" + "type": "object", + "required": [ + "condition", + "name", + "nextStep" + ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStep": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchCondition:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchCondition": { + "properties": { + "expressionString": { + "type": "string", + "description": "Expression string that is evaluated.\n" + } + }, + "type": "object", + "required": [ + "expressionString" + ] + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookDialogAction:V2modelsIntentFulfillmentCodeHookDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntent", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntent", "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" }, "sessionAttributes": { @@ -101157,27 +98415,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepDialogAction": { - "properties": { - "slotToElicit": { - "type": "string", - "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" - }, - "suppressNextMessage": { - "type": "boolean", - "description": "Whether the next message for the intent is _not_ used.\n" - }, - "type": { - "type": "string", - "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" - } - }, - "type": "object", - "required": [ - "type" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntent": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntent": { "properties": { "name": { "type": "string", @@ -101186,14 +98424,14 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlot" }, "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlot": { "properties": { "mapBlockKey": { "type": "string", @@ -101204,7 +98442,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookValue:V2modelsIntentFulfillmentCodeHookValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -101213,16 +98451,7 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue": { - "properties": { - "interpretedValue": { - "type": "string", - "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponse": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponse": { "properties": { "allowInterrupt": { "type": "boolean", @@ -101231,242 +98460,145 @@ "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookMessageGroup:V2modelsIntentFulfillmentCodeHookMessageGroup" }, "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroup": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranch": { "properties": { - "message": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage", - "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" + "nextStep": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStep", + "description": "Configuration block for the next step in the conversation. See `next_step`.\n" }, - "variations": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation" - }, - "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" + "response": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponse", + "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" } }, - "type": "object", - "required": [ - "message" - ] + "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStep": { "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" + "dialogAction": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepDialogAction", + "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" + "intent": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntent", + "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" + "sessionAttributes": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepDialogAction": { "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { + "slotToElicit": { "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" + "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" + "suppressNextMessage": { + "type": "boolean", + "description": "Whether the next message for the intent is _not_ used.\n" }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage": { - "properties": { - "value": { + "type": { "type": "string", - "description": "Message to send to the user.\n" + "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" } }, "type": "object", "required": [ - "value" + "type" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntent": { "properties": { - "value": { + "name": { "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" + "description": "Name of the intent.\n" }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { + "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlot" }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" + "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, - "type": "object", - "required": [ - "title" - ] + "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlot": { "properties": { - "text": { + "mapBlockKey": { "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" + "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" }, - "value": { + "shape": { "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" + "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" + }, + "value": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookValue:V2modelsIntentFulfillmentCodeHookValue", + "description": "Configuration block for the current value of the slot. See `value`.\n" } }, "type": "object", "required": [ - "text", - "value" + "mapBlockKey" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponse": { "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" + "allowInterrupt": { + "type": "boolean", + "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" + }, + "messageGroups": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroup" + }, + "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, - "type": "object", - "required": [ - "value" - ] + "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroup": { "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" + "message": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookMessage:V2modelsIntentFulfillmentCodeHookMessage", + "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" + }, + "variations": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookVariation:V2modelsIntentFulfillmentCodeHookVariation" + }, + "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } }, "type": "object", "required": [ - "value" + "message" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStep": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntent", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntent", "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" }, "sessionAttributes": { @@ -101479,7 +98611,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepDialogAction": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepDialogAction": { "properties": { "slotToElicit": { "type": "string", @@ -101499,7 +98631,7 @@ "type" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntent": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntent": { "properties": { "name": { "type": "string", @@ -101508,14 +98640,14 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlot" }, "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlot": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlot": { "properties": { "mapBlockKey": { "type": "string", @@ -101526,7 +98658,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlotValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -101535,7 +98667,7 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlotValue": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureNextStepIntentSlotValue": { "properties": { "interpretedValue": { "type": "string", @@ -101544,7 +98676,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponse": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponse": { "properties": { "allowInterrupt": { "type": "boolean", @@ -101553,23 +98685,23 @@ "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroup" }, "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroup": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -101579,28 +98711,28 @@ "message" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessage": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessagePlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessagePlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageCustomPayload": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageCustomPayload": { "properties": { "value": { "type": "string", @@ -101612,12 +98744,12 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookButton:V2modelsIntentFulfillmentCodeHookButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -101639,24 +98771,7 @@ "title" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessagePlainTextMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { "type": "string", @@ -101668,7 +98783,7 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageSsmlMessage": { "properties": { "value": { "type": "string", @@ -101680,28 +98795,28 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariation": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariation": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationCustomPayload": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationCustomPayload": { "properties": { "value": { "type": "string", @@ -101713,12 +98828,12 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookButton:V2modelsIntentFulfillmentCodeHookButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -101740,24 +98855,7 @@ "title" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationPlainTextMessage": { "properties": { "value": { "type": "string", @@ -101769,7 +98867,7 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { "type": "string", @@ -101781,7 +98879,7 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditional:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditional": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditional:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditional": { "properties": { "active": { "type": "boolean", @@ -101790,12 +98888,12 @@ "conditionalBranches": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranch" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranch" }, "description": "Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See `conditional_branch`.\n" }, "defaultBranch": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranch", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranch", "description": "Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See `default_branch`.\n" } }, @@ -101805,10 +98903,10 @@ "defaultBranch" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranch": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranch": { "properties": { "condition": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchCondition:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchCondition", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchCondition:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchCondition", "description": "Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See `condition`.\n" }, "name": { @@ -101816,11 +98914,11 @@ "description": "Name of the branch.\n" }, "nextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStep", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStep", "description": "Configuration block for the next step in the conversation. See `next_step`.\n" }, "response": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponse", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponse", "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" } }, @@ -101831,7 +98929,7 @@ "nextStep" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchCondition:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchCondition": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchCondition:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchCondition": { "properties": { "expressionString": { "type": "string", @@ -101843,14 +98941,99 @@ "expressionString" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStep": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookDialogAction:V2modelsIntentFulfillmentCodeHookDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntent", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntent", + "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" + }, + "sessionAttributes": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntent": { + "properties": { + "name": { + "type": "string", + "description": "Name of the intent.\n" + }, + "slots": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot" + }, + "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot": { + "properties": { + "mapBlockKey": { + "type": "string", + "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" + }, + "shape": { + "type": "string", + "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" + }, + "value": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookValue:V2modelsIntentFulfillmentCodeHookValue", + "description": "Configuration block for the current value of the slot. See `value`.\n" + } + }, + "type": "object", + "required": [ + "mapBlockKey" + ] + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponse": { + "properties": { + "allowInterrupt": { + "type": "boolean", + "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" + }, + "messageGroups": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookMessageGroup:V2modelsIntentFulfillmentCodeHookMessageGroup" + }, + "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranch": { + "properties": { + "nextStep": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStep", + "description": "Configuration block for the next step in the conversation. See `next_step`.\n" + }, + "response": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponse", + "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStep": { + "properties": { + "dialogAction": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepDialogAction", + "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" + }, + "intent": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntent", "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" }, "sessionAttributes": { @@ -101863,7 +99046,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepDialogAction": { "properties": { "slotToElicit": { "type": "string", @@ -101883,7 +99066,7 @@ "type" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntent": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntent": { "properties": { "name": { "type": "string", @@ -101892,14 +99075,125 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot" }, "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot": { + "properties": { + "mapBlockKey": { + "type": "string", + "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" + }, + "shape": { + "type": "string", + "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" + }, + "value": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookValue:V2modelsIntentFulfillmentCodeHookValue", + "description": "Configuration block for the current value of the slot. See `value`.\n" + } + }, + "type": "object", + "required": [ + "mapBlockKey" + ] + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponse": { + "properties": { + "allowInterrupt": { + "type": "boolean", + "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" + }, + "messageGroups": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroup" + }, + "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroup": { + "properties": { + "message": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookMessage:V2modelsIntentFulfillmentCodeHookMessage", + "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" + }, + "variations": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookVariation:V2modelsIntentFulfillmentCodeHookVariation" + }, + "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" + } + }, + "type": "object", + "required": [ + "message" + ] + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStep": { + "properties": { + "dialogAction": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepDialogAction", + "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" + }, + "intent": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntent", + "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" + }, + "sessionAttributes": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepDialogAction": { + "properties": { + "slotToElicit": { + "type": "string", + "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" + }, + "suppressNextMessage": { + "type": "boolean", + "description": "Whether the next message for the intent is _not_ used.\n" + }, + "type": { + "type": "string", + "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" + } + }, + "type": "object", + "required": [ + "type" + ] + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntent": { + "properties": { + "name": { + "type": "string", + "description": "Name of the intent.\n" + }, + "slots": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlot" + }, + "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlot": { "properties": { "mapBlockKey": { "type": "string", @@ -101910,7 +99204,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlotValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -101919,7 +99213,7 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessNextStepIntentSlotValue": { "properties": { "interpretedValue": { "type": "string", @@ -101928,7 +99222,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponse": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponse": { "properties": { "allowInterrupt": { "type": "boolean", @@ -101937,23 +99231,23 @@ "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroup" }, "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -101963,28 +99257,28 @@ "message" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessage": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessagePlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageCustomPayload": { "properties": { "value": { "type": "string", @@ -101996,12 +99290,12 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookButton:V2modelsIntentFulfillmentCodeHookButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -102023,24 +99317,7 @@ "title" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { "type": "string", @@ -102052,7 +99329,7 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageSsmlMessage": { "properties": { "value": { "type": "string", @@ -102064,28 +99341,28 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariation": { "properties": { "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationCustomPayload", "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationSsmlMessage", "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationCustomPayload": { "properties": { "value": { "type": "string", @@ -102097,12 +99374,12 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCard": { "properties": { "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookButton:V2modelsIntentFulfillmentCodeHookButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -102124,28 +99401,23 @@ "title" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationPlainTextMessage": { "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, "value": { "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" + "description": "Message to send to the user.\n" } }, "type": "object", "required": [ - "text", "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { "type": "string", - "description": "Message to send to the user.\n" + "description": "SSML text that defines the prompt.\n" } }, "type": "object", @@ -102153,39 +99425,76 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditional:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditional": { "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" + "active": { + "type": "boolean", + "description": "Whether a conditional branch is active. When active is false, the conditions are not evaluated.\n" + }, + "conditionalBranches": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranch" + }, + "description": "Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See `conditional_branch`.\n" + }, + "defaultBranch": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranch", + "description": "Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See `default_branch`.\n" } }, "type": "object", "required": [ - "value" + "active", + "defaultBranch" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranch": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranch": { "properties": { + "condition": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchCondition:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchCondition", + "description": "Configuration block for the expression to evaluate. If the condition is true, the branch's actions are taken. See `condition`.\n" + }, + "name": { + "type": "string", + "description": "Name of the branch.\n" + }, "nextStep": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStep", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStep", "description": "Configuration block for the next step in the conversation. See `next_step`.\n" }, "response": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponse", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponse", "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" } }, - "type": "object" + "type": "object", + "required": [ + "condition", + "name", + "nextStep" + ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStep": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchCondition:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchCondition": { + "properties": { + "expressionString": { + "type": "string", + "description": "Expression string that is evaluated.\n" + } + }, + "type": "object", + "required": [ + "expressionString" + ] + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookDialogAction:V2modelsIntentFulfillmentCodeHookDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntent", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntent", "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" }, "sessionAttributes": { @@ -102198,27 +99507,7 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepDialogAction": { - "properties": { - "slotToElicit": { - "type": "string", - "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" - }, - "suppressNextMessage": { - "type": "boolean", - "description": "Whether the next message for the intent is _not_ used.\n" - }, - "type": { - "type": "string", - "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" - } - }, - "type": "object", - "required": [ - "type" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntent": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntent": { "properties": { "name": { "type": "string", @@ -102227,14 +99516,14 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot" }, "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot": { "properties": { "mapBlockKey": { "type": "string", @@ -102245,7 +99534,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookValue:V2modelsIntentFulfillmentCodeHookValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -102254,16 +99543,7 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue": { - "properties": { - "interpretedValue": { - "type": "string", - "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponse": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponse": { "properties": { "allowInterrupt": { "type": "boolean", @@ -102272,232 +99552,135 @@ "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookMessageGroup:V2modelsIntentFulfillmentCodeHookMessageGroup" }, "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranch:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranch": { "properties": { - "message": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage", - "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" + "nextStep": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStep", + "description": "Configuration block for the next step in the conversation. See `next_step`.\n" }, - "variations": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation" - }, - "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" + "response": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponse", + "description": "Configuration block for a list of message groups that Amazon Lex uses to respond to the user input. See `response`.\n" } }, - "type": "object", - "required": [ - "message" - ] + "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStep": { "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" + "dialogAction": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepDialogAction", + "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" + "intent": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntent", + "description": "Configuration block for override settings to configure the intent state. See `intent`.\n" }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" + "sessionAttributes": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepDialogAction:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepDialogAction": { "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { + "slotToElicit": { "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" + "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" + "suppressNextMessage": { + "type": "boolean", + "description": "Whether the next message for the intent is _not_ used.\n" }, - "title": { + "type": { "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" + "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" } }, "type": "object", "required": [ - "title" + "type" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntent:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntent": { "properties": { - "text": { + "name": { "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" + "description": "Name of the intent.\n" }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" + "slots": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot" + }, + "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, - "type": "object", - "required": [ - "value" - ] + "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot": { "properties": { - "value": { + "mapBlockKey": { "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" + "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" + "shape": { + "type": "string", + "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload": { - "properties": { "value": { - "type": "string", - "description": "String that is sent to your application.\n" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookValue:V2modelsIntentFulfillmentCodeHookValue", + "description": "Configuration block for the current value of the slot. See `value`.\n" } }, "type": "object", "required": [ - "value" + "mapBlockKey" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponse:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponse": { "properties": { - "buttons": { + "allowInterrupt": { + "type": "boolean", + "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" + }, + "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup" }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" + "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, - "type": "object", - "required": [ - "title" - ] + "type": "object" }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup": { "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" + "message": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookMessage:V2modelsIntentFulfillmentCodeHookMessage", + "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" + "variations": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookVariation:V2modelsIntentFulfillmentCodeHookVariation" + }, + "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } }, "type": "object", "required": [ - "value" + "message" ] }, "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStep:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutNextStep": { @@ -102658,7 +99841,7 @@ "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookButton:V2modelsIntentFulfillmentCodeHookButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -102680,23 +99863,6 @@ "title" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessagePlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { @@ -102759,7 +99925,7 @@ "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookButton:V2modelsIntentFulfillmentCodeHookButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -102781,28 +99947,23 @@ "title" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage": { "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, "value": { "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" + "description": "Message to send to the user.\n" } }, "type": "object", "required": [ - "text", "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { "type": "string", - "description": "Message to send to the user.\n" + "description": "SSML text that defines the prompt.\n" } }, "type": "object", @@ -102810,7 +99971,7 @@ "value" ] }, - "aws:lex/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationSsmlMessage:V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentFulfillmentCodeHookSsmlMessage:V2modelsIntentFulfillmentCodeHookSsmlMessage": { "properties": { "value": { "type": "string", @@ -102822,6 +99983,36 @@ "value" ] }, + "aws:lex/V2modelsIntentFulfillmentCodeHookValue:V2modelsIntentFulfillmentCodeHookValue": { + "properties": { + "interpretedValue": { + "type": "string", + "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentFulfillmentCodeHookVariation:V2modelsIntentFulfillmentCodeHookVariation": { + "properties": { + "customPayload": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookCustomPayload:V2modelsIntentFulfillmentCodeHookCustomPayload", + "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" + }, + "imageResponseCard": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookImageResponseCard:V2modelsIntentFulfillmentCodeHookImageResponseCard", + "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" + }, + "plainTextMessage": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookPlainTextMessage:V2modelsIntentFulfillmentCodeHookPlainTextMessage", + "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" + }, + "ssmlMessage": { + "$ref": "#/types/aws:lex/V2modelsIntentFulfillmentCodeHookSsmlMessage:V2modelsIntentFulfillmentCodeHookSsmlMessage", + "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" + } + }, + "type": "object" + }, "aws:lex/V2modelsIntentInitialResponseSetting:V2modelsIntentInitialResponseSetting": { "properties": { "codeHook": { @@ -102843,6 +100034,23 @@ }, "type": "object" }, + "aws:lex/V2modelsIntentInitialResponseSettingButton:V2modelsIntentInitialResponseSettingButton": { + "properties": { + "text": { + "type": "string", + "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" + }, + "value": { + "type": "string", + "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" + } + }, + "type": "object", + "required": [ + "text", + "value" + ] + }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHook:V2modelsIntentInitialResponseSettingCodeHook": { "properties": { "active": { @@ -102975,7 +100183,7 @@ "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStep:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingDialogAction:V2modelsIntentInitialResponseSettingDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { @@ -102992,26 +100200,6 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction": { - "properties": { - "slotToElicit": { - "type": "string", - "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" - }, - "suppressNextMessage": { - "type": "boolean", - "description": "Whether the next message for the intent is _not_ used.\n" - }, - "type": { - "type": "string", - "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" - } - }, - "type": "object", - "required": [ - "type" - ] - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntent:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntent": { "properties": { "name": { @@ -103021,278 +100209,28 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot" - }, - "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot": { - "properties": { - "mapBlockKey": { - "type": "string", - "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" - }, - "shape": { - "type": "string", - "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" - }, - "value": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue", - "description": "Configuration block for the current value of the slot. See `value`.\n" - } - }, - "type": "object", - "required": [ - "mapBlockKey" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue": { - "properties": { - "interpretedValue": { - "type": "string", - "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse": { - "properties": { - "allowInterrupt": { - "type": "boolean", - "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" - }, - "messageGroups": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup" - }, - "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup": { - "properties": { - "message": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage", - "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" - }, - "variations": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation" - }, - "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" - } - }, - "type": "object", - "required": [ - "message" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingSlot:V2modelsIntentInitialResponseSettingSlot" }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] + "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" + } + }, + "type": "object" }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage": { + "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse": { "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" + "allowInterrupt": { + "type": "boolean", + "description": "Whether the user can interrupt a speech response from Amazon Lex.\n" + }, + "messageGroups": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingMessageGroup:V2modelsIntentInitialResponseSettingMessageGroup" + }, + "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, - "type": "object", - "required": [ - "value" - ] + "type": "object" }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranch:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranch": { "properties": { @@ -103374,7 +100312,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingValue:V2modelsIntentInitialResponseSettingValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -103383,15 +100321,6 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue": { - "properties": { - "interpretedValue": { - "type": "string", - "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" - } - }, - "type": "object" - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponse:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponse": { "properties": { "allowInterrupt": { @@ -103411,13 +100340,13 @@ "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingMessage:V2modelsIntentInitialResponseSettingMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingVariation:V2modelsIntentInitialResponseSettingVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -103427,208 +100356,6 @@ "message" ] }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStep:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureNextStep": { "properties": { "dialogAction": { @@ -103787,7 +100514,7 @@ "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingButton:V2modelsIntentInitialResponseSettingButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -103809,23 +100536,6 @@ "title" ] }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessagePlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { @@ -103857,11 +100567,11 @@ "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingImageResponseCard:V2modelsIntentInitialResponseSettingImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingPlainTextMessage:V2modelsIntentInitialResponseSettingPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { @@ -103883,62 +100593,6 @@ "value" ] }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { @@ -104016,7 +100670,7 @@ "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStep:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingDialogAction:V2modelsIntentInitialResponseSettingDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { @@ -104033,26 +100687,6 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction": { - "properties": { - "slotToElicit": { - "type": "string", - "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" - }, - "suppressNextMessage": { - "type": "boolean", - "description": "Whether the next message for the intent is _not_ used.\n" - }, - "type": { - "type": "string", - "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" - } - }, - "type": "object", - "required": [ - "type" - ] - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent": { "properties": { "name": { @@ -104062,42 +100696,13 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingSlot:V2modelsIntentInitialResponseSettingSlot" }, "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot": { - "properties": { - "mapBlockKey": { - "type": "string", - "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" - }, - "shape": { - "type": "string", - "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" - }, - "value": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue", - "description": "Configuration block for the current value of the slot. See `value`.\n" - } - }, - "type": "object", - "required": [ - "mapBlockKey" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue": { - "properties": { - "interpretedValue": { - "type": "string", - "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" - } - }, - "type": "object" - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse": { "properties": { "allowInterrupt": { @@ -104107,234 +100712,13 @@ "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingMessageGroup:V2modelsIntentInitialResponseSettingMessageGroup" }, "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup": { - "properties": { - "message": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage", - "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" - }, - "variations": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation" - }, - "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" - } - }, - "type": "object", - "required": [ - "message" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranch:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranch": { "properties": { "nextStep": { @@ -104415,7 +100799,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingValue:V2modelsIntentInitialResponseSettingValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -104424,15 +100808,6 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue": { - "properties": { - "interpretedValue": { - "type": "string", - "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" - } - }, - "type": "object" - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponse:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponse": { "properties": { "allowInterrupt": { @@ -104452,13 +100827,13 @@ "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingMessage:V2modelsIntentInitialResponseSettingMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingVariation:V2modelsIntentInitialResponseSettingVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -104468,208 +100843,6 @@ "message" ] }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStep:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessNextStep": { "properties": { "dialogAction": { @@ -104828,7 +101001,7 @@ "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingButton:V2modelsIntentInitialResponseSettingButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -104850,23 +101023,6 @@ "title" ] }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessagePlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { @@ -104898,11 +101054,11 @@ "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingImageResponseCard:V2modelsIntentInitialResponseSettingImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingPlainTextMessage:V2modelsIntentInitialResponseSettingPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { @@ -104924,62 +101080,6 @@ "value" ] }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { @@ -105057,7 +101157,7 @@ "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStep:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStep": { "properties": { "dialogAction": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction", + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingDialogAction:V2modelsIntentInitialResponseSettingDialogAction", "description": "Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.\n" }, "intent": { @@ -105074,26 +101174,6 @@ }, "type": "object" }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction": { - "properties": { - "slotToElicit": { - "type": "string", - "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" - }, - "suppressNextMessage": { - "type": "boolean", - "description": "Whether the next message for the intent is _not_ used.\n" - }, - "type": { - "type": "string", - "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" - } - }, - "type": "object", - "required": [ - "type" - ] - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent": { "properties": { "name": { @@ -105103,42 +101183,13 @@ "slots": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot" + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingSlot:V2modelsIntentInitialResponseSettingSlot" }, "description": "Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot": { - "properties": { - "mapBlockKey": { - "type": "string", - "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" - }, - "shape": { - "type": "string", - "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" - }, - "value": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue", - "description": "Configuration block for the current value of the slot. See `value`.\n" - } - }, - "type": "object", - "required": [ - "mapBlockKey" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue": { - "properties": { - "interpretedValue": { - "type": "string", - "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" - } - }, - "type": "object" - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse": { "properties": { "allowInterrupt": { @@ -105148,234 +101199,13 @@ "messageGroups": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup" + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingMessageGroup:V2modelsIntentInitialResponseSettingMessageGroup" }, "description": "Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`.\n" } }, "type": "object" }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup": { - "properties": { - "message": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage", - "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" - }, - "variations": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation" - }, - "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" - } - }, - "type": "object", - "required": [ - "message" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranch:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranch": { "properties": { "nextStep": { @@ -105456,7 +101286,7 @@ "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" }, "value": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue", + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingValue:V2modelsIntentInitialResponseSettingValue", "description": "Configuration block for the current value of the slot. See `value`.\n" } }, @@ -105465,15 +101295,6 @@ "mapBlockKey" ] }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue": { - "properties": { - "interpretedValue": { - "type": "string", - "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" - } - }, - "type": "object" - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponse:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponse": { "properties": { "allowInterrupt": { @@ -105493,13 +101314,13 @@ "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup": { "properties": { "message": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage", + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingMessage:V2modelsIntentInitialResponseSettingMessage", "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" }, "variations": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation" + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingVariation:V2modelsIntentInitialResponseSettingVariation" }, "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" } @@ -105509,208 +101330,6 @@ "message" ] }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation": { - "properties": { - "customPayload": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", - "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" - }, - "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", - "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" - }, - "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", - "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" - }, - "ssmlMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", - "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" - } - }, - "type": "object" - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload": { - "properties": { - "value": { - "type": "string", - "description": "String that is sent to your application.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage": { - "properties": { - "value": { - "type": "string", - "description": "SSML text that defines the prompt.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStep:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutNextStep": { "properties": { "dialogAction": { @@ -105869,7 +101488,7 @@ "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingButton:V2modelsIntentInitialResponseSettingButton" }, "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" }, @@ -105891,23 +101510,6 @@ "title" ] }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessagePlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { @@ -105939,11 +101541,11 @@ "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard", + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingImageResponseCard:V2modelsIntentInitialResponseSettingImageResponseCard", "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" }, "plainTextMessage": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage", + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingPlainTextMessage:V2modelsIntentInitialResponseSettingPlainTextMessage", "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" }, "ssmlMessage": { @@ -105965,62 +101567,6 @@ "value" ] }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton" - }, - "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" - }, - "imageUrl": { - "type": "string", - "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" - }, - "subtitle": { - "type": "string", - "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" - }, - "title": { - "type": "string", - "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string", - "description": "Text that appears on the button. Use this to tell the user what value is returned when they choose this button.\n" - }, - "value": { - "type": "string", - "description": "Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.\n" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, - "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage": { - "properties": { - "value": { - "type": "string", - "description": "Message to send to the user.\n" - } - }, - "type": "object", - "required": [ - "value" - ] - }, "aws:lex/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessage:V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessage": { "properties": { "value": { @@ -106752,6 +102298,65 @@ "value" ] }, + "aws:lex/V2modelsIntentInitialResponseSettingCustomPayload:V2modelsIntentInitialResponseSettingCustomPayload": { + "properties": { + "value": { + "type": "string", + "description": "String that is sent to your application.\n" + } + }, + "type": "object", + "required": [ + "value" + ] + }, + "aws:lex/V2modelsIntentInitialResponseSettingDialogAction:V2modelsIntentInitialResponseSettingDialogAction": { + "properties": { + "slotToElicit": { + "type": "string", + "description": "If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.\n" + }, + "suppressNextMessage": { + "type": "boolean", + "description": "Whether the next message for the intent is _not_ used.\n" + }, + "type": { + "type": "string", + "description": "Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.\n" + } + }, + "type": "object", + "required": [ + "type" + ] + }, + "aws:lex/V2modelsIntentInitialResponseSettingImageResponseCard:V2modelsIntentInitialResponseSettingImageResponseCard": { + "properties": { + "buttons": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingButton:V2modelsIntentInitialResponseSettingButton" + }, + "description": "Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`.\n" + }, + "imageUrl": { + "type": "string", + "description": "URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.\n" + }, + "subtitle": { + "type": "string", + "description": "Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.\n" + }, + "title": { + "type": "string", + "description": "Title to display on the response card. The format of the title is determined by the platform displaying the response card.\n" + } + }, + "type": "object", + "required": [ + "title" + ] + }, "aws:lex/V2modelsIntentInitialResponseSettingInitialResponse:V2modelsIntentInitialResponseSettingInitialResponse": { "properties": { "allowInterrupt": { @@ -106989,6 +102594,46 @@ "value" ] }, + "aws:lex/V2modelsIntentInitialResponseSettingMessage:V2modelsIntentInitialResponseSettingMessage": { + "properties": { + "customPayload": { + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCustomPayload:V2modelsIntentInitialResponseSettingCustomPayload", + "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" + }, + "imageResponseCard": { + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingImageResponseCard:V2modelsIntentInitialResponseSettingImageResponseCard", + "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" + }, + "plainTextMessage": { + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingPlainTextMessage:V2modelsIntentInitialResponseSettingPlainTextMessage", + "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" + }, + "ssmlMessage": { + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingSsmlMessage:V2modelsIntentInitialResponseSettingSsmlMessage", + "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentInitialResponseSettingMessageGroup:V2modelsIntentInitialResponseSettingMessageGroup": { + "properties": { + "message": { + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingMessage:V2modelsIntentInitialResponseSettingMessage", + "description": "Configuration block for the primary message that Amazon Lex should send to the user. See `message`.\n" + }, + "variations": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingVariation:V2modelsIntentInitialResponseSettingVariation" + }, + "description": "Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`.\n" + } + }, + "type": "object", + "required": [ + "message" + ] + }, "aws:lex/V2modelsIntentInitialResponseSettingNextStep:V2modelsIntentInitialResponseSettingNextStep": { "properties": { "dialogAction": { @@ -107074,6 +102719,80 @@ }, "type": "object" }, + "aws:lex/V2modelsIntentInitialResponseSettingPlainTextMessage:V2modelsIntentInitialResponseSettingPlainTextMessage": { + "properties": { + "value": { + "type": "string", + "description": "Message to send to the user.\n" + } + }, + "type": "object", + "required": [ + "value" + ] + }, + "aws:lex/V2modelsIntentInitialResponseSettingSlot:V2modelsIntentInitialResponseSettingSlot": { + "properties": { + "mapBlockKey": { + "type": "string", + "description": "Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`.\n" + }, + "shape": { + "type": "string", + "description": "When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value.\n" + }, + "value": { + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingValue:V2modelsIntentInitialResponseSettingValue", + "description": "Configuration block for the current value of the slot. See `value`.\n" + } + }, + "type": "object", + "required": [ + "mapBlockKey" + ] + }, + "aws:lex/V2modelsIntentInitialResponseSettingSsmlMessage:V2modelsIntentInitialResponseSettingSsmlMessage": { + "properties": { + "value": { + "type": "string", + "description": "SSML text that defines the prompt.\n" + } + }, + "type": "object", + "required": [ + "value" + ] + }, + "aws:lex/V2modelsIntentInitialResponseSettingValue:V2modelsIntentInitialResponseSettingValue": { + "properties": { + "interpretedValue": { + "type": "string", + "description": "Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.\n" + } + }, + "type": "object" + }, + "aws:lex/V2modelsIntentInitialResponseSettingVariation:V2modelsIntentInitialResponseSettingVariation": { + "properties": { + "customPayload": { + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingCustomPayload:V2modelsIntentInitialResponseSettingCustomPayload", + "description": "Configuration block for a message in a custom format defined by the client application. See `custom_payload`.\n" + }, + "imageResponseCard": { + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingImageResponseCard:V2modelsIntentInitialResponseSettingImageResponseCard", + "description": "Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`.\n" + }, + "plainTextMessage": { + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingPlainTextMessage:V2modelsIntentInitialResponseSettingPlainTextMessage", + "description": "Configuration block for a message in plain text format. See `plain_text_message`.\n" + }, + "ssmlMessage": { + "$ref": "#/types/aws:lex/V2modelsIntentInitialResponseSettingSsmlMessage:V2modelsIntentInitialResponseSettingSsmlMessage", + "description": "Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`.\n" + } + }, + "type": "object" + }, "aws:lex/V2modelsIntentInputContext:V2modelsIntentInputContext": { "properties": { "name": { @@ -107431,6 +103150,36 @@ "slotConstraint" ] }, + "aws:lex/V2modelsSlotValueElicitationSettingAudioSpecification:V2modelsSlotValueElicitationSettingAudioSpecification": { + "properties": { + "endTimeoutMs": { + "type": "integer" + }, + "maxLengthMs": { + "type": "integer" + } + }, + "type": "object", + "required": [ + "endTimeoutMs", + "maxLengthMs" + ] + }, + "aws:lex/V2modelsSlotValueElicitationSettingButton:V2modelsSlotValueElicitationSettingButton": { + "properties": { + "text": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "required": [ + "text", + "value" + ] + }, "aws:lex/V2modelsSlotValueElicitationSettingDefaultValueSpecification:V2modelsSlotValueElicitationSettingDefaultValueSpecification": { "properties": { "defaultValueLists": { @@ -107453,6 +103202,52 @@ "defaultValue" ] }, + "aws:lex/V2modelsSlotValueElicitationSettingDtmfSpecification:V2modelsSlotValueElicitationSettingDtmfSpecification": { + "properties": { + "deletionCharacter": { + "type": "string" + }, + "endCharacter": { + "type": "string" + }, + "endTimeoutMs": { + "type": "integer" + }, + "maxLength": { + "type": "integer" + } + }, + "type": "object", + "required": [ + "deletionCharacter", + "endCharacter", + "endTimeoutMs", + "maxLength" + ] + }, + "aws:lex/V2modelsSlotValueElicitationSettingImageResponseCard:V2modelsSlotValueElicitationSettingImageResponseCard": { + "properties": { + "buttons": { + "type": "array", + "items": { + "$ref": "#/types/aws:lex/V2modelsSlotValueElicitationSettingButton:V2modelsSlotValueElicitationSettingButton" + } + }, + "imageUrl": { + "type": "string" + }, + "subtitle": { + "type": "string" + }, + "title": { + "type": "string" + } + }, + "type": "object", + "required": [ + "title" + ] + }, "aws:lex/V2modelsSlotValueElicitationSettingPromptSpecification:V2modelsSlotValueElicitationSettingPromptSpecification": { "properties": { "allowInterrupt": { @@ -107723,10 +103518,10 @@ "aws:lex/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification:V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification": { "properties": { "audioSpecification": { - "$ref": "#/types/aws:lex/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification:V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification" + "$ref": "#/types/aws:lex/V2modelsSlotValueElicitationSettingAudioSpecification:V2modelsSlotValueElicitationSettingAudioSpecification" }, "dtmfSpecification": { - "$ref": "#/types/aws:lex/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification:V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification" + "$ref": "#/types/aws:lex/V2modelsSlotValueElicitationSettingDtmfSpecification:V2modelsSlotValueElicitationSettingDtmfSpecification" }, "startTimeoutMs": { "type": "integer" @@ -107737,44 +103532,6 @@ "startTimeoutMs" ] }, - "aws:lex/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification:V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification": { - "properties": { - "endTimeoutMs": { - "type": "integer" - }, - "maxLengthMs": { - "type": "integer" - } - }, - "type": "object", - "required": [ - "endTimeoutMs", - "maxLengthMs" - ] - }, - "aws:lex/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification:V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification": { - "properties": { - "deletionCharacter": { - "type": "string" - }, - "endCharacter": { - "type": "string" - }, - "endTimeoutMs": { - "type": "integer" - }, - "maxLength": { - "type": "integer" - } - }, - "type": "object", - "required": [ - "deletionCharacter", - "endCharacter", - "endTimeoutMs", - "maxLength" - ] - }, "aws:lex/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecification:V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationTextInputSpecification": { "properties": { "startTimeoutMs": { @@ -107901,7 +103658,7 @@ "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButton:V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsSlotValueElicitationSettingButton:V2modelsSlotValueElicitationSettingButton" } }, "imageUrl": { @@ -107919,21 +103676,6 @@ "title" ] }, - "aws:lex/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButton:V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, "aws:lex/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessagePlainTextMessage:V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { @@ -107992,7 +103734,7 @@ "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButton:V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsSlotValueElicitationSettingButton:V2modelsSlotValueElicitationSettingButton" } }, "imageUrl": { @@ -108010,21 +103752,6 @@ "title" ] }, - "aws:lex/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButton:V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, "aws:lex/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationPlainTextMessage:V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationPlainTextMessage": { "properties": { "value": { @@ -108124,7 +103851,7 @@ "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButton:V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsSlotValueElicitationSettingButton:V2modelsSlotValueElicitationSettingButton" } }, "imageUrl": { @@ -108142,21 +103869,6 @@ "title" ] }, - "aws:lex/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButton:V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButton": { - "properties": { - "text": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, "aws:lex/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessagePlainTextMessage:V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessagePlainTextMessage": { "properties": { "value": { @@ -108188,7 +103900,7 @@ } }, "imageResponseCard": { - "$ref": "#/types/aws:lex/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCard:V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCard" + "$ref": "#/types/aws:lex/V2modelsSlotValueElicitationSettingImageResponseCard:V2modelsSlotValueElicitationSettingImageResponseCard" }, "plainTextMessage": { "$ref": "#/types/aws:lex/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationPlainTextMessage:V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationPlainTextMessage" @@ -108210,44 +103922,6 @@ "value" ] }, - "aws:lex/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCard:V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCard": { - "properties": { - "buttons": { - "type": "array", - "items": { - "$ref": "#/types/aws:lex/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButton:V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButton" - } - }, - "imageUrl": { - "type": "string" - }, - "subtitle": { - "type": "string" - }, - "title": { - "type": "string" - } - }, - "type": "object", - "required": [ - "title" - ] - }, - "aws:lex/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButton:V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, "aws:lex/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationPlainTextMessage:V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationPlainTextMessage": { "properties": { "value": { @@ -108428,7 +104102,7 @@ "buttons": { "type": "array", "items": { - "$ref": "#/types/aws:lex/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButton:V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButton" + "$ref": "#/types/aws:lex/V2modelsSlotValueElicitationSettingButton:V2modelsSlotValueElicitationSettingButton" } }, "imageUrl": { @@ -108446,21 +104120,6 @@ "title" ] }, - "aws:lex/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButton:V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButton": { - "properties": { - "text": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object", - "required": [ - "text", - "value" - ] - }, "aws:lex/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationPlainTextMessage:V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationPlainTextMessage": { "properties": { "value": { @@ -111268,6 +106927,15 @@ "styleControl" ] }, + "aws:medialive/ChannelEncoderSettingsFrameCaptureS3Settings:ChannelEncoderSettingsFrameCaptureS3Settings": { + "properties": { + "cannedAcl": { + "type": "string", + "description": "Specify the canned ACL to apply to each S3 request.\n" + } + }, + "type": "object" + }, "aws:medialive/ChannelEncoderSettingsGlobalConfiguration:ChannelEncoderSettingsGlobalConfiguration": { "properties": { "initialAudioGain": { @@ -111579,7 +107247,7 @@ "aws:medialive/ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettings:ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettings": { "properties": { "frameCaptureS3Settings": { - "$ref": "#/types/aws:medialive/ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3Settings:ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3Settings" + "$ref": "#/types/aws:medialive/ChannelEncoderSettingsFrameCaptureS3Settings:ChannelEncoderSettingsFrameCaptureS3Settings" } }, "type": "object", @@ -111591,15 +107259,6 @@ } } }, - "aws:medialive/ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3Settings:ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3Settings": { - "properties": { - "cannedAcl": { - "type": "string", - "description": "Specify the canned ACL to apply to each S3 request.\n" - } - }, - "type": "object" - }, "aws:medialive/ChannelEncoderSettingsOutputGroupOutputGroupSettingsHlsGroupSettings:ChannelEncoderSettingsOutputGroupOutputGroupSettingsHlsGroupSettings": { "properties": { "adMarkers": { @@ -151191,6 +146850,20 @@ "value" ] }, + "aws:wafv2/RuleGroupRuleAll:RuleGroupRuleAll": { + "type": "object" + }, + "aws:wafv2/RuleGroupRuleAllQueryArguments:RuleGroupRuleAllQueryArguments": { + "type": "object" + }, + "aws:wafv2/RuleGroupRuleBody:RuleGroupRuleBody": { + "properties": { + "oversizeHandling": { + "type": "string" + } + }, + "type": "object" + }, "aws:wafv2/RuleGroupRuleCaptchaConfig:RuleGroupRuleCaptchaConfig": { "properties": { "immunityTimeProperty": { @@ -151209,6 +146882,202 @@ }, "type": "object" }, + "aws:wafv2/RuleGroupRuleCookies:RuleGroupRuleCookies": { + "properties": { + "matchPatterns": { + "type": "array", + "items": { + "$ref": "#/types/aws:wafv2/RuleGroupRuleMatchPattern:RuleGroupRuleMatchPattern" + }, + "description": "The filter to use to identify the subset of cookies to inspect in a web request. You must specify exactly one setting: either `all`, `included_cookies` or `excluded_cookies`. More details: [CookieMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_CookieMatchPattern.html)\n" + }, + "matchScope": { + "type": "string", + "description": "The parts of the cookies to inspect with the rule inspection criteria. If you specify All, AWS WAF inspects both keys and values. Valid values: `ALL`, `KEY`, `VALUE`\n" + }, + "oversizeHandling": { + "type": "string", + "description": "What AWS WAF should do if the cookies of the request are larger than AWS WAF can inspect. AWS WAF does not support inspecting the entire contents of request cookies when they exceed 8 KB (8192 bytes) or 200 total cookies. The underlying host service forwards a maximum of 200 cookies and at most 8 KB of cookie contents to AWS WAF. Valid values: `CONTINUE`, `MATCH`, `NO_MATCH`\n" + } + }, + "type": "object", + "required": [ + "matchPatterns", + "matchScope", + "oversizeHandling" + ] + }, + "aws:wafv2/RuleGroupRuleFieldToMatch:RuleGroupRuleFieldToMatch": { + "properties": { + "allQueryArguments": { + "$ref": "#/types/aws:wafv2/RuleGroupRuleAllQueryArguments:RuleGroupRuleAllQueryArguments", + "description": "Inspect all query arguments.\n" + }, + "body": { + "$ref": "#/types/aws:wafv2/RuleGroupRuleBody:RuleGroupRuleBody", + "description": "Inspect the request body, which immediately follows the request headers.\n" + }, + "cookies": { + "$ref": "#/types/aws:wafv2/RuleGroupRuleCookies:RuleGroupRuleCookies", + "description": "Inspect the cookies in the web request. See Cookies below for details.\n" + }, + "headerOrders": { + "type": "array", + "items": { + "$ref": "#/types/aws:wafv2/RuleGroupRuleHeaderOrder:RuleGroupRuleHeaderOrder" + }, + "description": "Inspect the request headers. See Header Order below for details.\n" + }, + "headers": { + "type": "array", + "items": { + "$ref": "#/types/aws:wafv2/RuleGroupRuleHeader:RuleGroupRuleHeader" + }, + "description": "Inspect the request headers. See Headers below for details.\n" + }, + "ja3Fingerprint": { + "$ref": "#/types/aws:wafv2/RuleGroupRuleJa3Fingerprint:RuleGroupRuleJa3Fingerprint" + }, + "jsonBody": { + "$ref": "#/types/aws:wafv2/RuleGroupRuleJsonBody:RuleGroupRuleJsonBody", + "description": "Inspect the request body as JSON. See JSON Body for details.\n" + }, + "method": { + "$ref": "#/types/aws:wafv2/RuleGroupRuleMethod:RuleGroupRuleMethod", + "description": "Inspect the HTTP method. The method indicates the type of operation that the request is asking the origin to perform.\n" + }, + "queryString": { + "$ref": "#/types/aws:wafv2/RuleGroupRuleQueryString:RuleGroupRuleQueryString", + "description": "Inspect the query string. This is the part of a URL that appears after a `?` character, if any.\n" + }, + "singleHeader": { + "$ref": "#/types/aws:wafv2/RuleGroupRuleSingleHeader:RuleGroupRuleSingleHeader", + "description": "Inspect a single header. See Single Header below for details.\n" + }, + "singleQueryArgument": { + "$ref": "#/types/aws:wafv2/RuleGroupRuleSingleQueryArgument:RuleGroupRuleSingleQueryArgument", + "description": "Inspect a single query argument. See Single Query Argument below for details.\n" + }, + "uriPath": { + "$ref": "#/types/aws:wafv2/RuleGroupRuleUriPath:RuleGroupRuleUriPath", + "description": "Inspect the request URI path. This is the part of a web request that identifies a resource, for example, `/images/daily-ad.jpg`.\n" + } + }, + "type": "object" + }, + "aws:wafv2/RuleGroupRuleHeader:RuleGroupRuleHeader": { + "properties": { + "matchPattern": { + "$ref": "#/types/aws:wafv2/RuleGroupRuleMatchPattern:RuleGroupRuleMatchPattern", + "description": "The filter to use to identify the subset of headers to inspect in a web request. The `match_pattern` block supports only one of the following arguments:\n" + }, + "matchScope": { + "type": "string", + "description": "The parts of the headers to inspect with the rule inspection criteria. If you specify `All`, AWS WAF inspects both keys and values. Valid values include the following: `ALL`, `Key`, `Value`.\n" + }, + "oversizeHandling": { + "type": "string", + "description": "Oversize handling tells AWS WAF what to do with a web request when the request component that the rule inspects is over the limits. Valid values include the following: `CONTINUE`, `MATCH`, `NO_MATCH`. See the AWS [documentation](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-oversize-handling.html) for more information.\n" + } + }, + "type": "object", + "required": [ + "matchPattern", + "matchScope", + "oversizeHandling" + ] + }, + "aws:wafv2/RuleGroupRuleHeaderOrder:RuleGroupRuleHeaderOrder": { + "properties": { + "oversizeHandling": { + "type": "string", + "description": "Oversize handling tells AWS WAF what to do with a web request when the request component that the rule inspects is over the limits. Valid values include the following: `CONTINUE`, `MATCH`, `NO_MATCH`. See the AWS [documentation](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-oversize-handling.html) for more information.\n" + } + }, + "type": "object", + "required": [ + "oversizeHandling" + ] + }, + "aws:wafv2/RuleGroupRuleIpSetForwardedIpConfig:RuleGroupRuleIpSetForwardedIpConfig": { + "properties": { + "fallbackBehavior": { + "type": "string", + "description": "The match status to assign to the web request if the request doesn't have a valid IP address in the specified position. Valid values include: `MATCH` or `NO_MATCH`.\n" + }, + "headerName": { + "type": "string", + "description": "The name of the HTTP header to use for the IP address.\n" + }, + "position": { + "type": "string", + "description": "The position in the header to search for the IP address. Valid values include: `FIRST`, `LAST`, or `ANY`. If `ANY` is specified and the header contains more than 10 IP addresses, AWS WAFv2 inspects the last 10.\n" + } + }, + "type": "object", + "required": [ + "fallbackBehavior", + "headerName", + "position" + ] + }, + "aws:wafv2/RuleGroupRuleJa3Fingerprint:RuleGroupRuleJa3Fingerprint": { + "properties": { + "fallbackBehavior": { + "type": "string" + } + }, + "type": "object", + "required": [ + "fallbackBehavior" + ] + }, + "aws:wafv2/RuleGroupRuleJsonBody:RuleGroupRuleJsonBody": { + "properties": { + "invalidFallbackBehavior": { + "type": "string", + "description": "What to do when JSON parsing fails. Defaults to evaluating up to the first parsing failure. Valid values are `EVALUATE_AS_STRING`, `MATCH` and `NO_MATCH`.\n" + }, + "matchPattern": { + "$ref": "#/types/aws:wafv2/RuleGroupRuleMatchPattern:RuleGroupRuleMatchPattern", + "description": "The patterns to look for in the JSON body. You must specify exactly one setting: either `all` or `included_paths`. See [JsonMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_JsonMatchPattern.html) for details.\n" + }, + "matchScope": { + "type": "string", + "description": "The parts of the JSON to match against using the `match_pattern`. Valid values are `ALL`, `KEY` and `VALUE`.\n" + }, + "oversizeHandling": { + "type": "string", + "description": "What to do if the body is larger than can be inspected. Valid values are `CONTINUE` (default), `MATCH` and `NO_MATCH`.\n" + } + }, + "type": "object", + "required": [ + "matchPattern", + "matchScope" + ] + }, + "aws:wafv2/RuleGroupRuleMatchPattern:RuleGroupRuleMatchPattern": { + "properties": { + "all": { + "$ref": "#/types/aws:wafv2/RuleGroupRuleAll:RuleGroupRuleAll", + "description": "An empty configuration block that is used for inspecting all headers.\n" + }, + "includedPaths": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + }, + "aws:wafv2/RuleGroupRuleMethod:RuleGroupRuleMethod": { + "type": "object" + }, + "aws:wafv2/RuleGroupRuleQueryString:RuleGroupRuleQueryString": { + "type": "object" + }, "aws:wafv2/RuleGroupRuleRuleLabel:RuleGroupRuleRuleLabel": { "properties": { "name": { @@ -151221,6 +147090,30 @@ "name" ] }, + "aws:wafv2/RuleGroupRuleSingleHeader:RuleGroupRuleSingleHeader": { + "properties": { + "name": { + "type": "string", + "description": "The name of the query header to inspect. This setting must be provided as lower case characters.\n" + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "aws:wafv2/RuleGroupRuleSingleQueryArgument:RuleGroupRuleSingleQueryArgument": { + "properties": { + "name": { + "type": "string", + "description": "The name of the query header to inspect. This setting must be provided as lower case characters.\n" + } + }, + "type": "object", + "required": [ + "name" + ] + }, "aws:wafv2/RuleGroupRuleStatement:RuleGroupRuleStatement": { "properties": { "andStatement": { @@ -152892,7 +148785,7 @@ "description": "Inspect a single header. See Single Header below for details.\n" }, "singleQueryArgument": { - "$ref": "#/types/aws:wafv2/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument:RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument", + "$ref": "#/types/aws:wafv2/RuleGroupRuleSingleQueryArgument:RuleGroupRuleSingleQueryArgument", "description": "Inspect a single query argument. See Single Query Argument below for details.\n" }, "uriPath": { @@ -152918,7 +148811,7 @@ "matchPatterns": { "type": "array", "items": { - "$ref": "#/types/aws:wafv2/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern:RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern" + "$ref": "#/types/aws:wafv2/RuleGroupRuleMatchPattern:RuleGroupRuleMatchPattern" }, "description": "The filter to use to identify the subset of cookies to inspect in a web request. You must specify exactly one setting: either `all`, `included_cookies` or `excluded_cookies`. More details: [CookieMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_CookieMatchPattern.html)\n" }, @@ -152938,34 +148831,10 @@ "oversizeHandling" ] }, - "aws:wafv2/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern:RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern": { - "properties": { - "all": { - "$ref": "#/types/aws:wafv2/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll:RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll", - "description": "An empty configuration block that is used for inspecting all headers.\n" - }, - "excludedCookies": { - "type": "array", - "items": { - "type": "string" - } - }, - "includedCookies": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object" - }, - "aws:wafv2/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll:RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll": { - "type": "object" - }, "aws:wafv2/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader:RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader": { "properties": { "matchPattern": { - "$ref": "#/types/aws:wafv2/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern:RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern", + "$ref": "#/types/aws:wafv2/RuleGroupRuleMatchPattern:RuleGroupRuleMatchPattern", "description": "The filter to use to identify the subset of headers to inspect in a web request. The `match_pattern` block supports only one of the following arguments:\n" }, "matchScope": { @@ -152984,32 +148853,6 @@ "oversizeHandling" ] }, - "aws:wafv2/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern:RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern": { - "properties": { - "all": { - "$ref": "#/types/aws:wafv2/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll:RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll", - "description": "An empty configuration block that is used for inspecting all headers.\n" - }, - "excludedHeaders": { - "type": "array", - "items": { - "type": "string" - }, - "description": "An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values.\n" - }, - "includedHeaders": { - "type": "array", - "items": { - "type": "string" - }, - "description": "An array of strings that will be used for inspecting headers that have a key that matches one of the provided values.\n" - } - }, - "type": "object" - }, - "aws:wafv2/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll:RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll": { - "type": "object" - }, "aws:wafv2/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderOrder:RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderOrder": { "properties": { "oversizeHandling": { @@ -153040,7 +148883,7 @@ "description": "What to do when JSON parsing fails. Defaults to evaluating up to the first parsing failure. Valid values are `EVALUATE_AS_STRING`, `MATCH` and `NO_MATCH`.\n" }, "matchPattern": { - "$ref": "#/types/aws:wafv2/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern:RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern", + "$ref": "#/types/aws:wafv2/RuleGroupRuleMatchPattern:RuleGroupRuleMatchPattern", "description": "The patterns to look for in the JSON body. You must specify exactly one setting: either `all` or `included_paths`. See [JsonMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_JsonMatchPattern.html) for details.\n" }, "matchScope": { @@ -153058,24 +148901,6 @@ "matchScope" ] }, - "aws:wafv2/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern:RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern": { - "properties": { - "all": { - "$ref": "#/types/aws:wafv2/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll:RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll", - "description": "An empty configuration block that is used for inspecting all headers.\n" - }, - "includedPaths": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object" - }, - "aws:wafv2/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll:RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll": { - "type": "object" - }, "aws:wafv2/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchMethod:RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchMethod": { "type": "object" }, @@ -153094,18 +148919,6 @@ "name" ] }, - "aws:wafv2/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument:RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument": { - "properties": { - "name": { - "type": "string", - "description": "The name of the query header to inspect. This setting must be provided as lower case characters.\n" - } - }, - "type": "object", - "required": [ - "name" - ] - }, "aws:wafv2/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriPath:RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriPath": { "type": "object" }, @@ -155572,6 +151385,26 @@ "type" ] }, + "aws:wafv2/RuleGroupRuleTextTransformation:RuleGroupRuleTextTransformation": { + "properties": { + "priority": { + "type": "integer", + "description": "The relative processing order for multiple transformations that are defined for a rule statement. AWS WAF processes all transformations, from lowest priority to highest, before inspecting the transformed content.\n" + }, + "type": { + "type": "string", + "description": "The transformation to apply, please refer to the Text Transformation [documentation](https://docs.aws.amazon.com/waf/latest/APIReference/API_TextTransformation.html) for more details.\n" + } + }, + "type": "object", + "required": [ + "priority", + "type" + ] + }, + "aws:wafv2/RuleGroupRuleUriPath:RuleGroupRuleUriPath": { + "type": "object" + }, "aws:wafv2/RuleGroupRuleVisibilityConfig:RuleGroupRuleVisibilityConfig": { "properties": { "cloudwatchMetricsEnabled": { @@ -156297,6 +152130,87 @@ "value" ] }, + "aws:wafv2/WebAclRuleAddressFields:WebAclRuleAddressFields": { + "properties": { + "identifiers": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "identifiers" + ] + }, + "aws:wafv2/WebAclRuleAll:WebAclRuleAll": { + "type": "object" + }, + "aws:wafv2/WebAclRuleAllQueryArguments:WebAclRuleAllQueryArguments": { + "type": "object" + }, + "aws:wafv2/WebAclRuleBody:WebAclRuleBody": { + "properties": { + "oversizeHandling": { + "type": "string", + "description": "What WAF should do if the body is larger than WAF can inspect. WAF does not support inspecting the entire contents of the body of a web request when the body exceeds 8 KB (8192 bytes). Only the first 8 KB of the request body are forwarded to WAF by the underlying host service. Valid values: `CONTINUE`, `MATCH`, `NO_MATCH`.\n" + } + }, + "type": "object" + }, + "aws:wafv2/WebAclRuleBodyContains:WebAclRuleBodyContains": { + "properties": { + "failureStrings": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Strings in the body of the response that indicate a failed login attempt.\n" + }, + "successStrings": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Strings in the body of the response that indicate a successful login attempt.\n" + } + }, + "type": "object", + "required": [ + "failureStrings", + "successStrings" + ] + }, + "aws:wafv2/WebAclRuleByteMatchStatement:WebAclRuleByteMatchStatement": { + "properties": { + "fieldToMatch": { + "$ref": "#/types/aws:wafv2/WebAclRuleFieldToMatch:WebAclRuleFieldToMatch", + "description": "Part of a web request that you want AWS WAF to inspect. See `field_to_match` below for details.\n" + }, + "positionalConstraint": { + "type": "string", + "description": "Area within the portion of a web request that you want AWS WAF to search for `search_string`. Valid values include the following: `EXACTLY`, `STARTS_WITH`, `ENDS_WITH`, `CONTAINS`, `CONTAINS_WORD`. See the AWS [documentation](https://docs.aws.amazon.com/waf/latest/APIReference/API_ByteMatchStatement.html) for more information.\n" + }, + "searchString": { + "type": "string", + "description": "String value that you want AWS WAF to search for. AWS WAF searches only in the part of web requests that you designate for inspection in `field_to_match`. The maximum length of the value is 50 bytes.\n" + }, + "textTransformations": { + "type": "array", + "items": { + "$ref": "#/types/aws:wafv2/WebAclRuleTextTransformation:WebAclRuleTextTransformation" + }, + "description": "Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. At least one transformation is required. See `text_transformation` below for details.\n" + } + }, + "type": "object", + "required": [ + "positionalConstraint", + "searchString", + "textTransformations" + ] + }, "aws:wafv2/WebAclRuleCaptchaConfig:WebAclRuleCaptchaConfig": { "properties": { "immunityTimeProperty": { @@ -156315,6 +152229,270 @@ }, "type": "object" }, + "aws:wafv2/WebAclRuleCookies:WebAclRuleCookies": { + "properties": { + "matchPatterns": { + "type": "array", + "items": { + "$ref": "#/types/aws:wafv2/WebAclRuleMatchPattern:WebAclRuleMatchPattern" + }, + "description": "The filter to use to identify the subset of cookies to inspect in a web request. You must specify exactly one setting: either `all`, `included_cookies` or `excluded_cookies`. More details: [CookieMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_CookieMatchPattern.html)\n" + }, + "matchScope": { + "type": "string", + "description": "The parts of the cookies to inspect with the rule inspection criteria. If you specify All, AWS WAF inspects both keys and values. Valid values: `ALL`, `KEY`, `VALUE`\n" + }, + "oversizeHandling": { + "type": "string", + "description": "What AWS WAF should do if the cookies of the request are larger than AWS WAF can inspect. AWS WAF does not support inspecting the entire contents of request cookies when they exceed 8 KB (8192 bytes) or 200 total cookies. The underlying host service forwards a maximum of 200 cookies and at most 8 KB of cookie contents to AWS WAF. Valid values: `CONTINUE`, `MATCH`, `NO_MATCH`.\n" + } + }, + "type": "object", + "required": [ + "matchPatterns", + "matchScope", + "oversizeHandling" + ] + }, + "aws:wafv2/WebAclRuleFieldToMatch:WebAclRuleFieldToMatch": { + "properties": { + "allQueryArguments": { + "$ref": "#/types/aws:wafv2/WebAclRuleAllQueryArguments:WebAclRuleAllQueryArguments", + "description": "Inspect all query arguments.\n" + }, + "body": { + "$ref": "#/types/aws:wafv2/WebAclRuleBody:WebAclRuleBody", + "description": "Inspect the request body, which immediately follows the request headers. See `body` below for details.\n" + }, + "cookies": { + "$ref": "#/types/aws:wafv2/WebAclRuleCookies:WebAclRuleCookies", + "description": "Inspect the cookies in the web request. See `cookies` below for details.\n" + }, + "headerOrders": { + "type": "array", + "items": { + "$ref": "#/types/aws:wafv2/WebAclRuleHeaderOrder:WebAclRuleHeaderOrder" + }, + "description": "Inspect a string containing the list of the request's header names, ordered as they appear in the web request that AWS WAF receives for inspection. See `header_order` below for details.\n" + }, + "headers": { + "type": "array", + "items": { + "$ref": "#/types/aws:wafv2/WebAclRuleHeader:WebAclRuleHeader" + }, + "description": "Inspect the request headers. See `headers` below for details.\n" + }, + "ja3Fingerprint": { + "$ref": "#/types/aws:wafv2/WebAclRuleJa3Fingerprint:WebAclRuleJa3Fingerprint", + "description": "Inspect the JA3 fingerprint. See `ja3_fingerprint` below for details.\n" + }, + "jsonBody": { + "$ref": "#/types/aws:wafv2/WebAclRuleJsonBody:WebAclRuleJsonBody", + "description": "Inspect the request body as JSON. See `json_body` for details.\n" + }, + "method": { + "$ref": "#/types/aws:wafv2/WebAclRuleMethod:WebAclRuleMethod", + "description": "Inspect the HTTP method. The method indicates the type of operation that the request is asking the origin to perform.\n" + }, + "queryString": { + "$ref": "#/types/aws:wafv2/WebAclRuleQueryString:WebAclRuleQueryString", + "description": "Inspect the query string. This is the part of a URL that appears after a `?` character, if any.\n" + }, + "singleHeader": { + "$ref": "#/types/aws:wafv2/WebAclRuleSingleHeader:WebAclRuleSingleHeader", + "description": "Inspect a single header. See `single_header` below for details.\n" + }, + "singleQueryArgument": { + "$ref": "#/types/aws:wafv2/WebAclRuleSingleQueryArgument:WebAclRuleSingleQueryArgument", + "description": "Inspect a single query argument. See `single_query_argument` below for details.\n" + }, + "uriPath": { + "$ref": "#/types/aws:wafv2/WebAclRuleUriPath:WebAclRuleUriPath", + "description": "Inspect the request URI path. This is the part of a web request that identifies a resource, for example, `/images/daily-ad.jpg`.\n" + } + }, + "type": "object" + }, + "aws:wafv2/WebAclRuleForwardedIpConfig:WebAclRuleForwardedIpConfig": { + "properties": { + "fallbackBehavior": { + "type": "string", + "description": "Match status to assign to the web request if the request doesn't have a valid IP address in the specified position. Valid values include: `MATCH` or `NO_MATCH`.\n" + }, + "headerName": { + "type": "string", + "description": "Name of the HTTP header to use for the IP address.\n" + } + }, + "type": "object", + "required": [ + "fallbackBehavior", + "headerName" + ] + }, + "aws:wafv2/WebAclRuleGeoMatchStatement:WebAclRuleGeoMatchStatement": { + "properties": { + "countryCodes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of two-character country codes, for example, [ \"US\", \"CN\" ], from the alpha-2 country ISO codes of the `ISO 3166` international standard. See the [documentation](https://docs.aws.amazon.com/waf/latest/APIReference/API_GeoMatchStatement.html) for valid values.\n" + }, + "forwardedIpConfig": { + "$ref": "#/types/aws:wafv2/WebAclRuleForwardedIpConfig:WebAclRuleForwardedIpConfig", + "description": "Configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. See `forwarded_ip_config` below for details.\n" + } + }, + "type": "object", + "required": [ + "countryCodes" + ] + }, + "aws:wafv2/WebAclRuleHeader:WebAclRuleHeader": { + "properties": { + "matchPattern": { + "$ref": "#/types/aws:wafv2/WebAclRuleMatchPattern:WebAclRuleMatchPattern", + "description": "The filter to use to identify the subset of headers to inspect in a web request. The `match_pattern` block supports only one of the following arguments:\n" + }, + "matchScope": { + "type": "string", + "description": "The parts of the headers to inspect with the rule inspection criteria. If you specify `All`, AWS WAF inspects both keys and values. Valid values include the following: `ALL`, `Key`, `Value`.\n" + }, + "oversizeHandling": { + "type": "string", + "description": "Oversize handling tells AWS WAF what to do with a web request when the request component that the rule inspects is over the limits. Valid values include the following: `CONTINUE`, `MATCH`, `NO_MATCH`. See the AWS [documentation](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-oversize-handling.html) for more information.\n" + } + }, + "type": "object", + "required": [ + "matchPattern", + "matchScope", + "oversizeHandling" + ] + }, + "aws:wafv2/WebAclRuleHeaderOrder:WebAclRuleHeaderOrder": { + "properties": { + "oversizeHandling": { + "type": "string", + "description": "Oversize handling tells AWS WAF what to do with a web request when the request component that the rule inspects is over the limits. Valid values include the following: `CONTINUE`, `MATCH`, `NO_MATCH`. See the AWS [documentation](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-oversize-handling.html) for more information.\n" + } + }, + "type": "object", + "required": [ + "oversizeHandling" + ] + }, + "aws:wafv2/WebAclRuleIpSetForwardedIpConfig:WebAclRuleIpSetForwardedIpConfig": { + "properties": { + "fallbackBehavior": { + "type": "string", + "description": "Match status to assign to the web request if the request doesn't have a valid IP address in the specified position. Valid values include: `MATCH` or `NO_MATCH`.\n" + }, + "headerName": { + "type": "string", + "description": "Name of the HTTP header to use for the IP address.\n" + }, + "position": { + "type": "string", + "description": "Position in the header to search for the IP address. Valid values include: `FIRST`, `LAST`, or `ANY`. If `ANY` is specified and the header contains more than 10 IP addresses, AWS WAFv2 inspects the last 10.\n" + } + }, + "type": "object", + "required": [ + "fallbackBehavior", + "headerName", + "position" + ] + }, + "aws:wafv2/WebAclRuleIpSetReferenceStatement:WebAclRuleIpSetReferenceStatement": { + "properties": { + "arn": { + "type": "string", + "description": "The Amazon Resource Name (ARN) of the IP Set that this statement references.\n" + }, + "ipSetForwardedIpConfig": { + "$ref": "#/types/aws:wafv2/WebAclRuleIpSetForwardedIpConfig:WebAclRuleIpSetForwardedIpConfig", + "description": "Configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. See `ip_set_forwarded_ip_config` below for more details.\n" + } + }, + "type": "object", + "required": [ + "arn" + ] + }, + "aws:wafv2/WebAclRuleJa3Fingerprint:WebAclRuleJa3Fingerprint": { + "properties": { + "fallbackBehavior": { + "type": "string", + "description": "The match status to assign to the web request if the request doesn't have a JA3 fingerprint. Valid values include: `MATCH` or `NO_MATCH`.\n" + } + }, + "type": "object", + "required": [ + "fallbackBehavior" + ] + }, + "aws:wafv2/WebAclRuleJsonBody:WebAclRuleJsonBody": { + "properties": { + "invalidFallbackBehavior": { + "type": "string", + "description": "What to do when JSON parsing fails. Defaults to evaluating up to the first parsing failure. Valid values are `EVALUATE_AS_STRING`, `MATCH` and `NO_MATCH`.\n" + }, + "matchPattern": { + "$ref": "#/types/aws:wafv2/WebAclRuleMatchPattern:WebAclRuleMatchPattern", + "description": "The patterns to look for in the JSON body. You must specify exactly one setting: either `all` or `included_paths`. See [JsonMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_JsonMatchPattern.html) for details.\n" + }, + "matchScope": { + "type": "string", + "description": "The parts of the JSON to match against using the `match_pattern`. Valid values are `ALL`, `KEY` and `VALUE`.\n" + }, + "oversizeHandling": { + "type": "string", + "description": "What to do if the body is larger than can be inspected. Valid values are `CONTINUE` (default), `MATCH` and `NO_MATCH`.\n" + } + }, + "type": "object", + "required": [ + "matchPattern", + "matchScope" + ] + }, + "aws:wafv2/WebAclRuleLabelMatchStatement:WebAclRuleLabelMatchStatement": { + "properties": { + "key": { + "type": "string", + "description": "String to match against.\n" + }, + "scope": { + "type": "string", + "description": "Specify whether you want to match using the label name or just the namespace. Valid values are `LABEL` or `NAMESPACE`.\n" + } + }, + "type": "object", + "required": [ + "key", + "scope" + ] + }, + "aws:wafv2/WebAclRuleMatchPattern:WebAclRuleMatchPattern": { + "properties": { + "all": { + "$ref": "#/types/aws:wafv2/WebAclRuleAll:WebAclRuleAll", + "description": "An empty configuration block that is used for inspecting all headers.\n" + }, + "includedPaths": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + }, + "aws:wafv2/WebAclRuleMethod:WebAclRuleMethod": { + "type": "object" + }, "aws:wafv2/WebAclRuleOverrideAction:WebAclRuleOverrideAction": { "properties": { "count": { @@ -156334,6 +152512,83 @@ "aws:wafv2/WebAclRuleOverrideActionNone:WebAclRuleOverrideActionNone": { "type": "object" }, + "aws:wafv2/WebAclRulePasswordField:WebAclRulePasswordField": { + "properties": { + "identifier": { + "type": "string", + "description": "The name of the password field.\n" + } + }, + "type": "object", + "required": [ + "identifier" + ] + }, + "aws:wafv2/WebAclRulePhoneNumberFields:WebAclRulePhoneNumberFields": { + "properties": { + "identifiers": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "identifiers" + ] + }, + "aws:wafv2/WebAclRuleQueryString:WebAclRuleQueryString": { + "type": "object" + }, + "aws:wafv2/WebAclRuleRegexMatchStatement:WebAclRuleRegexMatchStatement": { + "properties": { + "fieldToMatch": { + "$ref": "#/types/aws:wafv2/WebAclRuleFieldToMatch:WebAclRuleFieldToMatch", + "description": "The part of a web request that you want AWS WAF to inspect. See `field_to_match` below for details.\n" + }, + "regexString": { + "type": "string", + "description": "String representing the regular expression. Minimum of `1` and maximum of `512` characters.\n" + }, + "textTransformations": { + "type": "array", + "items": { + "$ref": "#/types/aws:wafv2/WebAclRuleTextTransformation:WebAclRuleTextTransformation" + }, + "description": "Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. At least one transformation is required. See `text_transformation` below for details.\n" + } + }, + "type": "object", + "required": [ + "regexString", + "textTransformations" + ] + }, + "aws:wafv2/WebAclRuleRegexPatternSetReferenceStatement:WebAclRuleRegexPatternSetReferenceStatement": { + "properties": { + "arn": { + "type": "string", + "description": "The Amazon Resource Name (ARN) of the Regex Pattern Set that this statement references.\n" + }, + "fieldToMatch": { + "$ref": "#/types/aws:wafv2/WebAclRuleFieldToMatch:WebAclRuleFieldToMatch", + "description": "Part of a web request that you want AWS WAF to inspect. See `field_to_match` below for details.\n" + }, + "textTransformations": { + "type": "array", + "items": { + "$ref": "#/types/aws:wafv2/WebAclRuleTextTransformation:WebAclRuleTextTransformation" + }, + "description": "Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. At least one transformation is required. See `text_transformation` below for details.\n" + } + }, + "type": "object", + "required": [ + "arn", + "textTransformations" + ] + }, "aws:wafv2/WebAclRuleRuleLabel:WebAclRuleRuleLabel": { "properties": { "name": { @@ -156346,6 +152601,82 @@ "name" ] }, + "aws:wafv2/WebAclRuleSingleHeader:WebAclRuleSingleHeader": { + "properties": { + "name": { + "type": "string", + "description": "Name of the query header to inspect. This setting must be provided as lower case characters.\n" + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "aws:wafv2/WebAclRuleSingleQueryArgument:WebAclRuleSingleQueryArgument": { + "properties": { + "name": { + "type": "string", + "description": "Name of the query header to inspect. This setting must be provided as lower case characters.\n" + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "aws:wafv2/WebAclRuleSizeConstraintStatement:WebAclRuleSizeConstraintStatement": { + "properties": { + "comparisonOperator": { + "type": "string", + "description": "Operator to use to compare the request part to the size setting. Valid values include: `EQ`, `NE`, `LE`, `LT`, `GE`, or `GT`.\n" + }, + "fieldToMatch": { + "$ref": "#/types/aws:wafv2/WebAclRuleFieldToMatch:WebAclRuleFieldToMatch", + "description": "Part of a web request that you want AWS WAF to inspect. See `field_to_match` below for details.\n" + }, + "size": { + "type": "integer", + "description": "Size, in bytes, to compare to the request part, after any transformations. Valid values are integers between 0 and 21474836480, inclusive.\n" + }, + "textTransformations": { + "type": "array", + "items": { + "$ref": "#/types/aws:wafv2/WebAclRuleTextTransformation:WebAclRuleTextTransformation" + }, + "description": "Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. At least one transformation is required. See `text_transformation` below for details.\n" + } + }, + "type": "object", + "required": [ + "comparisonOperator", + "size", + "textTransformations" + ] + }, + "aws:wafv2/WebAclRuleSqliMatchStatement:WebAclRuleSqliMatchStatement": { + "properties": { + "fieldToMatch": { + "$ref": "#/types/aws:wafv2/WebAclRuleFieldToMatch:WebAclRuleFieldToMatch", + "description": "Part of a web request that you want AWS WAF to inspect. See `field_to_match` below for details.\n" + }, + "sensitivityLevel": { + "type": "string", + "description": "Sensitivity that you want AWS WAF to use to inspect for SQL injection attacks. Valid values include: `LOW`, `HIGH`.\n" + }, + "textTransformations": { + "type": "array", + "items": { + "$ref": "#/types/aws:wafv2/WebAclRuleTextTransformation:WebAclRuleTextTransformation" + }, + "description": "Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. At least one transformation is required. See `text_transformation` below for details.\n" + } + }, + "type": "object", + "required": [ + "textTransformations" + ] + }, "aws:wafv2/WebAclRuleStatement:WebAclRuleStatement": { "properties": { "andStatement": { @@ -156946,7 +153277,7 @@ "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspection:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspection": { "properties": { "addressFields": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields", + "$ref": "#/types/aws:wafv2/WebAclRuleAddressFields:WebAclRuleAddressFields", "description": "The names of the fields in the request payload that contain your customer's primary physical address. See `address_fields` for more details.\n" }, "emailField": { @@ -156954,7 +153285,7 @@ "description": "The name of the field in the request payload that contains your customer's email. See `email_field` for more details.\n" }, "passwordField": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField", + "$ref": "#/types/aws:wafv2/WebAclRulePasswordField:WebAclRulePasswordField", "description": "Details about your login page password field. See `password_field` for more details.\n" }, "payloadType": { @@ -156962,11 +153293,11 @@ "description": "The payload type for your login endpoint, either JSON or form encoded.\n" }, "phoneNumberFields": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields", + "$ref": "#/types/aws:wafv2/WebAclRulePhoneNumberFields:WebAclRulePhoneNumberFields", "description": "The names of the fields in the request payload that contain your customer's primary phone number. See `phone_number_fields` for more details.\n" }, "usernameField": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField", + "$ref": "#/types/aws:wafv2/WebAclRuleUsernameField:WebAclRuleUsernameField", "description": "Details about your login page username field. See `username_field` for more details.\n" } }, @@ -156975,20 +153306,6 @@ "payloadType" ] }, - "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields": { - "properties": { - "identifiers": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object", - "required": [ - "identifiers" - ] - }, "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionEmailField:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionEmailField": { "properties": { "identifier": { @@ -157001,48 +153318,10 @@ "identifier" ] }, - "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField": { - "properties": { - "identifier": { - "type": "string", - "description": "The name of the password field.\n" - } - }, - "type": "object", - "required": [ - "identifier" - ] - }, - "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields": { - "properties": { - "identifiers": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object", - "required": [ - "identifiers" - ] - }, - "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField": { - "properties": { - "identifier": { - "type": "string", - "description": "The name of the username field.\n" - } - }, - "type": "object", - "required": [ - "identifier" - ] - }, "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspection:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspection": { "properties": { "bodyContains": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains", + "$ref": "#/types/aws:wafv2/WebAclRuleBodyContains:WebAclRuleBodyContains", "description": "Configures inspection of the response body. See `body_contains` for more details.\n" }, "header": { @@ -157060,29 +153339,6 @@ }, "type": "object" }, - "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains": { - "properties": { - "failureStrings": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Strings in the body of the response that indicate a failed login attempt.\n" - }, - "successStrings": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Strings in the body of the response that indicate a successful login attempt.\n" - } - }, - "type": "object", - "required": [ - "failureStrings", - "successStrings" - ] - }, "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionHeader:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionHeader": { "properties": { "failureValues": { @@ -157197,7 +153453,7 @@ "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspection:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspection": { "properties": { "passwordField": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField", + "$ref": "#/types/aws:wafv2/WebAclRulePasswordField:WebAclRulePasswordField", "description": "Details about your login page password field. See `password_field` for more details.\n" }, "payloadType": { @@ -157205,7 +153461,7 @@ "description": "The payload type for your login endpoint, either JSON or form encoded.\n" }, "usernameField": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField", + "$ref": "#/types/aws:wafv2/WebAclRuleUsernameField:WebAclRuleUsernameField", "description": "Details about your login page username field. See `username_field` for more details.\n" } }, @@ -157216,34 +153472,10 @@ "usernameField" ] }, - "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField": { - "properties": { - "identifier": { - "type": "string", - "description": "The name of the password field.\n" - } - }, - "type": "object", - "required": [ - "identifier" - ] - }, - "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField": { - "properties": { - "identifier": { - "type": "string", - "description": "The name of the username field.\n" - } - }, - "type": "object", - "required": [ - "identifier" - ] - }, "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspection:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspection": { "properties": { "bodyContains": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains", + "$ref": "#/types/aws:wafv2/WebAclRuleBodyContains:WebAclRuleBodyContains", "description": "Configures inspection of the response body. See `body_contains` for more details.\n" }, "header": { @@ -157261,29 +153493,6 @@ }, "type": "object" }, - "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains": { - "properties": { - "failureStrings": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Strings in the body of the response that indicate a failed login attempt.\n" - }, - "successStrings": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Strings in the body of the response that indicate a successful login attempt.\n" - } - }, - "type": "object", - "required": [ - "failureStrings", - "successStrings" - ] - }, "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionHeader:WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionHeader": { "properties": { "failureValues": { @@ -158494,7 +154703,7 @@ "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatch:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatch": { "properties": { "allQueryArguments": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments", + "$ref": "#/types/aws:wafv2/WebAclRuleAllQueryArguments:WebAclRuleAllQueryArguments", "description": "Inspect all query arguments.\n" }, "body": { @@ -158520,7 +154729,7 @@ "description": "Inspect the request headers. See `headers` below for details.\n" }, "ja3Fingerprint": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint", + "$ref": "#/types/aws:wafv2/WebAclRuleJa3Fingerprint:WebAclRuleJa3Fingerprint", "description": "Inspect the JA3 fingerprint. See `ja3_fingerprint` below for details.\n" }, "jsonBody": { @@ -158540,7 +154749,7 @@ "description": "Inspect a single header. See `single_header` below for details.\n" }, "singleQueryArgument": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument", + "$ref": "#/types/aws:wafv2/WebAclRuleSingleQueryArgument:WebAclRuleSingleQueryArgument", "description": "Inspect a single query argument. See `single_query_argument` below for details.\n" }, "uriPath": { @@ -158550,9 +154759,6 @@ }, "type": "object" }, - "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments": { - "type": "object" - }, "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchBody:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchBody": { "properties": { "oversizeHandling": { @@ -158567,7 +154773,7 @@ "matchPatterns": { "type": "array", "items": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern" + "$ref": "#/types/aws:wafv2/WebAclRuleMatchPattern:WebAclRuleMatchPattern" }, "description": "The filter to use to identify the subset of cookies to inspect in a web request. You must specify exactly one setting: either `all`, `included_cookies` or `excluded_cookies`. More details: [CookieMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_CookieMatchPattern.html)\n" }, @@ -158587,34 +154793,10 @@ "oversizeHandling" ] }, - "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern": { - "properties": { - "all": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll", - "description": "An empty configuration block that is used for inspecting all headers.\n" - }, - "excludedCookies": { - "type": "array", - "items": { - "type": "string" - } - }, - "includedCookies": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object" - }, - "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll": { - "type": "object" - }, "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader": { "properties": { "matchPattern": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern", + "$ref": "#/types/aws:wafv2/WebAclRuleMatchPattern:WebAclRuleMatchPattern", "description": "The filter to use to identify the subset of headers to inspect in a web request. The `match_pattern` block supports only one of the following arguments:\n" }, "matchScope": { @@ -158633,32 +154815,6 @@ "oversizeHandling" ] }, - "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern": { - "properties": { - "all": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll", - "description": "An empty configuration block that is used for inspecting all headers.\n" - }, - "excludedHeaders": { - "type": "array", - "items": { - "type": "string" - }, - "description": "An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values.\n" - }, - "includedHeaders": { - "type": "array", - "items": { - "type": "string" - }, - "description": "An array of strings that will be used for inspecting headers that have a key that matches one of the provided values.\n" - } - }, - "type": "object" - }, - "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll": { - "type": "object" - }, "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderOrder:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderOrder": { "properties": { "oversizeHandling": { @@ -158671,18 +154827,6 @@ "oversizeHandling" ] }, - "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint": { - "properties": { - "fallbackBehavior": { - "type": "string", - "description": "The match status to assign to the web request if the request doesn't have a JA3 fingerprint. Valid values include: `MATCH` or `NO_MATCH`.\n" - } - }, - "type": "object", - "required": [ - "fallbackBehavior" - ] - }, "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody": { "properties": { "invalidFallbackBehavior": { @@ -158690,7 +154834,7 @@ "description": "What to do when JSON parsing fails. Defaults to evaluating up to the first parsing failure. Valid values are `EVALUATE_AS_STRING`, `MATCH` and `NO_MATCH`.\n" }, "matchPattern": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern", + "$ref": "#/types/aws:wafv2/WebAclRuleMatchPattern:WebAclRuleMatchPattern", "description": "The patterns to look for in the JSON body. You must specify exactly one setting: either `all` or `included_paths`. See [JsonMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_JsonMatchPattern.html) for details.\n" }, "matchScope": { @@ -158708,24 +154852,6 @@ "matchScope" ] }, - "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern": { - "properties": { - "all": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll", - "description": "An empty configuration block that is used for inspecting all headers.\n" - }, - "includedPaths": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object" - }, - "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll": { - "type": "object" - }, "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchMethod:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchMethod": { "type": "object" }, @@ -158744,18 +154870,6 @@ "name" ] }, - "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument": { - "properties": { - "name": { - "type": "string", - "description": "Name of the query header to inspect. This setting must be provided as lower case characters.\n" - } - }, - "type": "object", - "required": [ - "name" - ] - }, "aws:wafv2/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriPath:WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriPath": { "type": "object" }, @@ -160956,7 +157070,7 @@ "aws:wafv2/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern:WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern": { "properties": { "all": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll:WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll", + "$ref": "#/types/aws:wafv2/WebAclRuleAll:WebAclRuleAll", "description": "An empty configuration block that is used for inspecting all headers.\n" }, "excludedCookies": { @@ -160974,9 +157088,6 @@ }, "type": "object" }, - "aws:wafv2/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll:WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll": { - "type": "object" - }, "aws:wafv2/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader:WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader": { "properties": { "matchPattern": { @@ -161002,7 +157113,7 @@ "aws:wafv2/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern:WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern": { "properties": { "all": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll:WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll", + "$ref": "#/types/aws:wafv2/WebAclRuleAll:WebAclRuleAll", "description": "An empty configuration block that is used for inspecting all headers.\n" }, "excludedHeaders": { @@ -161022,9 +157133,6 @@ }, "type": "object" }, - "aws:wafv2/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll:WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll": { - "type": "object" - }, "aws:wafv2/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderOrder:WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderOrder": { "properties": { "oversizeHandling": { @@ -161077,7 +157185,7 @@ "aws:wafv2/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern:WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern": { "properties": { "all": { - "$ref": "#/types/aws:wafv2/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll:WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll", + "$ref": "#/types/aws:wafv2/WebAclRuleAll:WebAclRuleAll", "description": "An empty configuration block that is used for inspecting all headers.\n" }, "includedPaths": { @@ -161089,9 +157197,6 @@ }, "type": "object" }, - "aws:wafv2/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll:WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll": { - "type": "object" - }, "aws:wafv2/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchMethod:WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchMethod": { "type": "object" }, @@ -163883,6 +159988,38 @@ "type" ] }, + "aws:wafv2/WebAclRuleTextTransformation:WebAclRuleTextTransformation": { + "properties": { + "priority": { + "type": "integer", + "description": "Relative processing order for multiple transformations that are defined for a rule statement. AWS WAF processes all transformations, from lowest priority to highest, before inspecting the transformed content.\n" + }, + "type": { + "type": "string", + "description": "Transformation to apply, please refer to the Text Transformation [documentation](https://docs.aws.amazon.com/waf/latest/APIReference/API_TextTransformation.html) for more details.\n" + } + }, + "type": "object", + "required": [ + "priority", + "type" + ] + }, + "aws:wafv2/WebAclRuleUriPath:WebAclRuleUriPath": { + "type": "object" + }, + "aws:wafv2/WebAclRuleUsernameField:WebAclRuleUsernameField": { + "properties": { + "identifier": { + "type": "string", + "description": "The name of the username field.\n" + } + }, + "type": "object", + "required": [ + "identifier" + ] + }, "aws:wafv2/WebAclRuleVisibilityConfig:WebAclRuleVisibilityConfig": { "properties": { "cloudwatchMetricsEnabled": { @@ -163905,6 +160042,25 @@ "sampledRequestsEnabled" ] }, + "aws:wafv2/WebAclRuleXssMatchStatement:WebAclRuleXssMatchStatement": { + "properties": { + "fieldToMatch": { + "$ref": "#/types/aws:wafv2/WebAclRuleFieldToMatch:WebAclRuleFieldToMatch", + "description": "Part of a web request that you want AWS WAF to inspect. See `field_to_match` below for details.\n" + }, + "textTransformations": { + "type": "array", + "items": { + "$ref": "#/types/aws:wafv2/WebAclRuleTextTransformation:WebAclRuleTextTransformation" + }, + "description": "Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. At least one transformation is required. See `text_transformation` below for details.\n" + } + }, + "type": "object", + "required": [ + "textTransformations" + ] + }, "aws:wafv2/WebAclVisibilityConfig:WebAclVisibilityConfig": { "properties": { "cloudwatchMetricsEnabled": { @@ -183654,7 +179810,7 @@ } }, "aws:autoscaling/policy:Policy": { - "description": "Provides an AutoScaling Scaling Policy resource.\n\n\u003e **NOTE:** You may want to omit `desired_capacity` attribute from attached `aws.autoscaling.Group`\nwhen using autoscaling policies. It's good practice to pick either\n[manual](https://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-manual-scaling.html)\nor [dynamic](https://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-scale-based-on-demand.html)\n(policy-based) scaling.\n\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst bar = new aws.autoscaling.Group(\"bar\", {\n availabilityZones: [\"us-east-1a\"],\n name: \"foobar3-test\",\n maxSize: 5,\n minSize: 2,\n healthCheckGracePeriod: 300,\n healthCheckType: \"ELB\",\n forceDelete: true,\n launchConfiguration: foo.name,\n});\nconst bat = new aws.autoscaling.Policy(\"bat\", {\n name: \"foobar3-test\",\n scalingAdjustment: 4,\n adjustmentType: \"ChangeInCapacity\",\n cooldown: 300,\n autoscalingGroupName: bar.name,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nbar = aws.autoscaling.Group(\"bar\",\n availability_zones=[\"us-east-1a\"],\n name=\"foobar3-test\",\n max_size=5,\n min_size=2,\n health_check_grace_period=300,\n health_check_type=\"ELB\",\n force_delete=True,\n launch_configuration=foo[\"name\"])\nbat = aws.autoscaling.Policy(\"bat\",\n name=\"foobar3-test\",\n scaling_adjustment=4,\n adjustment_type=\"ChangeInCapacity\",\n cooldown=300,\n autoscaling_group_name=bar.name)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var bar = new Aws.AutoScaling.Group(\"bar\", new()\n {\n AvailabilityZones = new[]\n {\n \"us-east-1a\",\n },\n Name = \"foobar3-test\",\n MaxSize = 5,\n MinSize = 2,\n HealthCheckGracePeriod = 300,\n HealthCheckType = \"ELB\",\n ForceDelete = true,\n LaunchConfiguration = foo.Name,\n });\n\n var bat = new Aws.AutoScaling.Policy(\"bat\", new()\n {\n Name = \"foobar3-test\",\n ScalingAdjustment = 4,\n AdjustmentType = \"ChangeInCapacity\",\n Cooldown = 300,\n AutoscalingGroupName = bar.Name,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tbar, err := autoscaling.NewGroup(ctx, \"bar\", \u0026autoscaling.GroupArgs{\n\t\t\tAvailabilityZones: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"us-east-1a\"),\n\t\t\t},\n\t\t\tName: pulumi.String(\"foobar3-test\"),\n\t\t\tMaxSize: pulumi.Int(5),\n\t\t\tMinSize: pulumi.Int(2),\n\t\t\tHealthCheckGracePeriod: pulumi.Int(300),\n\t\t\tHealthCheckType: pulumi.String(\"ELB\"),\n\t\t\tForceDelete: pulumi.Bool(true),\n\t\t\tLaunchConfiguration: pulumi.Any(foo.Name),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = autoscaling.NewPolicy(ctx, \"bat\", \u0026autoscaling.PolicyArgs{\n\t\t\tName: pulumi.String(\"foobar3-test\"),\n\t\t\tScalingAdjustment: pulumi.Int(4),\n\t\t\tAdjustmentType: pulumi.String(\"ChangeInCapacity\"),\n\t\t\tCooldown: pulumi.Int(300),\n\t\t\tAutoscalingGroupName: bar.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.autoscaling.Group;\nimport com.pulumi.aws.autoscaling.GroupArgs;\nimport com.pulumi.aws.autoscaling.Policy;\nimport com.pulumi.aws.autoscaling.PolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var bar = new Group(\"bar\", GroupArgs.builder()\n .availabilityZones(\"us-east-1a\")\n .name(\"foobar3-test\")\n .maxSize(5)\n .minSize(2)\n .healthCheckGracePeriod(300)\n .healthCheckType(\"ELB\")\n .forceDelete(true)\n .launchConfiguration(foo.name())\n .build());\n\n var bat = new Policy(\"bat\", PolicyArgs.builder()\n .name(\"foobar3-test\")\n .scalingAdjustment(4)\n .adjustmentType(\"ChangeInCapacity\")\n .cooldown(300)\n .autoscalingGroupName(bar.name())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n bat:\n type: aws:autoscaling:Policy\n properties:\n name: foobar3-test\n scalingAdjustment: 4\n adjustmentType: ChangeInCapacity\n cooldown: 300\n autoscalingGroupName: ${bar.name}\n bar:\n type: aws:autoscaling:Group\n properties:\n availabilityZones:\n - us-east-1a\n name: foobar3-test\n maxSize: 5\n minSize: 2\n healthCheckGracePeriod: 300\n healthCheckType: ELB\n forceDelete: true\n launchConfiguration: ${foo.name}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create target tracking scaling policy using metric math\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.autoscaling.Policy(\"example\", {\n autoscalingGroupName: \"my-test-asg\",\n name: \"foo\",\n policyType: \"TargetTrackingScaling\",\n targetTrackingConfiguration: {\n targetValue: 100,\n customizedMetricSpecification: {\n metrics: [\n {\n label: \"Get the queue size (the number of messages waiting to be processed)\",\n id: \"m1\",\n metricStat: {\n metric: {\n namespace: \"AWS/SQS\",\n metricName: \"ApproximateNumberOfMessagesVisible\",\n dimensions: [{\n name: \"QueueName\",\n value: \"my-queue\",\n }],\n },\n stat: \"Sum\",\n },\n returnData: false,\n },\n {\n label: \"Get the group size (the number of InService instances)\",\n id: \"m2\",\n metricStat: {\n metric: {\n namespace: \"AWS/AutoScaling\",\n metricName: \"GroupInServiceInstances\",\n dimensions: [{\n name: \"AutoScalingGroupName\",\n value: \"my-asg\",\n }],\n },\n stat: \"Average\",\n },\n returnData: false,\n },\n {\n label: \"Calculate the backlog per instance\",\n id: \"e1\",\n expression: \"m1 / m2\",\n returnData: true,\n },\n ],\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.autoscaling.Policy(\"example\",\n autoscaling_group_name=\"my-test-asg\",\n name=\"foo\",\n policy_type=\"TargetTrackingScaling\",\n target_tracking_configuration={\n \"target_value\": 100,\n \"customized_metric_specification\": {\n \"metrics\": [\n {\n \"label\": \"Get the queue size (the number of messages waiting to be processed)\",\n \"id\": \"m1\",\n \"metric_stat\": {\n \"metric\": {\n \"namespace\": \"AWS/SQS\",\n \"metric_name\": \"ApproximateNumberOfMessagesVisible\",\n \"dimensions\": [{\n \"name\": \"QueueName\",\n \"value\": \"my-queue\",\n }],\n },\n \"stat\": \"Sum\",\n },\n \"return_data\": False,\n },\n {\n \"label\": \"Get the group size (the number of InService instances)\",\n \"id\": \"m2\",\n \"metric_stat\": {\n \"metric\": {\n \"namespace\": \"AWS/AutoScaling\",\n \"metric_name\": \"GroupInServiceInstances\",\n \"dimensions\": [{\n \"name\": \"AutoScalingGroupName\",\n \"value\": \"my-asg\",\n }],\n },\n \"stat\": \"Average\",\n },\n \"return_data\": False,\n },\n {\n \"label\": \"Calculate the backlog per instance\",\n \"id\": \"e1\",\n \"expression\": \"m1 / m2\",\n \"return_data\": True,\n },\n ],\n },\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.AutoScaling.Policy(\"example\", new()\n {\n AutoscalingGroupName = \"my-test-asg\",\n Name = \"foo\",\n PolicyType = \"TargetTrackingScaling\",\n TargetTrackingConfiguration = new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationArgs\n {\n TargetValue = 100,\n CustomizedMetricSpecification = new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs\n {\n Metrics = new[]\n {\n new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs\n {\n Label = \"Get the queue size (the number of messages waiting to be processed)\",\n Id = \"m1\",\n MetricStat = new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatArgs\n {\n Metric = new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs\n {\n Namespace = \"AWS/SQS\",\n MetricName = \"ApproximateNumberOfMessagesVisible\",\n Dimensions = new[]\n {\n new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs\n {\n Name = \"QueueName\",\n Value = \"my-queue\",\n },\n },\n },\n Stat = \"Sum\",\n },\n ReturnData = false,\n },\n new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs\n {\n Label = \"Get the group size (the number of InService instances)\",\n Id = \"m2\",\n MetricStat = new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatArgs\n {\n Metric = new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs\n {\n Namespace = \"AWS/AutoScaling\",\n MetricName = \"GroupInServiceInstances\",\n Dimensions = new[]\n {\n new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs\n {\n Name = \"AutoScalingGroupName\",\n Value = \"my-asg\",\n },\n },\n },\n Stat = \"Average\",\n },\n ReturnData = false,\n },\n new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs\n {\n Label = \"Calculate the backlog per instance\",\n Id = \"e1\",\n Expression = \"m1 / m2\",\n ReturnData = true,\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := autoscaling.NewPolicy(ctx, \"example\", \u0026autoscaling.PolicyArgs{\n\t\t\tAutoscalingGroupName: pulumi.String(\"my-test-asg\"),\n\t\t\tName: pulumi.String(\"foo\"),\n\t\t\tPolicyType: pulumi.String(\"TargetTrackingScaling\"),\n\t\t\tTargetTrackingConfiguration: \u0026autoscaling.PolicyTargetTrackingConfigurationArgs{\n\t\t\t\tTargetValue: pulumi.Float64(100),\n\t\t\t\tCustomizedMetricSpecification: \u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs{\n\t\t\t\t\tMetrics: autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArray{\n\t\t\t\t\t\t\u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs{\n\t\t\t\t\t\t\tLabel: pulumi.String(\"Get the queue size (the number of messages waiting to be processed)\"),\n\t\t\t\t\t\t\tId: pulumi.String(\"m1\"),\n\t\t\t\t\t\t\tMetricStat: \u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatArgs{\n\t\t\t\t\t\t\t\tMetric: \u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs{\n\t\t\t\t\t\t\t\t\tNamespace: pulumi.String(\"AWS/SQS\"),\n\t\t\t\t\t\t\t\t\tMetricName: pulumi.String(\"ApproximateNumberOfMessagesVisible\"),\n\t\t\t\t\t\t\t\t\tDimensions: autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray{\n\t\t\t\t\t\t\t\t\t\t\u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs{\n\t\t\t\t\t\t\t\t\t\t\tName: pulumi.String(\"QueueName\"),\n\t\t\t\t\t\t\t\t\t\t\tValue: pulumi.String(\"my-queue\"),\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tStat: pulumi.String(\"Sum\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tReturnData: pulumi.Bool(false),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs{\n\t\t\t\t\t\t\tLabel: pulumi.String(\"Get the group size (the number of InService instances)\"),\n\t\t\t\t\t\t\tId: pulumi.String(\"m2\"),\n\t\t\t\t\t\t\tMetricStat: \u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatArgs{\n\t\t\t\t\t\t\t\tMetric: \u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs{\n\t\t\t\t\t\t\t\t\tNamespace: pulumi.String(\"AWS/AutoScaling\"),\n\t\t\t\t\t\t\t\t\tMetricName: pulumi.String(\"GroupInServiceInstances\"),\n\t\t\t\t\t\t\t\t\tDimensions: autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray{\n\t\t\t\t\t\t\t\t\t\t\u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs{\n\t\t\t\t\t\t\t\t\t\t\tName: pulumi.String(\"AutoScalingGroupName\"),\n\t\t\t\t\t\t\t\t\t\t\tValue: pulumi.String(\"my-asg\"),\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tStat: pulumi.String(\"Average\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tReturnData: pulumi.Bool(false),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs{\n\t\t\t\t\t\t\tLabel: pulumi.String(\"Calculate the backlog per instance\"),\n\t\t\t\t\t\t\tId: pulumi.String(\"e1\"),\n\t\t\t\t\t\t\tExpression: pulumi.String(\"m1 / m2\"),\n\t\t\t\t\t\t\tReturnData: pulumi.Bool(true),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.autoscaling.Policy;\nimport com.pulumi.aws.autoscaling.PolicyArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyTargetTrackingConfigurationArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Policy(\"example\", PolicyArgs.builder()\n .autoscalingGroupName(\"my-test-asg\")\n .name(\"foo\")\n .policyType(\"TargetTrackingScaling\")\n .targetTrackingConfiguration(PolicyTargetTrackingConfigurationArgs.builder()\n .targetValue(100)\n .customizedMetricSpecification(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs.builder()\n .metrics( \n PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs.builder()\n .label(\"Get the queue size (the number of messages waiting to be processed)\")\n .id(\"m1\")\n .metricStat(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatArgs.builder()\n .metric(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs.builder()\n .namespace(\"AWS/SQS\")\n .metricName(\"ApproximateNumberOfMessagesVisible\")\n .dimensions(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs.builder()\n .name(\"QueueName\")\n .value(\"my-queue\")\n .build())\n .build())\n .stat(\"Sum\")\n .build())\n .returnData(false)\n .build(),\n PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs.builder()\n .label(\"Get the group size (the number of InService instances)\")\n .id(\"m2\")\n .metricStat(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatArgs.builder()\n .metric(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs.builder()\n .namespace(\"AWS/AutoScaling\")\n .metricName(\"GroupInServiceInstances\")\n .dimensions(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs.builder()\n .name(\"AutoScalingGroupName\")\n .value(\"my-asg\")\n .build())\n .build())\n .stat(\"Average\")\n .build())\n .returnData(false)\n .build(),\n PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs.builder()\n .label(\"Calculate the backlog per instance\")\n .id(\"e1\")\n .expression(\"m1 / m2\")\n .returnData(true)\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:autoscaling:Policy\n properties:\n autoscalingGroupName: my-test-asg\n name: foo\n policyType: TargetTrackingScaling\n targetTrackingConfiguration:\n targetValue: 100\n customizedMetricSpecification:\n metrics:\n - label: Get the queue size (the number of messages waiting to be processed)\n id: m1\n metricStat:\n metric:\n namespace: AWS/SQS\n metricName: ApproximateNumberOfMessagesVisible\n dimensions:\n - name: QueueName\n value: my-queue\n stat: Sum\n returnData: false\n - label: Get the group size (the number of InService instances)\n id: m2\n metricStat:\n metric:\n namespace: AWS/AutoScaling\n metricName: GroupInServiceInstances\n dimensions:\n - name: AutoScalingGroupName\n value: my-asg\n stat: Average\n returnData: false\n - label: Calculate the backlog per instance\n id: e1\n expression: m1 / m2\n returnData: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create predictive scaling policy using customized metrics\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.autoscaling.Policy(\"example\", {\n autoscalingGroupName: \"my-test-asg\",\n name: \"foo\",\n policyType: \"PredictiveScaling\",\n predictiveScalingConfiguration: {\n metricSpecification: {\n targetValue: 10,\n customizedLoadMetricSpecification: {\n metricDataQueries: [{\n id: \"load_sum\",\n expression: \"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 3600))\",\n }],\n },\n customizedCapacityMetricSpecification: {\n metricDataQueries: [{\n id: \"capacity_sum\",\n expression: \"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\",\n }],\n },\n customizedScalingMetricSpecification: {\n metricDataQueries: [\n {\n id: \"capacity_sum\",\n expression: \"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\",\n returnData: false,\n },\n {\n id: \"load_sum\",\n expression: \"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 300))\",\n returnData: false,\n },\n {\n id: \"weighted_average\",\n expression: \"load_sum / (capacity_sum * PERIOD(capacity_sum) / 60)\",\n },\n ],\n },\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.autoscaling.Policy(\"example\",\n autoscaling_group_name=\"my-test-asg\",\n name=\"foo\",\n policy_type=\"PredictiveScaling\",\n predictive_scaling_configuration={\n \"metric_specification\": {\n \"target_value\": 10,\n \"customized_load_metric_specification\": {\n \"metric_data_queries\": [{\n \"id\": \"load_sum\",\n \"expression\": \"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 3600))\",\n }],\n },\n \"customized_capacity_metric_specification\": {\n \"metric_data_queries\": [{\n \"id\": \"capacity_sum\",\n \"expression\": \"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\",\n }],\n },\n \"customized_scaling_metric_specification\": {\n \"metric_data_queries\": [\n {\n \"id\": \"capacity_sum\",\n \"expression\": \"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\",\n \"return_data\": False,\n },\n {\n \"id\": \"load_sum\",\n \"expression\": \"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 300))\",\n \"return_data\": False,\n },\n {\n \"id\": \"weighted_average\",\n \"expression\": \"load_sum / (capacity_sum * PERIOD(capacity_sum) / 60)\",\n },\n ],\n },\n },\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.AutoScaling.Policy(\"example\", new()\n {\n AutoscalingGroupName = \"my-test-asg\",\n Name = \"foo\",\n PolicyType = \"PredictiveScaling\",\n PredictiveScalingConfiguration = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationArgs\n {\n MetricSpecification = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationArgs\n {\n TargetValue = 10,\n CustomizedLoadMetricSpecification = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationArgs\n {\n MetricDataQueries = new[]\n {\n new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryArgs\n {\n Id = \"load_sum\",\n Expression = \"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 3600))\",\n },\n },\n },\n CustomizedCapacityMetricSpecification = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs\n {\n MetricDataQueries = new[]\n {\n new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArgs\n {\n Id = \"capacity_sum\",\n Expression = \"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\",\n },\n },\n },\n CustomizedScalingMetricSpecification = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs\n {\n MetricDataQueries = new[]\n {\n new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs\n {\n Id = \"capacity_sum\",\n Expression = \"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\",\n ReturnData = false,\n },\n new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs\n {\n Id = \"load_sum\",\n Expression = \"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 300))\",\n ReturnData = false,\n },\n new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs\n {\n Id = \"weighted_average\",\n Expression = \"load_sum / (capacity_sum * PERIOD(capacity_sum) / 60)\",\n },\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := autoscaling.NewPolicy(ctx, \"example\", \u0026autoscaling.PolicyArgs{\n\t\t\tAutoscalingGroupName: pulumi.String(\"my-test-asg\"),\n\t\t\tName: pulumi.String(\"foo\"),\n\t\t\tPolicyType: pulumi.String(\"PredictiveScaling\"),\n\t\t\tPredictiveScalingConfiguration: \u0026autoscaling.PolicyPredictiveScalingConfigurationArgs{\n\t\t\t\tMetricSpecification: \u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationArgs{\n\t\t\t\t\tTargetValue: pulumi.Float64(10),\n\t\t\t\t\tCustomizedLoadMetricSpecification: \u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationArgs{\n\t\t\t\t\t\tMetricDataQueries: autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryArray{\n\t\t\t\t\t\t\t\u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryArgs{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"load_sum\"),\n\t\t\t\t\t\t\t\tExpression: pulumi.String(\"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 3600))\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tCustomizedCapacityMetricSpecification: \u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs{\n\t\t\t\t\t\tMetricDataQueries: autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArray{\n\t\t\t\t\t\t\t\u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArgs{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"capacity_sum\"),\n\t\t\t\t\t\t\t\tExpression: pulumi.String(\"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tCustomizedScalingMetricSpecification: \u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs{\n\t\t\t\t\t\tMetricDataQueries: autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArray{\n\t\t\t\t\t\t\t\u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"capacity_sum\"),\n\t\t\t\t\t\t\t\tExpression: pulumi.String(\"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\"),\n\t\t\t\t\t\t\t\tReturnData: pulumi.Bool(false),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"load_sum\"),\n\t\t\t\t\t\t\t\tExpression: pulumi.String(\"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 300))\"),\n\t\t\t\t\t\t\t\tReturnData: pulumi.Bool(false),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"weighted_average\"),\n\t\t\t\t\t\t\t\tExpression: pulumi.String(\"load_sum / (capacity_sum * PERIOD(capacity_sum) / 60)\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.autoscaling.Policy;\nimport com.pulumi.aws.autoscaling.PolicyArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationMetricSpecificationArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Policy(\"example\", PolicyArgs.builder()\n .autoscalingGroupName(\"my-test-asg\")\n .name(\"foo\")\n .policyType(\"PredictiveScaling\")\n .predictiveScalingConfiguration(PolicyPredictiveScalingConfigurationArgs.builder()\n .metricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationArgs.builder()\n .targetValue(10)\n .customizedLoadMetricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationArgs.builder()\n .metricDataQueries(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryArgs.builder()\n .id(\"load_sum\")\n .expression(\"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 3600))\")\n .build())\n .build())\n .customizedCapacityMetricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs.builder()\n .metricDataQueries(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArgs.builder()\n .id(\"capacity_sum\")\n .expression(\"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\")\n .build())\n .build())\n .customizedScalingMetricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs.builder()\n .metricDataQueries( \n PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs.builder()\n .id(\"capacity_sum\")\n .expression(\"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\")\n .returnData(false)\n .build(),\n PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs.builder()\n .id(\"load_sum\")\n .expression(\"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 300))\")\n .returnData(false)\n .build(),\n PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs.builder()\n .id(\"weighted_average\")\n .expression(\"load_sum / (capacity_sum * PERIOD(capacity_sum) / 60)\")\n .build())\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:autoscaling:Policy\n properties:\n autoscalingGroupName: my-test-asg\n name: foo\n policyType: PredictiveScaling\n predictiveScalingConfiguration:\n metricSpecification:\n targetValue: 10\n customizedLoadMetricSpecification:\n metricDataQueries:\n - id: load_sum\n expression: SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\"CPUUtilization\" my-test-asg', 'Sum', 3600))\n customizedCapacityMetricSpecification:\n metricDataQueries:\n - id: capacity_sum\n expression: SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\"GroupInServiceIntances\" my-test-asg', 'Average', 300))\n customizedScalingMetricSpecification:\n metricDataQueries:\n - id: capacity_sum\n expression: SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\"GroupInServiceIntances\" my-test-asg', 'Average', 300))\n returnData: false\n - id: load_sum\n expression: SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\"CPUUtilization\" my-test-asg', 'Sum', 300))\n returnData: false\n - id: weighted_average\n expression: load_sum / (capacity_sum * PERIOD(capacity_sum) / 60)\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create predictive scaling policy using customized scaling and predefined load metric\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.autoscaling.Policy(\"example\", {\n autoscalingGroupName: \"my-test-asg\",\n name: \"foo\",\n policyType: \"PredictiveScaling\",\n predictiveScalingConfiguration: {\n metricSpecification: {\n targetValue: 10,\n predefinedLoadMetricSpecification: {\n predefinedMetricType: \"ASGTotalCPUUtilization\",\n resourceLabel: \"app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff\",\n },\n customizedScalingMetricSpecification: {\n metricDataQueries: [{\n id: \"scaling\",\n metricStat: {\n metric: {\n metricName: \"CPUUtilization\",\n namespace: \"AWS/EC2\",\n dimensions: [{\n name: \"AutoScalingGroupName\",\n value: \"my-test-asg\",\n }],\n },\n stat: \"Average\",\n },\n }],\n },\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.autoscaling.Policy(\"example\",\n autoscaling_group_name=\"my-test-asg\",\n name=\"foo\",\n policy_type=\"PredictiveScaling\",\n predictive_scaling_configuration={\n \"metric_specification\": {\n \"target_value\": 10,\n \"predefined_load_metric_specification\": {\n \"predefined_metric_type\": \"ASGTotalCPUUtilization\",\n \"resource_label\": \"app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff\",\n },\n \"customized_scaling_metric_specification\": {\n \"metric_data_queries\": [{\n \"id\": \"scaling\",\n \"metric_stat\": {\n \"metric\": {\n \"metric_name\": \"CPUUtilization\",\n \"namespace\": \"AWS/EC2\",\n \"dimensions\": [{\n \"name\": \"AutoScalingGroupName\",\n \"value\": \"my-test-asg\",\n }],\n },\n \"stat\": \"Average\",\n },\n }],\n },\n },\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.AutoScaling.Policy(\"example\", new()\n {\n AutoscalingGroupName = \"my-test-asg\",\n Name = \"foo\",\n PolicyType = \"PredictiveScaling\",\n PredictiveScalingConfiguration = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationArgs\n {\n MetricSpecification = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationArgs\n {\n TargetValue = 10,\n PredefinedLoadMetricSpecification = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs\n {\n PredefinedMetricType = \"ASGTotalCPUUtilization\",\n ResourceLabel = \"app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff\",\n },\n CustomizedScalingMetricSpecification = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs\n {\n MetricDataQueries = new[]\n {\n new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs\n {\n Id = \"scaling\",\n MetricStat = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatArgs\n {\n Metric = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs\n {\n MetricName = \"CPUUtilization\",\n Namespace = \"AWS/EC2\",\n Dimensions = new[]\n {\n new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs\n {\n Name = \"AutoScalingGroupName\",\n Value = \"my-test-asg\",\n },\n },\n },\n Stat = \"Average\",\n },\n },\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := autoscaling.NewPolicy(ctx, \"example\", \u0026autoscaling.PolicyArgs{\n\t\t\tAutoscalingGroupName: pulumi.String(\"my-test-asg\"),\n\t\t\tName: pulumi.String(\"foo\"),\n\t\t\tPolicyType: pulumi.String(\"PredictiveScaling\"),\n\t\t\tPredictiveScalingConfiguration: \u0026autoscaling.PolicyPredictiveScalingConfigurationArgs{\n\t\t\t\tMetricSpecification: \u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationArgs{\n\t\t\t\t\tTargetValue: pulumi.Float64(10),\n\t\t\t\t\tPredefinedLoadMetricSpecification: \u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs{\n\t\t\t\t\t\tPredefinedMetricType: pulumi.String(\"ASGTotalCPUUtilization\"),\n\t\t\t\t\t\tResourceLabel: pulumi.String(\"app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff\"),\n\t\t\t\t\t},\n\t\t\t\t\tCustomizedScalingMetricSpecification: \u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs{\n\t\t\t\t\t\tMetricDataQueries: autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArray{\n\t\t\t\t\t\t\t\u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"scaling\"),\n\t\t\t\t\t\t\t\tMetricStat: \u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatArgs{\n\t\t\t\t\t\t\t\t\tMetric: \u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs{\n\t\t\t\t\t\t\t\t\t\tMetricName: pulumi.String(\"CPUUtilization\"),\n\t\t\t\t\t\t\t\t\t\tNamespace: pulumi.String(\"AWS/EC2\"),\n\t\t\t\t\t\t\t\t\t\tDimensions: autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArray{\n\t\t\t\t\t\t\t\t\t\t\t\u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs{\n\t\t\t\t\t\t\t\t\t\t\t\tName: pulumi.String(\"AutoScalingGroupName\"),\n\t\t\t\t\t\t\t\t\t\t\t\tValue: pulumi.String(\"my-test-asg\"),\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tStat: pulumi.String(\"Average\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.autoscaling.Policy;\nimport com.pulumi.aws.autoscaling.PolicyArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationMetricSpecificationArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Policy(\"example\", PolicyArgs.builder()\n .autoscalingGroupName(\"my-test-asg\")\n .name(\"foo\")\n .policyType(\"PredictiveScaling\")\n .predictiveScalingConfiguration(PolicyPredictiveScalingConfigurationArgs.builder()\n .metricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationArgs.builder()\n .targetValue(10)\n .predefinedLoadMetricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs.builder()\n .predefinedMetricType(\"ASGTotalCPUUtilization\")\n .resourceLabel(\"app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff\")\n .build())\n .customizedScalingMetricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs.builder()\n .metricDataQueries(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs.builder()\n .id(\"scaling\")\n .metricStat(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatArgs.builder()\n .metric(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs.builder()\n .metricName(\"CPUUtilization\")\n .namespace(\"AWS/EC2\")\n .dimensions(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs.builder()\n .name(\"AutoScalingGroupName\")\n .value(\"my-test-asg\")\n .build())\n .build())\n .stat(\"Average\")\n .build())\n .build())\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:autoscaling:Policy\n properties:\n autoscalingGroupName: my-test-asg\n name: foo\n policyType: PredictiveScaling\n predictiveScalingConfiguration:\n metricSpecification:\n targetValue: 10\n predefinedLoadMetricSpecification:\n predefinedMetricType: ASGTotalCPUUtilization\n resourceLabel: app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff\n customizedScalingMetricSpecification:\n metricDataQueries:\n - id: scaling\n metricStat:\n metric:\n metricName: CPUUtilization\n namespace: AWS/EC2\n dimensions:\n - name: AutoScalingGroupName\n value: my-test-asg\n stat: Average\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import AutoScaling scaling policy using the role autoscaling_group_name and name separated by `/`. For example:\n\n```sh\n$ pulumi import aws:autoscaling/policy:Policy test-policy asg-name/policy-name\n```\n", + "description": "Provides an AutoScaling Scaling Policy resource.\n\n\u003e **NOTE:** You may want to omit `desired_capacity` attribute from attached `aws.autoscaling.Group`\nwhen using autoscaling policies. It's good practice to pick either\n[manual](https://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-manual-scaling.html)\nor [dynamic](https://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-scale-based-on-demand.html)\n(policy-based) scaling.\n\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst bar = new aws.autoscaling.Group(\"bar\", {\n availabilityZones: [\"us-east-1a\"],\n name: \"foobar3-test\",\n maxSize: 5,\n minSize: 2,\n healthCheckGracePeriod: 300,\n healthCheckType: \"ELB\",\n forceDelete: true,\n launchConfiguration: foo.name,\n});\nconst bat = new aws.autoscaling.Policy(\"bat\", {\n name: \"foobar3-test\",\n scalingAdjustment: 4,\n adjustmentType: \"ChangeInCapacity\",\n cooldown: 300,\n autoscalingGroupName: bar.name,\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nbar = aws.autoscaling.Group(\"bar\",\n availability_zones=[\"us-east-1a\"],\n name=\"foobar3-test\",\n max_size=5,\n min_size=2,\n health_check_grace_period=300,\n health_check_type=\"ELB\",\n force_delete=True,\n launch_configuration=foo[\"name\"])\nbat = aws.autoscaling.Policy(\"bat\",\n name=\"foobar3-test\",\n scaling_adjustment=4,\n adjustment_type=\"ChangeInCapacity\",\n cooldown=300,\n autoscaling_group_name=bar.name)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var bar = new Aws.AutoScaling.Group(\"bar\", new()\n {\n AvailabilityZones = new[]\n {\n \"us-east-1a\",\n },\n Name = \"foobar3-test\",\n MaxSize = 5,\n MinSize = 2,\n HealthCheckGracePeriod = 300,\n HealthCheckType = \"ELB\",\n ForceDelete = true,\n LaunchConfiguration = foo.Name,\n });\n\n var bat = new Aws.AutoScaling.Policy(\"bat\", new()\n {\n Name = \"foobar3-test\",\n ScalingAdjustment = 4,\n AdjustmentType = \"ChangeInCapacity\",\n Cooldown = 300,\n AutoscalingGroupName = bar.Name,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tbar, err := autoscaling.NewGroup(ctx, \"bar\", \u0026autoscaling.GroupArgs{\n\t\t\tAvailabilityZones: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"us-east-1a\"),\n\t\t\t},\n\t\t\tName: pulumi.String(\"foobar3-test\"),\n\t\t\tMaxSize: pulumi.Int(5),\n\t\t\tMinSize: pulumi.Int(2),\n\t\t\tHealthCheckGracePeriod: pulumi.Int(300),\n\t\t\tHealthCheckType: pulumi.String(\"ELB\"),\n\t\t\tForceDelete: pulumi.Bool(true),\n\t\t\tLaunchConfiguration: pulumi.Any(foo.Name),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = autoscaling.NewPolicy(ctx, \"bat\", \u0026autoscaling.PolicyArgs{\n\t\t\tName: pulumi.String(\"foobar3-test\"),\n\t\t\tScalingAdjustment: pulumi.Int(4),\n\t\t\tAdjustmentType: pulumi.String(\"ChangeInCapacity\"),\n\t\t\tCooldown: pulumi.Int(300),\n\t\t\tAutoscalingGroupName: bar.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.autoscaling.Group;\nimport com.pulumi.aws.autoscaling.GroupArgs;\nimport com.pulumi.aws.autoscaling.Policy;\nimport com.pulumi.aws.autoscaling.PolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var bar = new Group(\"bar\", GroupArgs.builder()\n .availabilityZones(\"us-east-1a\")\n .name(\"foobar3-test\")\n .maxSize(5)\n .minSize(2)\n .healthCheckGracePeriod(300)\n .healthCheckType(\"ELB\")\n .forceDelete(true)\n .launchConfiguration(foo.name())\n .build());\n\n var bat = new Policy(\"bat\", PolicyArgs.builder()\n .name(\"foobar3-test\")\n .scalingAdjustment(4)\n .adjustmentType(\"ChangeInCapacity\")\n .cooldown(300)\n .autoscalingGroupName(bar.name())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n bat:\n type: aws:autoscaling:Policy\n properties:\n name: foobar3-test\n scalingAdjustment: 4\n adjustmentType: ChangeInCapacity\n cooldown: 300\n autoscalingGroupName: ${bar.name}\n bar:\n type: aws:autoscaling:Group\n properties:\n availabilityZones:\n - us-east-1a\n name: foobar3-test\n maxSize: 5\n minSize: 2\n healthCheckGracePeriod: 300\n healthCheckType: ELB\n forceDelete: true\n launchConfiguration: ${foo.name}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create target tracking scaling policy using metric math\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.autoscaling.Policy(\"example\", {\n autoscalingGroupName: \"my-test-asg\",\n name: \"foo\",\n policyType: \"TargetTrackingScaling\",\n targetTrackingConfiguration: {\n targetValue: 100,\n customizedMetricSpecification: {\n metrics: [\n {\n label: \"Get the queue size (the number of messages waiting to be processed)\",\n id: \"m1\",\n metricStat: {\n metric: {\n namespace: \"AWS/SQS\",\n metricName: \"ApproximateNumberOfMessagesVisible\",\n dimensions: [{\n name: \"QueueName\",\n value: \"my-queue\",\n }],\n },\n stat: \"Sum\",\n },\n returnData: false,\n },\n {\n label: \"Get the group size (the number of InService instances)\",\n id: \"m2\",\n metricStat: {\n metric: {\n namespace: \"AWS/AutoScaling\",\n metricName: \"GroupInServiceInstances\",\n dimensions: [{\n name: \"AutoScalingGroupName\",\n value: \"my-asg\",\n }],\n },\n stat: \"Average\",\n },\n returnData: false,\n },\n {\n label: \"Calculate the backlog per instance\",\n id: \"e1\",\n expression: \"m1 / m2\",\n returnData: true,\n },\n ],\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.autoscaling.Policy(\"example\",\n autoscaling_group_name=\"my-test-asg\",\n name=\"foo\",\n policy_type=\"TargetTrackingScaling\",\n target_tracking_configuration={\n \"target_value\": 100,\n \"customized_metric_specification\": {\n \"metrics\": [\n {\n \"label\": \"Get the queue size (the number of messages waiting to be processed)\",\n \"id\": \"m1\",\n \"metric_stat\": {\n \"metric\": {\n \"namespace\": \"AWS/SQS\",\n \"metric_name\": \"ApproximateNumberOfMessagesVisible\",\n \"dimensions\": [{\n \"name\": \"QueueName\",\n \"value\": \"my-queue\",\n }],\n },\n \"stat\": \"Sum\",\n },\n \"return_data\": False,\n },\n {\n \"label\": \"Get the group size (the number of InService instances)\",\n \"id\": \"m2\",\n \"metric_stat\": {\n \"metric\": {\n \"namespace\": \"AWS/AutoScaling\",\n \"metric_name\": \"GroupInServiceInstances\",\n \"dimensions\": [{\n \"name\": \"AutoScalingGroupName\",\n \"value\": \"my-asg\",\n }],\n },\n \"stat\": \"Average\",\n },\n \"return_data\": False,\n },\n {\n \"label\": \"Calculate the backlog per instance\",\n \"id\": \"e1\",\n \"expression\": \"m1 / m2\",\n \"return_data\": True,\n },\n ],\n },\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.AutoScaling.Policy(\"example\", new()\n {\n AutoscalingGroupName = \"my-test-asg\",\n Name = \"foo\",\n PolicyType = \"TargetTrackingScaling\",\n TargetTrackingConfiguration = new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationArgs\n {\n TargetValue = 100,\n CustomizedMetricSpecification = new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs\n {\n Metrics = new[]\n {\n new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs\n {\n Label = \"Get the queue size (the number of messages waiting to be processed)\",\n Id = \"m1\",\n MetricStat = new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatArgs\n {\n Metric = new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs\n {\n Namespace = \"AWS/SQS\",\n MetricName = \"ApproximateNumberOfMessagesVisible\",\n Dimensions = new[]\n {\n new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs\n {\n Name = \"QueueName\",\n Value = \"my-queue\",\n },\n },\n },\n Stat = \"Sum\",\n },\n ReturnData = false,\n },\n new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs\n {\n Label = \"Get the group size (the number of InService instances)\",\n Id = \"m2\",\n MetricStat = new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatArgs\n {\n Metric = new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs\n {\n Namespace = \"AWS/AutoScaling\",\n MetricName = \"GroupInServiceInstances\",\n Dimensions = new[]\n {\n new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs\n {\n Name = \"AutoScalingGroupName\",\n Value = \"my-asg\",\n },\n },\n },\n Stat = \"Average\",\n },\n ReturnData = false,\n },\n new Aws.AutoScaling.Inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs\n {\n Label = \"Calculate the backlog per instance\",\n Id = \"e1\",\n Expression = \"m1 / m2\",\n ReturnData = true,\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := autoscaling.NewPolicy(ctx, \"example\", \u0026autoscaling.PolicyArgs{\n\t\t\tAutoscalingGroupName: pulumi.String(\"my-test-asg\"),\n\t\t\tName: pulumi.String(\"foo\"),\n\t\t\tPolicyType: pulumi.String(\"TargetTrackingScaling\"),\n\t\t\tTargetTrackingConfiguration: \u0026autoscaling.PolicyTargetTrackingConfigurationArgs{\n\t\t\t\tTargetValue: pulumi.Float64(100),\n\t\t\t\tCustomizedMetricSpecification: \u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs{\n\t\t\t\t\tMetrics: autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArray{\n\t\t\t\t\t\t\u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs{\n\t\t\t\t\t\t\tLabel: pulumi.String(\"Get the queue size (the number of messages waiting to be processed)\"),\n\t\t\t\t\t\t\tId: pulumi.String(\"m1\"),\n\t\t\t\t\t\t\tMetricStat: \u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatArgs{\n\t\t\t\t\t\t\t\tMetric: \u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs{\n\t\t\t\t\t\t\t\t\tNamespace: pulumi.String(\"AWS/SQS\"),\n\t\t\t\t\t\t\t\t\tMetricName: pulumi.String(\"ApproximateNumberOfMessagesVisible\"),\n\t\t\t\t\t\t\t\t\tDimensions: autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray{\n\t\t\t\t\t\t\t\t\t\t\u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs{\n\t\t\t\t\t\t\t\t\t\t\tName: pulumi.String(\"QueueName\"),\n\t\t\t\t\t\t\t\t\t\t\tValue: pulumi.String(\"my-queue\"),\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tStat: pulumi.String(\"Sum\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tReturnData: pulumi.Bool(false),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs{\n\t\t\t\t\t\t\tLabel: pulumi.String(\"Get the group size (the number of InService instances)\"),\n\t\t\t\t\t\t\tId: pulumi.String(\"m2\"),\n\t\t\t\t\t\t\tMetricStat: \u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatArgs{\n\t\t\t\t\t\t\t\tMetric: \u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs{\n\t\t\t\t\t\t\t\t\tNamespace: pulumi.String(\"AWS/AutoScaling\"),\n\t\t\t\t\t\t\t\t\tMetricName: pulumi.String(\"GroupInServiceInstances\"),\n\t\t\t\t\t\t\t\t\tDimensions: autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray{\n\t\t\t\t\t\t\t\t\t\t\u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs{\n\t\t\t\t\t\t\t\t\t\t\tName: pulumi.String(\"AutoScalingGroupName\"),\n\t\t\t\t\t\t\t\t\t\t\tValue: pulumi.String(\"my-asg\"),\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tStat: pulumi.String(\"Average\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tReturnData: pulumi.Bool(false),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026autoscaling.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs{\n\t\t\t\t\t\t\tLabel: pulumi.String(\"Calculate the backlog per instance\"),\n\t\t\t\t\t\t\tId: pulumi.String(\"e1\"),\n\t\t\t\t\t\t\tExpression: pulumi.String(\"m1 / m2\"),\n\t\t\t\t\t\t\tReturnData: pulumi.Bool(true),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.autoscaling.Policy;\nimport com.pulumi.aws.autoscaling.PolicyArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyTargetTrackingConfigurationArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Policy(\"example\", PolicyArgs.builder()\n .autoscalingGroupName(\"my-test-asg\")\n .name(\"foo\")\n .policyType(\"TargetTrackingScaling\")\n .targetTrackingConfiguration(PolicyTargetTrackingConfigurationArgs.builder()\n .targetValue(100)\n .customizedMetricSpecification(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationArgs.builder()\n .metrics( \n PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs.builder()\n .label(\"Get the queue size (the number of messages waiting to be processed)\")\n .id(\"m1\")\n .metricStat(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatArgs.builder()\n .metric(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs.builder()\n .namespace(\"AWS/SQS\")\n .metricName(\"ApproximateNumberOfMessagesVisible\")\n .dimensions(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs.builder()\n .name(\"QueueName\")\n .value(\"my-queue\")\n .build())\n .build())\n .stat(\"Sum\")\n .build())\n .returnData(false)\n .build(),\n PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs.builder()\n .label(\"Get the group size (the number of InService instances)\")\n .id(\"m2\")\n .metricStat(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatArgs.builder()\n .metric(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs.builder()\n .namespace(\"AWS/AutoScaling\")\n .metricName(\"GroupInServiceInstances\")\n .dimensions(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs.builder()\n .name(\"AutoScalingGroupName\")\n .value(\"my-asg\")\n .build())\n .build())\n .stat(\"Average\")\n .build())\n .returnData(false)\n .build(),\n PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricArgs.builder()\n .label(\"Calculate the backlog per instance\")\n .id(\"e1\")\n .expression(\"m1 / m2\")\n .returnData(true)\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:autoscaling:Policy\n properties:\n autoscalingGroupName: my-test-asg\n name: foo\n policyType: TargetTrackingScaling\n targetTrackingConfiguration:\n targetValue: 100\n customizedMetricSpecification:\n metrics:\n - label: Get the queue size (the number of messages waiting to be processed)\n id: m1\n metricStat:\n metric:\n namespace: AWS/SQS\n metricName: ApproximateNumberOfMessagesVisible\n dimensions:\n - name: QueueName\n value: my-queue\n stat: Sum\n returnData: false\n - label: Get the group size (the number of InService instances)\n id: m2\n metricStat:\n metric:\n namespace: AWS/AutoScaling\n metricName: GroupInServiceInstances\n dimensions:\n - name: AutoScalingGroupName\n value: my-asg\n stat: Average\n returnData: false\n - label: Calculate the backlog per instance\n id: e1\n expression: m1 / m2\n returnData: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create predictive scaling policy using customized metrics\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.autoscaling.Policy(\"example\", {\n autoscalingGroupName: \"my-test-asg\",\n name: \"foo\",\n policyType: \"PredictiveScaling\",\n predictiveScalingConfiguration: {\n metricSpecification: {\n targetValue: 10,\n customizedLoadMetricSpecification: {\n metricDataQueries: [{\n id: \"load_sum\",\n expression: \"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 3600))\",\n }],\n },\n customizedCapacityMetricSpecification: {\n metricDataQueries: [{\n id: \"capacity_sum\",\n expression: \"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\",\n }],\n },\n customizedScalingMetricSpecification: {\n metricDataQueries: [\n {\n id: \"capacity_sum\",\n expression: \"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\",\n returnData: false,\n },\n {\n id: \"load_sum\",\n expression: \"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 300))\",\n returnData: false,\n },\n {\n id: \"weighted_average\",\n expression: \"load_sum / (capacity_sum * PERIOD(capacity_sum) / 60)\",\n },\n ],\n },\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.autoscaling.Policy(\"example\",\n autoscaling_group_name=\"my-test-asg\",\n name=\"foo\",\n policy_type=\"PredictiveScaling\",\n predictive_scaling_configuration={\n \"metric_specification\": {\n \"target_value\": 10,\n \"customized_load_metric_specification\": {\n \"metric_data_queries\": [{\n \"id\": \"load_sum\",\n \"expression\": \"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 3600))\",\n }],\n },\n \"customized_capacity_metric_specification\": {\n \"metric_data_queries\": [{\n \"id\": \"capacity_sum\",\n \"expression\": \"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\",\n }],\n },\n \"customized_scaling_metric_specification\": {\n \"metric_data_queries\": [\n {\n \"id\": \"capacity_sum\",\n \"expression\": \"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\",\n \"return_data\": False,\n },\n {\n \"id\": \"load_sum\",\n \"expression\": \"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 300))\",\n \"return_data\": False,\n },\n {\n \"id\": \"weighted_average\",\n \"expression\": \"load_sum / (capacity_sum * PERIOD(capacity_sum) / 60)\",\n },\n ],\n },\n },\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.AutoScaling.Policy(\"example\", new()\n {\n AutoscalingGroupName = \"my-test-asg\",\n Name = \"foo\",\n PolicyType = \"PredictiveScaling\",\n PredictiveScalingConfiguration = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationArgs\n {\n MetricSpecification = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationArgs\n {\n TargetValue = 10,\n CustomizedLoadMetricSpecification = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationArgs\n {\n MetricDataQueries = new[]\n {\n new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryArgs\n {\n Id = \"load_sum\",\n Expression = \"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 3600))\",\n },\n },\n },\n CustomizedCapacityMetricSpecification = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs\n {\n MetricDataQueries = new[]\n {\n new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArgs\n {\n Id = \"capacity_sum\",\n Expression = \"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\",\n },\n },\n },\n CustomizedScalingMetricSpecification = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs\n {\n MetricDataQueries = new[]\n {\n new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs\n {\n Id = \"capacity_sum\",\n Expression = \"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\",\n ReturnData = false,\n },\n new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs\n {\n Id = \"load_sum\",\n Expression = \"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 300))\",\n ReturnData = false,\n },\n new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs\n {\n Id = \"weighted_average\",\n Expression = \"load_sum / (capacity_sum * PERIOD(capacity_sum) / 60)\",\n },\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := autoscaling.NewPolicy(ctx, \"example\", \u0026autoscaling.PolicyArgs{\n\t\t\tAutoscalingGroupName: pulumi.String(\"my-test-asg\"),\n\t\t\tName: pulumi.String(\"foo\"),\n\t\t\tPolicyType: pulumi.String(\"PredictiveScaling\"),\n\t\t\tPredictiveScalingConfiguration: \u0026autoscaling.PolicyPredictiveScalingConfigurationArgs{\n\t\t\t\tMetricSpecification: \u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationArgs{\n\t\t\t\t\tTargetValue: pulumi.Float64(10),\n\t\t\t\t\tCustomizedLoadMetricSpecification: \u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationArgs{\n\t\t\t\t\t\tMetricDataQueries: autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryArray{\n\t\t\t\t\t\t\t\u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryArgs{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"load_sum\"),\n\t\t\t\t\t\t\t\tExpression: pulumi.String(\"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 3600))\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tCustomizedCapacityMetricSpecification: \u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs{\n\t\t\t\t\t\tMetricDataQueries: autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArray{\n\t\t\t\t\t\t\t\u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArgs{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"capacity_sum\"),\n\t\t\t\t\t\t\t\tExpression: pulumi.String(\"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tCustomizedScalingMetricSpecification: \u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs{\n\t\t\t\t\t\tMetricDataQueries: autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArray{\n\t\t\t\t\t\t\t\u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"capacity_sum\"),\n\t\t\t\t\t\t\t\tExpression: pulumi.String(\"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\"),\n\t\t\t\t\t\t\t\tReturnData: pulumi.Bool(false),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"load_sum\"),\n\t\t\t\t\t\t\t\tExpression: pulumi.String(\"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 300))\"),\n\t\t\t\t\t\t\t\tReturnData: pulumi.Bool(false),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"weighted_average\"),\n\t\t\t\t\t\t\t\tExpression: pulumi.String(\"load_sum / (capacity_sum * PERIOD(capacity_sum) / 60)\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.autoscaling.Policy;\nimport com.pulumi.aws.autoscaling.PolicyArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationMetricSpecificationArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Policy(\"example\", PolicyArgs.builder()\n .autoscalingGroupName(\"my-test-asg\")\n .name(\"foo\")\n .policyType(\"PredictiveScaling\")\n .predictiveScalingConfiguration(PolicyPredictiveScalingConfigurationArgs.builder()\n .metricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationArgs.builder()\n .targetValue(10)\n .customizedLoadMetricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationArgs.builder()\n .metricDataQueries(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryArgs.builder()\n .id(\"load_sum\")\n .expression(\"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 3600))\")\n .build())\n .build())\n .customizedCapacityMetricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs.builder()\n .metricDataQueries(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArgs.builder()\n .id(\"capacity_sum\")\n .expression(\"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\")\n .build())\n .build())\n .customizedScalingMetricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs.builder()\n .metricDataQueries( \n PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs.builder()\n .id(\"capacity_sum\")\n .expression(\"SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\\\"GroupInServiceIntances\\\" my-test-asg', 'Average', 300))\")\n .returnData(false)\n .build(),\n PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs.builder()\n .id(\"load_sum\")\n .expression(\"SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\\\"CPUUtilization\\\" my-test-asg', 'Sum', 300))\")\n .returnData(false)\n .build(),\n PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs.builder()\n .id(\"weighted_average\")\n .expression(\"load_sum / (capacity_sum * PERIOD(capacity_sum) / 60)\")\n .build())\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:autoscaling:Policy\n properties:\n autoscalingGroupName: my-test-asg\n name: foo\n policyType: PredictiveScaling\n predictiveScalingConfiguration:\n metricSpecification:\n targetValue: 10\n customizedLoadMetricSpecification:\n metricDataQueries:\n - id: load_sum\n expression: SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\"CPUUtilization\" my-test-asg', 'Sum', 3600))\n customizedCapacityMetricSpecification:\n metricDataQueries:\n - id: capacity_sum\n expression: SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\"GroupInServiceIntances\" my-test-asg', 'Average', 300))\n customizedScalingMetricSpecification:\n metricDataQueries:\n - id: capacity_sum\n expression: SUM(SEARCH('{AWS/AutoScaling,AutoScalingGroupName} MetricName=\"GroupInServiceIntances\" my-test-asg', 'Average', 300))\n returnData: false\n - id: load_sum\n expression: SUM(SEARCH('{AWS/EC2,AutoScalingGroupName} MetricName=\"CPUUtilization\" my-test-asg', 'Sum', 300))\n returnData: false\n - id: weighted_average\n expression: load_sum / (capacity_sum * PERIOD(capacity_sum) / 60)\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Create predictive scaling policy using customized scaling and predefined load metric\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.autoscaling.Policy(\"example\", {\n autoscalingGroupName: \"my-test-asg\",\n name: \"foo\",\n policyType: \"PredictiveScaling\",\n predictiveScalingConfiguration: {\n metricSpecification: {\n targetValue: 10,\n predefinedLoadMetricSpecification: {\n predefinedMetricType: \"ASGTotalCPUUtilization\",\n resourceLabel: \"app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff\",\n },\n customizedScalingMetricSpecification: {\n metricDataQueries: [{\n id: \"scaling\",\n metricStat: {\n metric: {\n metricName: \"CPUUtilization\",\n namespace: \"AWS/EC2\",\n dimensions: [{\n name: \"AutoScalingGroupName\",\n value: \"my-test-asg\",\n }],\n },\n stat: \"Average\",\n },\n }],\n },\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.autoscaling.Policy(\"example\",\n autoscaling_group_name=\"my-test-asg\",\n name=\"foo\",\n policy_type=\"PredictiveScaling\",\n predictive_scaling_configuration={\n \"metric_specification\": {\n \"target_value\": 10,\n \"predefined_load_metric_specification\": {\n \"predefined_metric_type\": \"ASGTotalCPUUtilization\",\n \"resource_label\": \"app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff\",\n },\n \"customized_scaling_metric_specification\": {\n \"metric_data_queries\": [{\n \"id\": \"scaling\",\n \"metric_stat\": {\n \"metric\": {\n \"metric_name\": \"CPUUtilization\",\n \"namespace\": \"AWS/EC2\",\n \"dimensions\": [{\n \"name\": \"AutoScalingGroupName\",\n \"value\": \"my-test-asg\",\n }],\n },\n \"stat\": \"Average\",\n },\n }],\n },\n },\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.AutoScaling.Policy(\"example\", new()\n {\n AutoscalingGroupName = \"my-test-asg\",\n Name = \"foo\",\n PolicyType = \"PredictiveScaling\",\n PredictiveScalingConfiguration = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationArgs\n {\n MetricSpecification = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationArgs\n {\n TargetValue = 10,\n PredefinedLoadMetricSpecification = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs\n {\n PredefinedMetricType = \"ASGTotalCPUUtilization\",\n ResourceLabel = \"app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff\",\n },\n CustomizedScalingMetricSpecification = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs\n {\n MetricDataQueries = new[]\n {\n new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs\n {\n Id = \"scaling\",\n MetricStat = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatArgs\n {\n Metric = new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationMetricArgs\n {\n MetricName = \"CPUUtilization\",\n Namespace = \"AWS/EC2\",\n Dimensions = new[]\n {\n new Aws.AutoScaling.Inputs.PolicyPredictiveScalingConfigurationDimensionArgs\n {\n Name = \"AutoScalingGroupName\",\n Value = \"my-test-asg\",\n },\n },\n },\n Stat = \"Average\",\n },\n },\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := autoscaling.NewPolicy(ctx, \"example\", \u0026autoscaling.PolicyArgs{\n\t\t\tAutoscalingGroupName: pulumi.String(\"my-test-asg\"),\n\t\t\tName: pulumi.String(\"foo\"),\n\t\t\tPolicyType: pulumi.String(\"PredictiveScaling\"),\n\t\t\tPredictiveScalingConfiguration: \u0026autoscaling.PolicyPredictiveScalingConfigurationArgs{\n\t\t\t\tMetricSpecification: \u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationArgs{\n\t\t\t\t\tTargetValue: pulumi.Float64(10),\n\t\t\t\t\tPredefinedLoadMetricSpecification: \u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs{\n\t\t\t\t\t\tPredefinedMetricType: pulumi.String(\"ASGTotalCPUUtilization\"),\n\t\t\t\t\t\tResourceLabel: pulumi.String(\"app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff\"),\n\t\t\t\t\t},\n\t\t\t\t\tCustomizedScalingMetricSpecification: \u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs{\n\t\t\t\t\t\tMetricDataQueries: autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArray{\n\t\t\t\t\t\t\t\u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"scaling\"),\n\t\t\t\t\t\t\t\tMetricStat: \u0026autoscaling.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatArgs{\n\t\t\t\t\t\t\t\t\tMetric: \u0026autoscaling.PolicyPredictiveScalingConfigurationMetricArgs{\n\t\t\t\t\t\t\t\t\t\tMetricName: pulumi.String(\"CPUUtilization\"),\n\t\t\t\t\t\t\t\t\t\tNamespace: pulumi.String(\"AWS/EC2\"),\n\t\t\t\t\t\t\t\t\t\tDimensions: autoscaling.PolicyPredictiveScalingConfigurationDimensionArray{\n\t\t\t\t\t\t\t\t\t\t\t\u0026autoscaling.PolicyPredictiveScalingConfigurationDimensionArgs{\n\t\t\t\t\t\t\t\t\t\t\t\tName: pulumi.String(\"AutoScalingGroupName\"),\n\t\t\t\t\t\t\t\t\t\t\t\tValue: pulumi.String(\"my-test-asg\"),\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tStat: pulumi.String(\"Average\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.autoscaling.Policy;\nimport com.pulumi.aws.autoscaling.PolicyArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationMetricSpecificationArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs;\nimport com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new Policy(\"example\", PolicyArgs.builder()\n .autoscalingGroupName(\"my-test-asg\")\n .name(\"foo\")\n .policyType(\"PredictiveScaling\")\n .predictiveScalingConfiguration(PolicyPredictiveScalingConfigurationArgs.builder()\n .metricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationArgs.builder()\n .targetValue(10)\n .predefinedLoadMetricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedLoadMetricSpecificationArgs.builder()\n .predefinedMetricType(\"ASGTotalCPUUtilization\")\n .resourceLabel(\"app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff\")\n .build())\n .customizedScalingMetricSpecification(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationArgs.builder()\n .metricDataQueries(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs.builder()\n .id(\"scaling\")\n .metricStat(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatArgs.builder()\n .metric(PolicyPredictiveScalingConfigurationMetricArgs.builder()\n .metricName(\"CPUUtilization\")\n .namespace(\"AWS/EC2\")\n .dimensions(PolicyPredictiveScalingConfigurationDimensionArgs.builder()\n .name(\"AutoScalingGroupName\")\n .value(\"my-test-asg\")\n .build())\n .build())\n .stat(\"Average\")\n .build())\n .build())\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:autoscaling:Policy\n properties:\n autoscalingGroupName: my-test-asg\n name: foo\n policyType: PredictiveScaling\n predictiveScalingConfiguration:\n metricSpecification:\n targetValue: 10\n predefinedLoadMetricSpecification:\n predefinedMetricType: ASGTotalCPUUtilization\n resourceLabel: app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff\n customizedScalingMetricSpecification:\n metricDataQueries:\n - id: scaling\n metricStat:\n metric:\n metricName: CPUUtilization\n namespace: AWS/EC2\n dimensions:\n - name: AutoScalingGroupName\n value: my-test-asg\n stat: Average\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import AutoScaling scaling policy using the role autoscaling_group_name and name separated by `/`. For example:\n\n```sh\n$ pulumi import aws:autoscaling/policy:Policy test-policy asg-name/policy-name\n```\n", "properties": { "adjustmentType": { "type": "string", @@ -279150,7 +275306,7 @@ } }, "aws:kinesisanalyticsv2/application:Application": { - "description": "Manages a Kinesis Analytics v2 Application.\nThis resource can be used to manage both Kinesis Data Analytics for SQL applications and Kinesis Data Analytics for Apache Flink applications.\n\n\u003e **Note:** Kinesis Data Analytics for SQL applications created using this resource cannot currently be viewed in the AWS Console. To manage Kinesis Data Analytics for SQL applications that can also be viewed in the AWS Console, use the `aws.kinesis.AnalyticsApplication` resource.\n\n## Example Usage\n\n### Apache Flink Application\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.s3.BucketV2(\"example\", {bucket: \"example-flink-application\"});\nconst exampleBucketObjectv2 = new aws.s3.BucketObjectv2(\"example\", {\n bucket: example.id,\n key: \"example-flink-application\",\n source: new pulumi.asset.FileAsset(\"flink-app.jar\"),\n});\nconst exampleApplication = new aws.kinesisanalyticsv2.Application(\"example\", {\n name: \"example-flink-application\",\n runtimeEnvironment: \"FLINK-1_8\",\n serviceExecutionRole: exampleAwsIamRole.arn,\n applicationConfiguration: {\n applicationCodeConfiguration: {\n codeContent: {\n s3ContentLocation: {\n bucketArn: example.arn,\n fileKey: exampleBucketObjectv2.key,\n },\n },\n codeContentType: \"ZIPFILE\",\n },\n environmentProperties: {\n propertyGroups: [\n {\n propertyGroupId: \"PROPERTY-GROUP-1\",\n propertyMap: {\n Key1: \"Value1\",\n },\n },\n {\n propertyGroupId: \"PROPERTY-GROUP-2\",\n propertyMap: {\n KeyA: \"ValueA\",\n KeyB: \"ValueB\",\n },\n },\n ],\n },\n flinkApplicationConfiguration: {\n checkpointConfiguration: {\n configurationType: \"DEFAULT\",\n },\n monitoringConfiguration: {\n configurationType: \"CUSTOM\",\n logLevel: \"DEBUG\",\n metricsLevel: \"TASK\",\n },\n parallelismConfiguration: {\n autoScalingEnabled: true,\n configurationType: \"CUSTOM\",\n parallelism: 10,\n parallelismPerKpu: 4,\n },\n },\n },\n tags: {\n Environment: \"test\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.s3.BucketV2(\"example\", bucket=\"example-flink-application\")\nexample_bucket_objectv2 = aws.s3.BucketObjectv2(\"example\",\n bucket=example.id,\n key=\"example-flink-application\",\n source=pulumi.FileAsset(\"flink-app.jar\"))\nexample_application = aws.kinesisanalyticsv2.Application(\"example\",\n name=\"example-flink-application\",\n runtime_environment=\"FLINK-1_8\",\n service_execution_role=example_aws_iam_role[\"arn\"],\n application_configuration={\n \"application_code_configuration\": {\n \"code_content\": {\n \"s3_content_location\": {\n \"bucket_arn\": example.arn,\n \"file_key\": example_bucket_objectv2.key,\n },\n },\n \"code_content_type\": \"ZIPFILE\",\n },\n \"environment_properties\": {\n \"property_groups\": [\n {\n \"property_group_id\": \"PROPERTY-GROUP-1\",\n \"property_map\": {\n \"key1\": \"Value1\",\n },\n },\n {\n \"property_group_id\": \"PROPERTY-GROUP-2\",\n \"property_map\": {\n \"key_a\": \"ValueA\",\n \"key_b\": \"ValueB\",\n },\n },\n ],\n },\n \"flink_application_configuration\": {\n \"checkpoint_configuration\": {\n \"configuration_type\": \"DEFAULT\",\n },\n \"monitoring_configuration\": {\n \"configuration_type\": \"CUSTOM\",\n \"log_level\": \"DEBUG\",\n \"metrics_level\": \"TASK\",\n },\n \"parallelism_configuration\": {\n \"auto_scaling_enabled\": True,\n \"configuration_type\": \"CUSTOM\",\n \"parallelism\": 10,\n \"parallelism_per_kpu\": 4,\n },\n },\n },\n tags={\n \"Environment\": \"test\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.S3.BucketV2(\"example\", new()\n {\n Bucket = \"example-flink-application\",\n });\n\n var exampleBucketObjectv2 = new Aws.S3.BucketObjectv2(\"example\", new()\n {\n Bucket = example.Id,\n Key = \"example-flink-application\",\n Source = new FileAsset(\"flink-app.jar\"),\n });\n\n var exampleApplication = new Aws.KinesisAnalyticsV2.Application(\"example\", new()\n {\n Name = \"example-flink-application\",\n RuntimeEnvironment = \"FLINK-1_8\",\n ServiceExecutionRole = exampleAwsIamRole.Arn,\n ApplicationConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationArgs\n {\n ApplicationCodeConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationArgs\n {\n CodeContent = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs\n {\n S3ContentLocation = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs\n {\n BucketArn = example.Arn,\n FileKey = exampleBucketObjectv2.Key,\n },\n },\n CodeContentType = \"ZIPFILE\",\n },\n EnvironmentProperties = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationEnvironmentPropertiesArgs\n {\n PropertyGroups = new[]\n {\n new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationEnvironmentPropertiesPropertyGroupArgs\n {\n PropertyGroupId = \"PROPERTY-GROUP-1\",\n PropertyMap = \n {\n { \"Key1\", \"Value1\" },\n },\n },\n new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationEnvironmentPropertiesPropertyGroupArgs\n {\n PropertyGroupId = \"PROPERTY-GROUP-2\",\n PropertyMap = \n {\n { \"KeyA\", \"ValueA\" },\n { \"KeyB\", \"ValueB\" },\n },\n },\n },\n },\n FlinkApplicationConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationArgs\n {\n CheckpointConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgs\n {\n ConfigurationType = \"DEFAULT\",\n },\n MonitoringConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationMonitoringConfigurationArgs\n {\n ConfigurationType = \"CUSTOM\",\n LogLevel = \"DEBUG\",\n MetricsLevel = \"TASK\",\n },\n ParallelismConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs\n {\n AutoScalingEnabled = true,\n ConfigurationType = \"CUSTOM\",\n Parallelism = 10,\n ParallelismPerKpu = 4,\n },\n },\n },\n Tags = \n {\n { \"Environment\", \"test\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kinesisanalyticsv2\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := s3.NewBucketV2(ctx, \"example\", \u0026s3.BucketV2Args{\n\t\t\tBucket: pulumi.String(\"example-flink-application\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleBucketObjectv2, err := s3.NewBucketObjectv2(ctx, \"example\", \u0026s3.BucketObjectv2Args{\n\t\t\tBucket: example.ID(),\n\t\t\tKey: pulumi.String(\"example-flink-application\"),\n\t\t\tSource: pulumi.NewFileAsset(\"flink-app.jar\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = kinesisanalyticsv2.NewApplication(ctx, \"example\", \u0026kinesisanalyticsv2.ApplicationArgs{\n\t\t\tName: pulumi.String(\"example-flink-application\"),\n\t\t\tRuntimeEnvironment: pulumi.String(\"FLINK-1_8\"),\n\t\t\tServiceExecutionRole: pulumi.Any(exampleAwsIamRole.Arn),\n\t\t\tApplicationConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationArgs{\n\t\t\t\tApplicationCodeConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationApplicationCodeConfigurationArgs{\n\t\t\t\t\tCodeContent: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs{\n\t\t\t\t\t\tS3ContentLocation: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs{\n\t\t\t\t\t\t\tBucketArn: example.Arn,\n\t\t\t\t\t\t\tFileKey: exampleBucketObjectv2.Key,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tCodeContentType: pulumi.String(\"ZIPFILE\"),\n\t\t\t\t},\n\t\t\t\tEnvironmentProperties: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationEnvironmentPropertiesArgs{\n\t\t\t\t\tPropertyGroups: kinesisanalyticsv2.ApplicationApplicationConfigurationEnvironmentPropertiesPropertyGroupArray{\n\t\t\t\t\t\t\u0026kinesisanalyticsv2.ApplicationApplicationConfigurationEnvironmentPropertiesPropertyGroupArgs{\n\t\t\t\t\t\t\tPropertyGroupId: pulumi.String(\"PROPERTY-GROUP-1\"),\n\t\t\t\t\t\t\tPropertyMap: pulumi.StringMap{\n\t\t\t\t\t\t\t\t\"Key1\": pulumi.String(\"Value1\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026kinesisanalyticsv2.ApplicationApplicationConfigurationEnvironmentPropertiesPropertyGroupArgs{\n\t\t\t\t\t\t\tPropertyGroupId: pulumi.String(\"PROPERTY-GROUP-2\"),\n\t\t\t\t\t\t\tPropertyMap: pulumi.StringMap{\n\t\t\t\t\t\t\t\t\"KeyA\": pulumi.String(\"ValueA\"),\n\t\t\t\t\t\t\t\t\"KeyB\": pulumi.String(\"ValueB\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tFlinkApplicationConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationFlinkApplicationConfigurationArgs{\n\t\t\t\t\tCheckpointConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgs{\n\t\t\t\t\t\tConfigurationType: pulumi.String(\"DEFAULT\"),\n\t\t\t\t\t},\n\t\t\t\t\tMonitoringConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationFlinkApplicationConfigurationMonitoringConfigurationArgs{\n\t\t\t\t\t\tConfigurationType: pulumi.String(\"CUSTOM\"),\n\t\t\t\t\t\tLogLevel: pulumi.String(\"DEBUG\"),\n\t\t\t\t\t\tMetricsLevel: pulumi.String(\"TASK\"),\n\t\t\t\t\t},\n\t\t\t\t\tParallelismConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs{\n\t\t\t\t\t\tAutoScalingEnabled: pulumi.Bool(true),\n\t\t\t\t\t\tConfigurationType: pulumi.String(\"CUSTOM\"),\n\t\t\t\t\t\tParallelism: pulumi.Int(10),\n\t\t\t\t\t\tParallelismPerKpu: pulumi.Int(4),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"Environment\": pulumi.String(\"test\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.s3.BucketV2;\nimport com.pulumi.aws.s3.BucketV2Args;\nimport com.pulumi.aws.s3.BucketObjectv2;\nimport com.pulumi.aws.s3.BucketObjectv2Args;\nimport com.pulumi.aws.kinesisanalyticsv2.Application;\nimport com.pulumi.aws.kinesisanalyticsv2.ApplicationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationEnvironmentPropertiesArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationMonitoringConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs;\nimport com.pulumi.asset.FileAsset;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new BucketV2(\"example\", BucketV2Args.builder()\n .bucket(\"example-flink-application\")\n .build());\n\n var exampleBucketObjectv2 = new BucketObjectv2(\"exampleBucketObjectv2\", BucketObjectv2Args.builder()\n .bucket(example.id())\n .key(\"example-flink-application\")\n .source(new FileAsset(\"flink-app.jar\"))\n .build());\n\n var exampleApplication = new Application(\"exampleApplication\", ApplicationArgs.builder()\n .name(\"example-flink-application\")\n .runtimeEnvironment(\"FLINK-1_8\")\n .serviceExecutionRole(exampleAwsIamRole.arn())\n .applicationConfiguration(ApplicationApplicationConfigurationArgs.builder()\n .applicationCodeConfiguration(ApplicationApplicationConfigurationApplicationCodeConfigurationArgs.builder()\n .codeContent(ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs.builder()\n .s3ContentLocation(ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs.builder()\n .bucketArn(example.arn())\n .fileKey(exampleBucketObjectv2.key())\n .build())\n .build())\n .codeContentType(\"ZIPFILE\")\n .build())\n .environmentProperties(ApplicationApplicationConfigurationEnvironmentPropertiesArgs.builder()\n .propertyGroups( \n ApplicationApplicationConfigurationEnvironmentPropertiesPropertyGroupArgs.builder()\n .propertyGroupId(\"PROPERTY-GROUP-1\")\n .propertyMap(Map.of(\"Key1\", \"Value1\"))\n .build(),\n ApplicationApplicationConfigurationEnvironmentPropertiesPropertyGroupArgs.builder()\n .propertyGroupId(\"PROPERTY-GROUP-2\")\n .propertyMap(Map.ofEntries(\n Map.entry(\"KeyA\", \"ValueA\"),\n Map.entry(\"KeyB\", \"ValueB\")\n ))\n .build())\n .build())\n .flinkApplicationConfiguration(ApplicationApplicationConfigurationFlinkApplicationConfigurationArgs.builder()\n .checkpointConfiguration(ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgs.builder()\n .configurationType(\"DEFAULT\")\n .build())\n .monitoringConfiguration(ApplicationApplicationConfigurationFlinkApplicationConfigurationMonitoringConfigurationArgs.builder()\n .configurationType(\"CUSTOM\")\n .logLevel(\"DEBUG\")\n .metricsLevel(\"TASK\")\n .build())\n .parallelismConfiguration(ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs.builder()\n .autoScalingEnabled(true)\n .configurationType(\"CUSTOM\")\n .parallelism(10)\n .parallelismPerKpu(4)\n .build())\n .build())\n .build())\n .tags(Map.of(\"Environment\", \"test\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:s3:BucketV2\n properties:\n bucket: example-flink-application\n exampleBucketObjectv2:\n type: aws:s3:BucketObjectv2\n name: example\n properties:\n bucket: ${example.id}\n key: example-flink-application\n source:\n fn::FileAsset: flink-app.jar\n exampleApplication:\n type: aws:kinesisanalyticsv2:Application\n name: example\n properties:\n name: example-flink-application\n runtimeEnvironment: FLINK-1_8\n serviceExecutionRole: ${exampleAwsIamRole.arn}\n applicationConfiguration:\n applicationCodeConfiguration:\n codeContent:\n s3ContentLocation:\n bucketArn: ${example.arn}\n fileKey: ${exampleBucketObjectv2.key}\n codeContentType: ZIPFILE\n environmentProperties:\n propertyGroups:\n - propertyGroupId: PROPERTY-GROUP-1\n propertyMap:\n Key1: Value1\n - propertyGroupId: PROPERTY-GROUP-2\n propertyMap:\n KeyA: ValueA\n KeyB: ValueB\n flinkApplicationConfiguration:\n checkpointConfiguration:\n configurationType: DEFAULT\n monitoringConfiguration:\n configurationType: CUSTOM\n logLevel: DEBUG\n metricsLevel: TASK\n parallelismConfiguration:\n autoScalingEnabled: true\n configurationType: CUSTOM\n parallelism: 10\n parallelismPerKpu: 4\n tags:\n Environment: test\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### SQL Application\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.cloudwatch.LogGroup(\"example\", {name: \"example-sql-application\"});\nconst exampleLogStream = new aws.cloudwatch.LogStream(\"example\", {\n name: \"example-sql-application\",\n logGroupName: example.name,\n});\nconst exampleApplication = new aws.kinesisanalyticsv2.Application(\"example\", {\n name: \"example-sql-application\",\n runtimeEnvironment: \"SQL-1_0\",\n serviceExecutionRole: exampleAwsIamRole.arn,\n applicationConfiguration: {\n applicationCodeConfiguration: {\n codeContent: {\n textContent: \"SELECT 1;\\n\",\n },\n codeContentType: \"PLAINTEXT\",\n },\n sqlApplicationConfiguration: {\n input: {\n namePrefix: \"PREFIX_1\",\n inputParallelism: {\n count: 3,\n },\n inputSchema: {\n recordColumns: [\n {\n name: \"COLUMN_1\",\n sqlType: \"VARCHAR(8)\",\n mapping: \"MAPPING-1\",\n },\n {\n name: \"COLUMN_2\",\n sqlType: \"DOUBLE\",\n },\n ],\n recordEncoding: \"UTF-8\",\n recordFormat: {\n recordFormatType: \"CSV\",\n mappingParameters: {\n csvMappingParameters: {\n recordColumnDelimiter: \",\",\n recordRowDelimiter: \"\\n\",\n },\n },\n },\n },\n kinesisStreamsInput: {\n resourceArn: exampleAwsKinesisStream.arn,\n },\n },\n outputs: [\n {\n name: \"OUTPUT_1\",\n destinationSchema: {\n recordFormatType: \"JSON\",\n },\n lambdaOutput: {\n resourceArn: exampleAwsLambdaFunction.arn,\n },\n },\n {\n name: \"OUTPUT_2\",\n destinationSchema: {\n recordFormatType: \"CSV\",\n },\n kinesisFirehoseOutput: {\n resourceArn: exampleAwsKinesisFirehoseDeliveryStream.arn,\n },\n },\n ],\n referenceDataSource: {\n tableName: \"TABLE-1\",\n referenceSchema: {\n recordColumns: [{\n name: \"COLUMN_1\",\n sqlType: \"INTEGER\",\n }],\n recordFormat: {\n recordFormatType: \"JSON\",\n mappingParameters: {\n jsonMappingParameters: {\n recordRowPath: \"$\",\n },\n },\n },\n },\n s3ReferenceDataSource: {\n bucketArn: exampleAwsS3Bucket.arn,\n fileKey: \"KEY-1\",\n },\n },\n },\n },\n cloudwatchLoggingOptions: {\n logStreamArn: exampleLogStream.arn,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.cloudwatch.LogGroup(\"example\", name=\"example-sql-application\")\nexample_log_stream = aws.cloudwatch.LogStream(\"example\",\n name=\"example-sql-application\",\n log_group_name=example.name)\nexample_application = aws.kinesisanalyticsv2.Application(\"example\",\n name=\"example-sql-application\",\n runtime_environment=\"SQL-1_0\",\n service_execution_role=example_aws_iam_role[\"arn\"],\n application_configuration={\n \"application_code_configuration\": {\n \"code_content\": {\n \"text_content\": \"SELECT 1;\\n\",\n },\n \"code_content_type\": \"PLAINTEXT\",\n },\n \"sql_application_configuration\": {\n \"input\": {\n \"name_prefix\": \"PREFIX_1\",\n \"input_parallelism\": {\n \"count\": 3,\n },\n \"input_schema\": {\n \"record_columns\": [\n {\n \"name\": \"COLUMN_1\",\n \"sql_type\": \"VARCHAR(8)\",\n \"mapping\": \"MAPPING-1\",\n },\n {\n \"name\": \"COLUMN_2\",\n \"sql_type\": \"DOUBLE\",\n },\n ],\n \"record_encoding\": \"UTF-8\",\n \"record_format\": {\n \"record_format_type\": \"CSV\",\n \"mapping_parameters\": {\n \"csv_mapping_parameters\": {\n \"record_column_delimiter\": \",\",\n \"record_row_delimiter\": \"\\n\",\n },\n },\n },\n },\n \"kinesis_streams_input\": {\n \"resource_arn\": example_aws_kinesis_stream[\"arn\"],\n },\n },\n \"outputs\": [\n {\n \"name\": \"OUTPUT_1\",\n \"destination_schema\": {\n \"record_format_type\": \"JSON\",\n },\n \"lambda_output\": {\n \"resource_arn\": example_aws_lambda_function[\"arn\"],\n },\n },\n {\n \"name\": \"OUTPUT_2\",\n \"destination_schema\": {\n \"record_format_type\": \"CSV\",\n },\n \"kinesis_firehose_output\": {\n \"resource_arn\": example_aws_kinesis_firehose_delivery_stream[\"arn\"],\n },\n },\n ],\n \"reference_data_source\": {\n \"table_name\": \"TABLE-1\",\n \"reference_schema\": {\n \"record_columns\": [{\n \"name\": \"COLUMN_1\",\n \"sql_type\": \"INTEGER\",\n }],\n \"record_format\": {\n \"record_format_type\": \"JSON\",\n \"mapping_parameters\": {\n \"json_mapping_parameters\": {\n \"record_row_path\": \"$\",\n },\n },\n },\n },\n \"s3_reference_data_source\": {\n \"bucket_arn\": example_aws_s3_bucket[\"arn\"],\n \"file_key\": \"KEY-1\",\n },\n },\n },\n },\n cloudwatch_logging_options={\n \"log_stream_arn\": example_log_stream.arn,\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.CloudWatch.LogGroup(\"example\", new()\n {\n Name = \"example-sql-application\",\n });\n\n var exampleLogStream = new Aws.CloudWatch.LogStream(\"example\", new()\n {\n Name = \"example-sql-application\",\n LogGroupName = example.Name,\n });\n\n var exampleApplication = new Aws.KinesisAnalyticsV2.Application(\"example\", new()\n {\n Name = \"example-sql-application\",\n RuntimeEnvironment = \"SQL-1_0\",\n ServiceExecutionRole = exampleAwsIamRole.Arn,\n ApplicationConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationArgs\n {\n ApplicationCodeConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationArgs\n {\n CodeContent = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs\n {\n TextContent = @\"SELECT 1;\n\",\n },\n CodeContentType = \"PLAINTEXT\",\n },\n SqlApplicationConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationArgs\n {\n Input = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputArgs\n {\n NamePrefix = \"PREFIX_1\",\n InputParallelism = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputParallelismArgs\n {\n Count = 3,\n },\n InputSchema = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs\n {\n RecordColumns = new[]\n {\n new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumnArgs\n {\n Name = \"COLUMN_1\",\n SqlType = \"VARCHAR(8)\",\n Mapping = \"MAPPING-1\",\n },\n new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumnArgs\n {\n Name = \"COLUMN_2\",\n SqlType = \"DOUBLE\",\n },\n },\n RecordEncoding = \"UTF-8\",\n RecordFormat = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatArgs\n {\n RecordFormatType = \"CSV\",\n MappingParameters = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersArgs\n {\n CsvMappingParameters = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs\n {\n RecordColumnDelimiter = \",\",\n RecordRowDelimiter = @\"\n\",\n },\n },\n },\n },\n KinesisStreamsInput = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputKinesisStreamsInputArgs\n {\n ResourceArn = exampleAwsKinesisStream.Arn,\n },\n },\n Outputs = new[]\n {\n new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputArgs\n {\n Name = \"OUTPUT_1\",\n DestinationSchema = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputDestinationSchemaArgs\n {\n RecordFormatType = \"JSON\",\n },\n LambdaOutput = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputLambdaOutputArgs\n {\n ResourceArn = exampleAwsLambdaFunction.Arn,\n },\n },\n new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputArgs\n {\n Name = \"OUTPUT_2\",\n DestinationSchema = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputDestinationSchemaArgs\n {\n RecordFormatType = \"CSV\",\n },\n KinesisFirehoseOutput = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputKinesisFirehoseOutputArgs\n {\n ResourceArn = exampleAwsKinesisFirehoseDeliveryStream.Arn,\n },\n },\n },\n ReferenceDataSource = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgs\n {\n TableName = \"TABLE-1\",\n ReferenceSchema = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaArgs\n {\n RecordColumns = new[]\n {\n new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordColumnArgs\n {\n Name = \"COLUMN_1\",\n SqlType = \"INTEGER\",\n },\n },\n RecordFormat = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatArgs\n {\n RecordFormatType = \"JSON\",\n MappingParameters = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersArgs\n {\n JsonMappingParameters = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs\n {\n RecordRowPath = \"$\",\n },\n },\n },\n },\n S3ReferenceDataSource = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceS3ReferenceDataSourceArgs\n {\n BucketArn = exampleAwsS3Bucket.Arn,\n FileKey = \"KEY-1\",\n },\n },\n },\n },\n CloudwatchLoggingOptions = new Aws.KinesisAnalyticsV2.Inputs.ApplicationCloudwatchLoggingOptionsArgs\n {\n LogStreamArn = exampleLogStream.Arn,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kinesisanalyticsv2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := cloudwatch.NewLogGroup(ctx, \"example\", \u0026cloudwatch.LogGroupArgs{\n\t\t\tName: pulumi.String(\"example-sql-application\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleLogStream, err := cloudwatch.NewLogStream(ctx, \"example\", \u0026cloudwatch.LogStreamArgs{\n\t\t\tName: pulumi.String(\"example-sql-application\"),\n\t\t\tLogGroupName: example.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = kinesisanalyticsv2.NewApplication(ctx, \"example\", \u0026kinesisanalyticsv2.ApplicationArgs{\n\t\t\tName: pulumi.String(\"example-sql-application\"),\n\t\t\tRuntimeEnvironment: pulumi.String(\"SQL-1_0\"),\n\t\t\tServiceExecutionRole: pulumi.Any(exampleAwsIamRole.Arn),\n\t\t\tApplicationConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationArgs{\n\t\t\t\tApplicationCodeConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationApplicationCodeConfigurationArgs{\n\t\t\t\t\tCodeContent: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs{\n\t\t\t\t\t\tTextContent: pulumi.String(\"SELECT 1;\\n\"),\n\t\t\t\t\t},\n\t\t\t\t\tCodeContentType: pulumi.String(\"PLAINTEXT\"),\n\t\t\t\t},\n\t\t\t\tSqlApplicationConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationArgs{\n\t\t\t\t\tInput: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputTypeArgs{\n\t\t\t\t\t\tNamePrefix: pulumi.String(\"PREFIX_1\"),\n\t\t\t\t\t\tInputParallelism: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputParallelismArgs{\n\t\t\t\t\t\t\tCount: pulumi.Int(3),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tInputSchema: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs{\n\t\t\t\t\t\t\tRecordColumns: kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumnArray{\n\t\t\t\t\t\t\t\t\u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumnArgs{\n\t\t\t\t\t\t\t\t\tName: pulumi.String(\"COLUMN_1\"),\n\t\t\t\t\t\t\t\t\tSqlType: pulumi.String(\"VARCHAR(8)\"),\n\t\t\t\t\t\t\t\t\tMapping: pulumi.String(\"MAPPING-1\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumnArgs{\n\t\t\t\t\t\t\t\t\tName: pulumi.String(\"COLUMN_2\"),\n\t\t\t\t\t\t\t\t\tSqlType: pulumi.String(\"DOUBLE\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tRecordEncoding: pulumi.String(\"UTF-8\"),\n\t\t\t\t\t\t\tRecordFormat: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatArgs{\n\t\t\t\t\t\t\t\tRecordFormatType: pulumi.String(\"CSV\"),\n\t\t\t\t\t\t\t\tMappingParameters: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersArgs{\n\t\t\t\t\t\t\t\t\tCsvMappingParameters: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs{\n\t\t\t\t\t\t\t\t\t\tRecordColumnDelimiter: pulumi.String(\",\"),\n\t\t\t\t\t\t\t\t\t\tRecordRowDelimiter: pulumi.String(\"\\n\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tKinesisStreamsInput: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputKinesisStreamsInputArgs{\n\t\t\t\t\t\t\tResourceArn: pulumi.Any(exampleAwsKinesisStream.Arn),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tOutputs: kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputTypeArray{\n\t\t\t\t\t\t\u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputTypeArgs{\n\t\t\t\t\t\t\tName: pulumi.String(\"OUTPUT_1\"),\n\t\t\t\t\t\t\tDestinationSchema: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputDestinationSchemaArgs{\n\t\t\t\t\t\t\t\tRecordFormatType: pulumi.String(\"JSON\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tLambdaOutput: kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputLambdaOutputArgs{\n\t\t\t\t\t\t\t\tResourceArn: pulumi.Any(exampleAwsLambdaFunction.Arn),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputTypeArgs{\n\t\t\t\t\t\t\tName: pulumi.String(\"OUTPUT_2\"),\n\t\t\t\t\t\t\tDestinationSchema: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputDestinationSchemaArgs{\n\t\t\t\t\t\t\t\tRecordFormatType: pulumi.String(\"CSV\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tKinesisFirehoseOutput: kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputKinesisFirehoseOutputArgs{\n\t\t\t\t\t\t\t\tResourceArn: pulumi.Any(exampleAwsKinesisFirehoseDeliveryStream.Arn),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tReferenceDataSource: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgs{\n\t\t\t\t\t\tTableName: pulumi.String(\"TABLE-1\"),\n\t\t\t\t\t\tReferenceSchema: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaArgs{\n\t\t\t\t\t\t\tRecordColumns: kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordColumnArray{\n\t\t\t\t\t\t\t\t\u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordColumnArgs{\n\t\t\t\t\t\t\t\t\tName: pulumi.String(\"COLUMN_1\"),\n\t\t\t\t\t\t\t\t\tSqlType: pulumi.String(\"INTEGER\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tRecordFormat: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatArgs{\n\t\t\t\t\t\t\t\tRecordFormatType: pulumi.String(\"JSON\"),\n\t\t\t\t\t\t\t\tMappingParameters: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersArgs{\n\t\t\t\t\t\t\t\t\tJsonMappingParameters: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs{\n\t\t\t\t\t\t\t\t\t\tRecordRowPath: pulumi.String(\"$\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tS3ReferenceDataSource: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceS3ReferenceDataSourceArgs{\n\t\t\t\t\t\t\tBucketArn: pulumi.Any(exampleAwsS3Bucket.Arn),\n\t\t\t\t\t\t\tFileKey: pulumi.String(\"KEY-1\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tCloudwatchLoggingOptions: \u0026kinesisanalyticsv2.ApplicationCloudwatchLoggingOptionsArgs{\n\t\t\t\tLogStreamArn: exampleLogStream.Arn,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.cloudwatch.LogGroup;\nimport com.pulumi.aws.cloudwatch.LogGroupArgs;\nimport com.pulumi.aws.cloudwatch.LogStream;\nimport com.pulumi.aws.cloudwatch.LogStreamArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.Application;\nimport com.pulumi.aws.kinesisanalyticsv2.ApplicationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputParallelismArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputKinesisStreamsInputArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceS3ReferenceDataSourceArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationCloudwatchLoggingOptionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new LogGroup(\"example\", LogGroupArgs.builder()\n .name(\"example-sql-application\")\n .build());\n\n var exampleLogStream = new LogStream(\"exampleLogStream\", LogStreamArgs.builder()\n .name(\"example-sql-application\")\n .logGroupName(example.name())\n .build());\n\n var exampleApplication = new Application(\"exampleApplication\", ApplicationArgs.builder()\n .name(\"example-sql-application\")\n .runtimeEnvironment(\"SQL-1_0\")\n .serviceExecutionRole(exampleAwsIamRole.arn())\n .applicationConfiguration(ApplicationApplicationConfigurationArgs.builder()\n .applicationCodeConfiguration(ApplicationApplicationConfigurationApplicationCodeConfigurationArgs.builder()\n .codeContent(ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs.builder()\n .textContent(\"\"\"\nSELECT 1;\n \"\"\")\n .build())\n .codeContentType(\"PLAINTEXT\")\n .build())\n .sqlApplicationConfiguration(ApplicationApplicationConfigurationSqlApplicationConfigurationArgs.builder()\n .input(ApplicationApplicationConfigurationSqlApplicationConfigurationInputArgs.builder()\n .namePrefix(\"PREFIX_1\")\n .inputParallelism(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputParallelismArgs.builder()\n .count(3)\n .build())\n .inputSchema(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs.builder()\n .recordColumns( \n ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumnArgs.builder()\n .name(\"COLUMN_1\")\n .sqlType(\"VARCHAR(8)\")\n .mapping(\"MAPPING-1\")\n .build(),\n ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumnArgs.builder()\n .name(\"COLUMN_2\")\n .sqlType(\"DOUBLE\")\n .build())\n .recordEncoding(\"UTF-8\")\n .recordFormat(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatArgs.builder()\n .recordFormatType(\"CSV\")\n .mappingParameters(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersArgs.builder()\n .csvMappingParameters(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs.builder()\n .recordColumnDelimiter(\",\")\n .recordRowDelimiter(\"\"\"\n\n \"\"\")\n .build())\n .build())\n .build())\n .build())\n .kinesisStreamsInput(ApplicationApplicationConfigurationSqlApplicationConfigurationInputKinesisStreamsInputArgs.builder()\n .resourceArn(exampleAwsKinesisStream.arn())\n .build())\n .build())\n .outputs( \n ApplicationApplicationConfigurationSqlApplicationConfigurationOutputArgs.builder()\n .name(\"OUTPUT_1\")\n .destinationSchema(ApplicationApplicationConfigurationSqlApplicationConfigurationOutputDestinationSchemaArgs.builder()\n .recordFormatType(\"JSON\")\n .build())\n .lambdaOutput(ApplicationApplicationConfigurationSqlApplicationConfigurationOutputLambdaOutputArgs.builder()\n .resourceArn(exampleAwsLambdaFunction.arn())\n .build())\n .build(),\n ApplicationApplicationConfigurationSqlApplicationConfigurationOutputArgs.builder()\n .name(\"OUTPUT_2\")\n .destinationSchema(ApplicationApplicationConfigurationSqlApplicationConfigurationOutputDestinationSchemaArgs.builder()\n .recordFormatType(\"CSV\")\n .build())\n .kinesisFirehoseOutput(ApplicationApplicationConfigurationSqlApplicationConfigurationOutputKinesisFirehoseOutputArgs.builder()\n .resourceArn(exampleAwsKinesisFirehoseDeliveryStream.arn())\n .build())\n .build())\n .referenceDataSource(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgs.builder()\n .tableName(\"TABLE-1\")\n .referenceSchema(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaArgs.builder()\n .recordColumns(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordColumnArgs.builder()\n .name(\"COLUMN_1\")\n .sqlType(\"INTEGER\")\n .build())\n .recordFormat(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatArgs.builder()\n .recordFormatType(\"JSON\")\n .mappingParameters(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersArgs.builder()\n .jsonMappingParameters(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs.builder()\n .recordRowPath(\"$\")\n .build())\n .build())\n .build())\n .build())\n .s3ReferenceDataSource(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceS3ReferenceDataSourceArgs.builder()\n .bucketArn(exampleAwsS3Bucket.arn())\n .fileKey(\"KEY-1\")\n .build())\n .build())\n .build())\n .build())\n .cloudwatchLoggingOptions(ApplicationCloudwatchLoggingOptionsArgs.builder()\n .logStreamArn(exampleLogStream.arn())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:cloudwatch:LogGroup\n properties:\n name: example-sql-application\n exampleLogStream:\n type: aws:cloudwatch:LogStream\n name: example\n properties:\n name: example-sql-application\n logGroupName: ${example.name}\n exampleApplication:\n type: aws:kinesisanalyticsv2:Application\n name: example\n properties:\n name: example-sql-application\n runtimeEnvironment: SQL-1_0\n serviceExecutionRole: ${exampleAwsIamRole.arn}\n applicationConfiguration:\n applicationCodeConfiguration:\n codeContent:\n textContent: |\n SELECT 1;\n codeContentType: PLAINTEXT\n sqlApplicationConfiguration:\n input:\n namePrefix: PREFIX_1\n inputParallelism:\n count: 3\n inputSchema:\n recordColumns:\n - name: COLUMN_1\n sqlType: VARCHAR(8)\n mapping: MAPPING-1\n - name: COLUMN_2\n sqlType: DOUBLE\n recordEncoding: UTF-8\n recordFormat:\n recordFormatType: CSV\n mappingParameters:\n csvMappingParameters:\n recordColumnDelimiter: ','\n recordRowDelimiter: |2+\n kinesisStreamsInput:\n resourceArn: ${exampleAwsKinesisStream.arn}\n outputs:\n - name: OUTPUT_1\n destinationSchema:\n recordFormatType: JSON\n lambdaOutput:\n resourceArn: ${exampleAwsLambdaFunction.arn}\n - name: OUTPUT_2\n destinationSchema:\n recordFormatType: CSV\n kinesisFirehoseOutput:\n resourceArn: ${exampleAwsKinesisFirehoseDeliveryStream.arn}\n referenceDataSource:\n tableName: TABLE-1\n referenceSchema:\n recordColumns:\n - name: COLUMN_1\n sqlType: INTEGER\n recordFormat:\n recordFormatType: JSON\n mappingParameters:\n jsonMappingParameters:\n recordRowPath: $\n s3ReferenceDataSource:\n bucketArn: ${exampleAwsS3Bucket.arn}\n fileKey: KEY-1\n cloudwatchLoggingOptions:\n logStreamArn: ${exampleLogStream.arn}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### VPC Configuration\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.s3.BucketV2(\"example\", {bucket: \"example-flink-application\"});\nconst exampleBucketObjectv2 = new aws.s3.BucketObjectv2(\"example\", {\n bucket: example.id,\n key: \"example-flink-application\",\n source: new pulumi.asset.FileAsset(\"flink-app.jar\"),\n});\nconst exampleApplication = new aws.kinesisanalyticsv2.Application(\"example\", {\n name: \"example-flink-application\",\n runtimeEnvironment: \"FLINK-1_8\",\n serviceExecutionRole: exampleAwsIamRole.arn,\n applicationConfiguration: {\n applicationCodeConfiguration: {\n codeContent: {\n s3ContentLocation: {\n bucketArn: example.arn,\n fileKey: exampleBucketObjectv2.key,\n },\n },\n codeContentType: \"ZIPFILE\",\n },\n vpcConfiguration: {\n securityGroupIds: [\n exampleAwsSecurityGroup[0].id,\n exampleAwsSecurityGroup[1].id,\n ],\n subnetIds: [exampleAwsSubnet.id],\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.s3.BucketV2(\"example\", bucket=\"example-flink-application\")\nexample_bucket_objectv2 = aws.s3.BucketObjectv2(\"example\",\n bucket=example.id,\n key=\"example-flink-application\",\n source=pulumi.FileAsset(\"flink-app.jar\"))\nexample_application = aws.kinesisanalyticsv2.Application(\"example\",\n name=\"example-flink-application\",\n runtime_environment=\"FLINK-1_8\",\n service_execution_role=example_aws_iam_role[\"arn\"],\n application_configuration={\n \"application_code_configuration\": {\n \"code_content\": {\n \"s3_content_location\": {\n \"bucket_arn\": example.arn,\n \"file_key\": example_bucket_objectv2.key,\n },\n },\n \"code_content_type\": \"ZIPFILE\",\n },\n \"vpc_configuration\": {\n \"security_group_ids\": [\n example_aws_security_group[0][\"id\"],\n example_aws_security_group[1][\"id\"],\n ],\n \"subnet_ids\": [example_aws_subnet[\"id\"]],\n },\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.S3.BucketV2(\"example\", new()\n {\n Bucket = \"example-flink-application\",\n });\n\n var exampleBucketObjectv2 = new Aws.S3.BucketObjectv2(\"example\", new()\n {\n Bucket = example.Id,\n Key = \"example-flink-application\",\n Source = new FileAsset(\"flink-app.jar\"),\n });\n\n var exampleApplication = new Aws.KinesisAnalyticsV2.Application(\"example\", new()\n {\n Name = \"example-flink-application\",\n RuntimeEnvironment = \"FLINK-1_8\",\n ServiceExecutionRole = exampleAwsIamRole.Arn,\n ApplicationConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationArgs\n {\n ApplicationCodeConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationArgs\n {\n CodeContent = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs\n {\n S3ContentLocation = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs\n {\n BucketArn = example.Arn,\n FileKey = exampleBucketObjectv2.Key,\n },\n },\n CodeContentType = \"ZIPFILE\",\n },\n VpcConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationVpcConfigurationArgs\n {\n SecurityGroupIds = new[]\n {\n exampleAwsSecurityGroup[0].Id,\n exampleAwsSecurityGroup[1].Id,\n },\n SubnetIds = new[]\n {\n exampleAwsSubnet.Id,\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kinesisanalyticsv2\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := s3.NewBucketV2(ctx, \"example\", \u0026s3.BucketV2Args{\n\t\t\tBucket: pulumi.String(\"example-flink-application\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleBucketObjectv2, err := s3.NewBucketObjectv2(ctx, \"example\", \u0026s3.BucketObjectv2Args{\n\t\t\tBucket: example.ID(),\n\t\t\tKey: pulumi.String(\"example-flink-application\"),\n\t\t\tSource: pulumi.NewFileAsset(\"flink-app.jar\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = kinesisanalyticsv2.NewApplication(ctx, \"example\", \u0026kinesisanalyticsv2.ApplicationArgs{\n\t\t\tName: pulumi.String(\"example-flink-application\"),\n\t\t\tRuntimeEnvironment: pulumi.String(\"FLINK-1_8\"),\n\t\t\tServiceExecutionRole: pulumi.Any(exampleAwsIamRole.Arn),\n\t\t\tApplicationConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationArgs{\n\t\t\t\tApplicationCodeConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationApplicationCodeConfigurationArgs{\n\t\t\t\t\tCodeContent: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs{\n\t\t\t\t\t\tS3ContentLocation: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs{\n\t\t\t\t\t\t\tBucketArn: example.Arn,\n\t\t\t\t\t\t\tFileKey: exampleBucketObjectv2.Key,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tCodeContentType: pulumi.String(\"ZIPFILE\"),\n\t\t\t\t},\n\t\t\t\tVpcConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationVpcConfigurationArgs{\n\t\t\t\t\tSecurityGroupIds: pulumi.StringArray{\n\t\t\t\t\t\texampleAwsSecurityGroup[0].Id,\n\t\t\t\t\t\texampleAwsSecurityGroup[1].Id,\n\t\t\t\t\t},\n\t\t\t\t\tSubnetIds: pulumi.StringArray{\n\t\t\t\t\t\texampleAwsSubnet.Id,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.s3.BucketV2;\nimport com.pulumi.aws.s3.BucketV2Args;\nimport com.pulumi.aws.s3.BucketObjectv2;\nimport com.pulumi.aws.s3.BucketObjectv2Args;\nimport com.pulumi.aws.kinesisanalyticsv2.Application;\nimport com.pulumi.aws.kinesisanalyticsv2.ApplicationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationVpcConfigurationArgs;\nimport com.pulumi.asset.FileAsset;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new BucketV2(\"example\", BucketV2Args.builder()\n .bucket(\"example-flink-application\")\n .build());\n\n var exampleBucketObjectv2 = new BucketObjectv2(\"exampleBucketObjectv2\", BucketObjectv2Args.builder()\n .bucket(example.id())\n .key(\"example-flink-application\")\n .source(new FileAsset(\"flink-app.jar\"))\n .build());\n\n var exampleApplication = new Application(\"exampleApplication\", ApplicationArgs.builder()\n .name(\"example-flink-application\")\n .runtimeEnvironment(\"FLINK-1_8\")\n .serviceExecutionRole(exampleAwsIamRole.arn())\n .applicationConfiguration(ApplicationApplicationConfigurationArgs.builder()\n .applicationCodeConfiguration(ApplicationApplicationConfigurationApplicationCodeConfigurationArgs.builder()\n .codeContent(ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs.builder()\n .s3ContentLocation(ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs.builder()\n .bucketArn(example.arn())\n .fileKey(exampleBucketObjectv2.key())\n .build())\n .build())\n .codeContentType(\"ZIPFILE\")\n .build())\n .vpcConfiguration(ApplicationApplicationConfigurationVpcConfigurationArgs.builder()\n .securityGroupIds( \n exampleAwsSecurityGroup[0].id(),\n exampleAwsSecurityGroup[1].id())\n .subnetIds(exampleAwsSubnet.id())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:s3:BucketV2\n properties:\n bucket: example-flink-application\n exampleBucketObjectv2:\n type: aws:s3:BucketObjectv2\n name: example\n properties:\n bucket: ${example.id}\n key: example-flink-application\n source:\n fn::FileAsset: flink-app.jar\n exampleApplication:\n type: aws:kinesisanalyticsv2:Application\n name: example\n properties:\n name: example-flink-application\n runtimeEnvironment: FLINK-1_8\n serviceExecutionRole: ${exampleAwsIamRole.arn}\n applicationConfiguration:\n applicationCodeConfiguration:\n codeContent:\n s3ContentLocation:\n bucketArn: ${example.arn}\n fileKey: ${exampleBucketObjectv2.key}\n codeContentType: ZIPFILE\n vpcConfiguration:\n securityGroupIds:\n - ${exampleAwsSecurityGroup[0].id}\n - ${exampleAwsSecurityGroup[1].id}\n subnetIds:\n - ${exampleAwsSubnet.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import `aws_kinesisanalyticsv2_application` using the application ARN. For example:\n\n```sh\n$ pulumi import aws:kinesisanalyticsv2/application:Application example arn:aws:kinesisanalytics:us-west-2:123456789012:application/example-sql-application\n```\n", + "description": "Manages a Kinesis Analytics v2 Application.\nThis resource can be used to manage both Kinesis Data Analytics for SQL applications and Kinesis Data Analytics for Apache Flink applications.\n\n\u003e **Note:** Kinesis Data Analytics for SQL applications created using this resource cannot currently be viewed in the AWS Console. To manage Kinesis Data Analytics for SQL applications that can also be viewed in the AWS Console, use the `aws.kinesis.AnalyticsApplication` resource.\n\n## Example Usage\n\n### Apache Flink Application\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.s3.BucketV2(\"example\", {bucket: \"example-flink-application\"});\nconst exampleBucketObjectv2 = new aws.s3.BucketObjectv2(\"example\", {\n bucket: example.id,\n key: \"example-flink-application\",\n source: new pulumi.asset.FileAsset(\"flink-app.jar\"),\n});\nconst exampleApplication = new aws.kinesisanalyticsv2.Application(\"example\", {\n name: \"example-flink-application\",\n runtimeEnvironment: \"FLINK-1_8\",\n serviceExecutionRole: exampleAwsIamRole.arn,\n applicationConfiguration: {\n applicationCodeConfiguration: {\n codeContent: {\n s3ContentLocation: {\n bucketArn: example.arn,\n fileKey: exampleBucketObjectv2.key,\n },\n },\n codeContentType: \"ZIPFILE\",\n },\n environmentProperties: {\n propertyGroups: [\n {\n propertyGroupId: \"PROPERTY-GROUP-1\",\n propertyMap: {\n Key1: \"Value1\",\n },\n },\n {\n propertyGroupId: \"PROPERTY-GROUP-2\",\n propertyMap: {\n KeyA: \"ValueA\",\n KeyB: \"ValueB\",\n },\n },\n ],\n },\n flinkApplicationConfiguration: {\n checkpointConfiguration: {\n configurationType: \"DEFAULT\",\n },\n monitoringConfiguration: {\n configurationType: \"CUSTOM\",\n logLevel: \"DEBUG\",\n metricsLevel: \"TASK\",\n },\n parallelismConfiguration: {\n autoScalingEnabled: true,\n configurationType: \"CUSTOM\",\n parallelism: 10,\n parallelismPerKpu: 4,\n },\n },\n },\n tags: {\n Environment: \"test\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.s3.BucketV2(\"example\", bucket=\"example-flink-application\")\nexample_bucket_objectv2 = aws.s3.BucketObjectv2(\"example\",\n bucket=example.id,\n key=\"example-flink-application\",\n source=pulumi.FileAsset(\"flink-app.jar\"))\nexample_application = aws.kinesisanalyticsv2.Application(\"example\",\n name=\"example-flink-application\",\n runtime_environment=\"FLINK-1_8\",\n service_execution_role=example_aws_iam_role[\"arn\"],\n application_configuration={\n \"application_code_configuration\": {\n \"code_content\": {\n \"s3_content_location\": {\n \"bucket_arn\": example.arn,\n \"file_key\": example_bucket_objectv2.key,\n },\n },\n \"code_content_type\": \"ZIPFILE\",\n },\n \"environment_properties\": {\n \"property_groups\": [\n {\n \"property_group_id\": \"PROPERTY-GROUP-1\",\n \"property_map\": {\n \"key1\": \"Value1\",\n },\n },\n {\n \"property_group_id\": \"PROPERTY-GROUP-2\",\n \"property_map\": {\n \"key_a\": \"ValueA\",\n \"key_b\": \"ValueB\",\n },\n },\n ],\n },\n \"flink_application_configuration\": {\n \"checkpoint_configuration\": {\n \"configuration_type\": \"DEFAULT\",\n },\n \"monitoring_configuration\": {\n \"configuration_type\": \"CUSTOM\",\n \"log_level\": \"DEBUG\",\n \"metrics_level\": \"TASK\",\n },\n \"parallelism_configuration\": {\n \"auto_scaling_enabled\": True,\n \"configuration_type\": \"CUSTOM\",\n \"parallelism\": 10,\n \"parallelism_per_kpu\": 4,\n },\n },\n },\n tags={\n \"Environment\": \"test\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.S3.BucketV2(\"example\", new()\n {\n Bucket = \"example-flink-application\",\n });\n\n var exampleBucketObjectv2 = new Aws.S3.BucketObjectv2(\"example\", new()\n {\n Bucket = example.Id,\n Key = \"example-flink-application\",\n Source = new FileAsset(\"flink-app.jar\"),\n });\n\n var exampleApplication = new Aws.KinesisAnalyticsV2.Application(\"example\", new()\n {\n Name = \"example-flink-application\",\n RuntimeEnvironment = \"FLINK-1_8\",\n ServiceExecutionRole = exampleAwsIamRole.Arn,\n ApplicationConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationArgs\n {\n ApplicationCodeConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationArgs\n {\n CodeContent = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs\n {\n S3ContentLocation = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs\n {\n BucketArn = example.Arn,\n FileKey = exampleBucketObjectv2.Key,\n },\n },\n CodeContentType = \"ZIPFILE\",\n },\n EnvironmentProperties = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationEnvironmentPropertiesArgs\n {\n PropertyGroups = new[]\n {\n new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationEnvironmentPropertiesPropertyGroupArgs\n {\n PropertyGroupId = \"PROPERTY-GROUP-1\",\n PropertyMap = \n {\n { \"Key1\", \"Value1\" },\n },\n },\n new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationEnvironmentPropertiesPropertyGroupArgs\n {\n PropertyGroupId = \"PROPERTY-GROUP-2\",\n PropertyMap = \n {\n { \"KeyA\", \"ValueA\" },\n { \"KeyB\", \"ValueB\" },\n },\n },\n },\n },\n FlinkApplicationConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationArgs\n {\n CheckpointConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgs\n {\n ConfigurationType = \"DEFAULT\",\n },\n MonitoringConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationMonitoringConfigurationArgs\n {\n ConfigurationType = \"CUSTOM\",\n LogLevel = \"DEBUG\",\n MetricsLevel = \"TASK\",\n },\n ParallelismConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs\n {\n AutoScalingEnabled = true,\n ConfigurationType = \"CUSTOM\",\n Parallelism = 10,\n ParallelismPerKpu = 4,\n },\n },\n },\n Tags = \n {\n { \"Environment\", \"test\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kinesisanalyticsv2\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := s3.NewBucketV2(ctx, \"example\", \u0026s3.BucketV2Args{\n\t\t\tBucket: pulumi.String(\"example-flink-application\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleBucketObjectv2, err := s3.NewBucketObjectv2(ctx, \"example\", \u0026s3.BucketObjectv2Args{\n\t\t\tBucket: example.ID(),\n\t\t\tKey: pulumi.String(\"example-flink-application\"),\n\t\t\tSource: pulumi.NewFileAsset(\"flink-app.jar\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = kinesisanalyticsv2.NewApplication(ctx, \"example\", \u0026kinesisanalyticsv2.ApplicationArgs{\n\t\t\tName: pulumi.String(\"example-flink-application\"),\n\t\t\tRuntimeEnvironment: pulumi.String(\"FLINK-1_8\"),\n\t\t\tServiceExecutionRole: pulumi.Any(exampleAwsIamRole.Arn),\n\t\t\tApplicationConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationArgs{\n\t\t\t\tApplicationCodeConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationApplicationCodeConfigurationArgs{\n\t\t\t\t\tCodeContent: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs{\n\t\t\t\t\t\tS3ContentLocation: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs{\n\t\t\t\t\t\t\tBucketArn: example.Arn,\n\t\t\t\t\t\t\tFileKey: exampleBucketObjectv2.Key,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tCodeContentType: pulumi.String(\"ZIPFILE\"),\n\t\t\t\t},\n\t\t\t\tEnvironmentProperties: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationEnvironmentPropertiesArgs{\n\t\t\t\t\tPropertyGroups: kinesisanalyticsv2.ApplicationApplicationConfigurationEnvironmentPropertiesPropertyGroupArray{\n\t\t\t\t\t\t\u0026kinesisanalyticsv2.ApplicationApplicationConfigurationEnvironmentPropertiesPropertyGroupArgs{\n\t\t\t\t\t\t\tPropertyGroupId: pulumi.String(\"PROPERTY-GROUP-1\"),\n\t\t\t\t\t\t\tPropertyMap: pulumi.StringMap{\n\t\t\t\t\t\t\t\t\"Key1\": pulumi.String(\"Value1\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026kinesisanalyticsv2.ApplicationApplicationConfigurationEnvironmentPropertiesPropertyGroupArgs{\n\t\t\t\t\t\t\tPropertyGroupId: pulumi.String(\"PROPERTY-GROUP-2\"),\n\t\t\t\t\t\t\tPropertyMap: pulumi.StringMap{\n\t\t\t\t\t\t\t\t\"KeyA\": pulumi.String(\"ValueA\"),\n\t\t\t\t\t\t\t\t\"KeyB\": pulumi.String(\"ValueB\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tFlinkApplicationConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationFlinkApplicationConfigurationArgs{\n\t\t\t\t\tCheckpointConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgs{\n\t\t\t\t\t\tConfigurationType: pulumi.String(\"DEFAULT\"),\n\t\t\t\t\t},\n\t\t\t\t\tMonitoringConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationFlinkApplicationConfigurationMonitoringConfigurationArgs{\n\t\t\t\t\t\tConfigurationType: pulumi.String(\"CUSTOM\"),\n\t\t\t\t\t\tLogLevel: pulumi.String(\"DEBUG\"),\n\t\t\t\t\t\tMetricsLevel: pulumi.String(\"TASK\"),\n\t\t\t\t\t},\n\t\t\t\t\tParallelismConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs{\n\t\t\t\t\t\tAutoScalingEnabled: pulumi.Bool(true),\n\t\t\t\t\t\tConfigurationType: pulumi.String(\"CUSTOM\"),\n\t\t\t\t\t\tParallelism: pulumi.Int(10),\n\t\t\t\t\t\tParallelismPerKpu: pulumi.Int(4),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"Environment\": pulumi.String(\"test\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.s3.BucketV2;\nimport com.pulumi.aws.s3.BucketV2Args;\nimport com.pulumi.aws.s3.BucketObjectv2;\nimport com.pulumi.aws.s3.BucketObjectv2Args;\nimport com.pulumi.aws.kinesisanalyticsv2.Application;\nimport com.pulumi.aws.kinesisanalyticsv2.ApplicationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationEnvironmentPropertiesArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationMonitoringConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs;\nimport com.pulumi.asset.FileAsset;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new BucketV2(\"example\", BucketV2Args.builder()\n .bucket(\"example-flink-application\")\n .build());\n\n var exampleBucketObjectv2 = new BucketObjectv2(\"exampleBucketObjectv2\", BucketObjectv2Args.builder()\n .bucket(example.id())\n .key(\"example-flink-application\")\n .source(new FileAsset(\"flink-app.jar\"))\n .build());\n\n var exampleApplication = new Application(\"exampleApplication\", ApplicationArgs.builder()\n .name(\"example-flink-application\")\n .runtimeEnvironment(\"FLINK-1_8\")\n .serviceExecutionRole(exampleAwsIamRole.arn())\n .applicationConfiguration(ApplicationApplicationConfigurationArgs.builder()\n .applicationCodeConfiguration(ApplicationApplicationConfigurationApplicationCodeConfigurationArgs.builder()\n .codeContent(ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs.builder()\n .s3ContentLocation(ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs.builder()\n .bucketArn(example.arn())\n .fileKey(exampleBucketObjectv2.key())\n .build())\n .build())\n .codeContentType(\"ZIPFILE\")\n .build())\n .environmentProperties(ApplicationApplicationConfigurationEnvironmentPropertiesArgs.builder()\n .propertyGroups( \n ApplicationApplicationConfigurationEnvironmentPropertiesPropertyGroupArgs.builder()\n .propertyGroupId(\"PROPERTY-GROUP-1\")\n .propertyMap(Map.of(\"Key1\", \"Value1\"))\n .build(),\n ApplicationApplicationConfigurationEnvironmentPropertiesPropertyGroupArgs.builder()\n .propertyGroupId(\"PROPERTY-GROUP-2\")\n .propertyMap(Map.ofEntries(\n Map.entry(\"KeyA\", \"ValueA\"),\n Map.entry(\"KeyB\", \"ValueB\")\n ))\n .build())\n .build())\n .flinkApplicationConfiguration(ApplicationApplicationConfigurationFlinkApplicationConfigurationArgs.builder()\n .checkpointConfiguration(ApplicationApplicationConfigurationFlinkApplicationConfigurationCheckpointConfigurationArgs.builder()\n .configurationType(\"DEFAULT\")\n .build())\n .monitoringConfiguration(ApplicationApplicationConfigurationFlinkApplicationConfigurationMonitoringConfigurationArgs.builder()\n .configurationType(\"CUSTOM\")\n .logLevel(\"DEBUG\")\n .metricsLevel(\"TASK\")\n .build())\n .parallelismConfiguration(ApplicationApplicationConfigurationFlinkApplicationConfigurationParallelismConfigurationArgs.builder()\n .autoScalingEnabled(true)\n .configurationType(\"CUSTOM\")\n .parallelism(10)\n .parallelismPerKpu(4)\n .build())\n .build())\n .build())\n .tags(Map.of(\"Environment\", \"test\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:s3:BucketV2\n properties:\n bucket: example-flink-application\n exampleBucketObjectv2:\n type: aws:s3:BucketObjectv2\n name: example\n properties:\n bucket: ${example.id}\n key: example-flink-application\n source:\n fn::FileAsset: flink-app.jar\n exampleApplication:\n type: aws:kinesisanalyticsv2:Application\n name: example\n properties:\n name: example-flink-application\n runtimeEnvironment: FLINK-1_8\n serviceExecutionRole: ${exampleAwsIamRole.arn}\n applicationConfiguration:\n applicationCodeConfiguration:\n codeContent:\n s3ContentLocation:\n bucketArn: ${example.arn}\n fileKey: ${exampleBucketObjectv2.key}\n codeContentType: ZIPFILE\n environmentProperties:\n propertyGroups:\n - propertyGroupId: PROPERTY-GROUP-1\n propertyMap:\n Key1: Value1\n - propertyGroupId: PROPERTY-GROUP-2\n propertyMap:\n KeyA: ValueA\n KeyB: ValueB\n flinkApplicationConfiguration:\n checkpointConfiguration:\n configurationType: DEFAULT\n monitoringConfiguration:\n configurationType: CUSTOM\n logLevel: DEBUG\n metricsLevel: TASK\n parallelismConfiguration:\n autoScalingEnabled: true\n configurationType: CUSTOM\n parallelism: 10\n parallelismPerKpu: 4\n tags:\n Environment: test\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### SQL Application\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.cloudwatch.LogGroup(\"example\", {name: \"example-sql-application\"});\nconst exampleLogStream = new aws.cloudwatch.LogStream(\"example\", {\n name: \"example-sql-application\",\n logGroupName: example.name,\n});\nconst exampleApplication = new aws.kinesisanalyticsv2.Application(\"example\", {\n name: \"example-sql-application\",\n runtimeEnvironment: \"SQL-1_0\",\n serviceExecutionRole: exampleAwsIamRole.arn,\n applicationConfiguration: {\n applicationCodeConfiguration: {\n codeContent: {\n textContent: \"SELECT 1;\\n\",\n },\n codeContentType: \"PLAINTEXT\",\n },\n sqlApplicationConfiguration: {\n input: {\n namePrefix: \"PREFIX_1\",\n inputParallelism: {\n count: 3,\n },\n inputSchema: {\n recordColumns: [\n {\n name: \"COLUMN_1\",\n sqlType: \"VARCHAR(8)\",\n mapping: \"MAPPING-1\",\n },\n {\n name: \"COLUMN_2\",\n sqlType: \"DOUBLE\",\n },\n ],\n recordEncoding: \"UTF-8\",\n recordFormat: {\n recordFormatType: \"CSV\",\n mappingParameters: {\n csvMappingParameters: {\n recordColumnDelimiter: \",\",\n recordRowDelimiter: \"\\n\",\n },\n },\n },\n },\n kinesisStreamsInput: {\n resourceArn: exampleAwsKinesisStream.arn,\n },\n },\n outputs: [\n {\n name: \"OUTPUT_1\",\n destinationSchema: {\n recordFormatType: \"JSON\",\n },\n lambdaOutput: {\n resourceArn: exampleAwsLambdaFunction.arn,\n },\n },\n {\n name: \"OUTPUT_2\",\n destinationSchema: {\n recordFormatType: \"CSV\",\n },\n kinesisFirehoseOutput: {\n resourceArn: exampleAwsKinesisFirehoseDeliveryStream.arn,\n },\n },\n ],\n referenceDataSource: {\n tableName: \"TABLE-1\",\n referenceSchema: {\n recordColumns: [{\n name: \"COLUMN_1\",\n sqlType: \"INTEGER\",\n }],\n recordFormat: {\n recordFormatType: \"JSON\",\n mappingParameters: {\n jsonMappingParameters: {\n recordRowPath: \"$\",\n },\n },\n },\n },\n s3ReferenceDataSource: {\n bucketArn: exampleAwsS3Bucket.arn,\n fileKey: \"KEY-1\",\n },\n },\n },\n },\n cloudwatchLoggingOptions: {\n logStreamArn: exampleLogStream.arn,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.cloudwatch.LogGroup(\"example\", name=\"example-sql-application\")\nexample_log_stream = aws.cloudwatch.LogStream(\"example\",\n name=\"example-sql-application\",\n log_group_name=example.name)\nexample_application = aws.kinesisanalyticsv2.Application(\"example\",\n name=\"example-sql-application\",\n runtime_environment=\"SQL-1_0\",\n service_execution_role=example_aws_iam_role[\"arn\"],\n application_configuration={\n \"application_code_configuration\": {\n \"code_content\": {\n \"text_content\": \"SELECT 1;\\n\",\n },\n \"code_content_type\": \"PLAINTEXT\",\n },\n \"sql_application_configuration\": {\n \"input\": {\n \"name_prefix\": \"PREFIX_1\",\n \"input_parallelism\": {\n \"count\": 3,\n },\n \"input_schema\": {\n \"record_columns\": [\n {\n \"name\": \"COLUMN_1\",\n \"sql_type\": \"VARCHAR(8)\",\n \"mapping\": \"MAPPING-1\",\n },\n {\n \"name\": \"COLUMN_2\",\n \"sql_type\": \"DOUBLE\",\n },\n ],\n \"record_encoding\": \"UTF-8\",\n \"record_format\": {\n \"record_format_type\": \"CSV\",\n \"mapping_parameters\": {\n \"csv_mapping_parameters\": {\n \"record_column_delimiter\": \",\",\n \"record_row_delimiter\": \"\\n\",\n },\n },\n },\n },\n \"kinesis_streams_input\": {\n \"resource_arn\": example_aws_kinesis_stream[\"arn\"],\n },\n },\n \"outputs\": [\n {\n \"name\": \"OUTPUT_1\",\n \"destination_schema\": {\n \"record_format_type\": \"JSON\",\n },\n \"lambda_output\": {\n \"resource_arn\": example_aws_lambda_function[\"arn\"],\n },\n },\n {\n \"name\": \"OUTPUT_2\",\n \"destination_schema\": {\n \"record_format_type\": \"CSV\",\n },\n \"kinesis_firehose_output\": {\n \"resource_arn\": example_aws_kinesis_firehose_delivery_stream[\"arn\"],\n },\n },\n ],\n \"reference_data_source\": {\n \"table_name\": \"TABLE-1\",\n \"reference_schema\": {\n \"record_columns\": [{\n \"name\": \"COLUMN_1\",\n \"sql_type\": \"INTEGER\",\n }],\n \"record_format\": {\n \"record_format_type\": \"JSON\",\n \"mapping_parameters\": {\n \"json_mapping_parameters\": {\n \"record_row_path\": \"$\",\n },\n },\n },\n },\n \"s3_reference_data_source\": {\n \"bucket_arn\": example_aws_s3_bucket[\"arn\"],\n \"file_key\": \"KEY-1\",\n },\n },\n },\n },\n cloudwatch_logging_options={\n \"log_stream_arn\": example_log_stream.arn,\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.CloudWatch.LogGroup(\"example\", new()\n {\n Name = \"example-sql-application\",\n });\n\n var exampleLogStream = new Aws.CloudWatch.LogStream(\"example\", new()\n {\n Name = \"example-sql-application\",\n LogGroupName = example.Name,\n });\n\n var exampleApplication = new Aws.KinesisAnalyticsV2.Application(\"example\", new()\n {\n Name = \"example-sql-application\",\n RuntimeEnvironment = \"SQL-1_0\",\n ServiceExecutionRole = exampleAwsIamRole.Arn,\n ApplicationConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationArgs\n {\n ApplicationCodeConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationArgs\n {\n CodeContent = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs\n {\n TextContent = @\"SELECT 1;\n\",\n },\n CodeContentType = \"PLAINTEXT\",\n },\n SqlApplicationConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationArgs\n {\n Input = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputArgs\n {\n NamePrefix = \"PREFIX_1\",\n InputParallelism = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputParallelismArgs\n {\n Count = 3,\n },\n InputSchema = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs\n {\n RecordColumns = new[]\n {\n new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumnArgs\n {\n Name = \"COLUMN_1\",\n SqlType = \"VARCHAR(8)\",\n Mapping = \"MAPPING-1\",\n },\n new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumnArgs\n {\n Name = \"COLUMN_2\",\n SqlType = \"DOUBLE\",\n },\n },\n RecordEncoding = \"UTF-8\",\n RecordFormat = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatArgs\n {\n RecordFormatType = \"CSV\",\n MappingParameters = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersArgs\n {\n CsvMappingParameters = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationCsvMappingParametersArgs\n {\n RecordColumnDelimiter = \",\",\n RecordRowDelimiter = @\"\n\",\n },\n },\n },\n },\n KinesisStreamsInput = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputKinesisStreamsInputArgs\n {\n ResourceArn = exampleAwsKinesisStream.Arn,\n },\n },\n Outputs = new[]\n {\n new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputArgs\n {\n Name = \"OUTPUT_1\",\n DestinationSchema = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputDestinationSchemaArgs\n {\n RecordFormatType = \"JSON\",\n },\n LambdaOutput = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputLambdaOutputArgs\n {\n ResourceArn = exampleAwsLambdaFunction.Arn,\n },\n },\n new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputArgs\n {\n Name = \"OUTPUT_2\",\n DestinationSchema = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputDestinationSchemaArgs\n {\n RecordFormatType = \"CSV\",\n },\n KinesisFirehoseOutput = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputKinesisFirehoseOutputArgs\n {\n ResourceArn = exampleAwsKinesisFirehoseDeliveryStream.Arn,\n },\n },\n },\n ReferenceDataSource = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgs\n {\n TableName = \"TABLE-1\",\n ReferenceSchema = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaArgs\n {\n RecordColumns = new[]\n {\n new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordColumnArgs\n {\n Name = \"COLUMN_1\",\n SqlType = \"INTEGER\",\n },\n },\n RecordFormat = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatArgs\n {\n RecordFormatType = \"JSON\",\n MappingParameters = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationMappingParametersArgs\n {\n JsonMappingParameters = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationJsonMappingParametersArgs\n {\n RecordRowPath = \"$\",\n },\n },\n },\n },\n S3ReferenceDataSource = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceS3ReferenceDataSourceArgs\n {\n BucketArn = exampleAwsS3Bucket.Arn,\n FileKey = \"KEY-1\",\n },\n },\n },\n },\n CloudwatchLoggingOptions = new Aws.KinesisAnalyticsV2.Inputs.ApplicationCloudwatchLoggingOptionsArgs\n {\n LogStreamArn = exampleLogStream.Arn,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kinesisanalyticsv2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := cloudwatch.NewLogGroup(ctx, \"example\", \u0026cloudwatch.LogGroupArgs{\n\t\t\tName: pulumi.String(\"example-sql-application\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleLogStream, err := cloudwatch.NewLogStream(ctx, \"example\", \u0026cloudwatch.LogStreamArgs{\n\t\t\tName: pulumi.String(\"example-sql-application\"),\n\t\t\tLogGroupName: example.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = kinesisanalyticsv2.NewApplication(ctx, \"example\", \u0026kinesisanalyticsv2.ApplicationArgs{\n\t\t\tName: pulumi.String(\"example-sql-application\"),\n\t\t\tRuntimeEnvironment: pulumi.String(\"SQL-1_0\"),\n\t\t\tServiceExecutionRole: pulumi.Any(exampleAwsIamRole.Arn),\n\t\t\tApplicationConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationArgs{\n\t\t\t\tApplicationCodeConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationApplicationCodeConfigurationArgs{\n\t\t\t\t\tCodeContent: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs{\n\t\t\t\t\t\tTextContent: pulumi.String(\"SELECT 1;\\n\"),\n\t\t\t\t\t},\n\t\t\t\t\tCodeContentType: pulumi.String(\"PLAINTEXT\"),\n\t\t\t\t},\n\t\t\t\tSqlApplicationConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationArgs{\n\t\t\t\t\tInput: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputTypeArgs{\n\t\t\t\t\t\tNamePrefix: pulumi.String(\"PREFIX_1\"),\n\t\t\t\t\t\tInputParallelism: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputParallelismArgs{\n\t\t\t\t\t\t\tCount: pulumi.Int(3),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tInputSchema: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs{\n\t\t\t\t\t\t\tRecordColumns: kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumnArray{\n\t\t\t\t\t\t\t\t\u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumnArgs{\n\t\t\t\t\t\t\t\t\tName: pulumi.String(\"COLUMN_1\"),\n\t\t\t\t\t\t\t\t\tSqlType: pulumi.String(\"VARCHAR(8)\"),\n\t\t\t\t\t\t\t\t\tMapping: pulumi.String(\"MAPPING-1\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumnArgs{\n\t\t\t\t\t\t\t\t\tName: pulumi.String(\"COLUMN_2\"),\n\t\t\t\t\t\t\t\t\tSqlType: pulumi.String(\"DOUBLE\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tRecordEncoding: pulumi.String(\"UTF-8\"),\n\t\t\t\t\t\t\tRecordFormat: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatArgs{\n\t\t\t\t\t\t\t\tRecordFormatType: pulumi.String(\"CSV\"),\n\t\t\t\t\t\t\t\tMappingParameters: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersArgs{\n\t\t\t\t\t\t\t\t\tCsvMappingParameters: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationCsvMappingParametersArgs{\n\t\t\t\t\t\t\t\t\t\tRecordColumnDelimiter: pulumi.String(\",\"),\n\t\t\t\t\t\t\t\t\t\tRecordRowDelimiter: pulumi.String(\"\\n\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tKinesisStreamsInput: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationInputKinesisStreamsInputArgs{\n\t\t\t\t\t\t\tResourceArn: pulumi.Any(exampleAwsKinesisStream.Arn),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tOutputs: kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputTypeArray{\n\t\t\t\t\t\t\u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputTypeArgs{\n\t\t\t\t\t\t\tName: pulumi.String(\"OUTPUT_1\"),\n\t\t\t\t\t\t\tDestinationSchema: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputDestinationSchemaArgs{\n\t\t\t\t\t\t\t\tRecordFormatType: pulumi.String(\"JSON\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tLambdaOutput: kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputLambdaOutputArgs{\n\t\t\t\t\t\t\t\tResourceArn: pulumi.Any(exampleAwsLambdaFunction.Arn),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputTypeArgs{\n\t\t\t\t\t\t\tName: pulumi.String(\"OUTPUT_2\"),\n\t\t\t\t\t\t\tDestinationSchema: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputDestinationSchemaArgs{\n\t\t\t\t\t\t\t\tRecordFormatType: pulumi.String(\"CSV\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tKinesisFirehoseOutput: kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputKinesisFirehoseOutputArgs{\n\t\t\t\t\t\t\t\tResourceArn: pulumi.Any(exampleAwsKinesisFirehoseDeliveryStream.Arn),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tReferenceDataSource: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgs{\n\t\t\t\t\t\tTableName: pulumi.String(\"TABLE-1\"),\n\t\t\t\t\t\tReferenceSchema: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaArgs{\n\t\t\t\t\t\t\tRecordColumns: kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordColumnArray{\n\t\t\t\t\t\t\t\t\u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordColumnArgs{\n\t\t\t\t\t\t\t\t\tName: pulumi.String(\"COLUMN_1\"),\n\t\t\t\t\t\t\t\t\tSqlType: pulumi.String(\"INTEGER\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tRecordFormat: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatArgs{\n\t\t\t\t\t\t\t\tRecordFormatType: pulumi.String(\"JSON\"),\n\t\t\t\t\t\t\t\tMappingParameters: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationMappingParametersArgs{\n\t\t\t\t\t\t\t\t\tJsonMappingParameters: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationJsonMappingParametersArgs{\n\t\t\t\t\t\t\t\t\t\tRecordRowPath: pulumi.String(\"$\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tS3ReferenceDataSource: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceS3ReferenceDataSourceArgs{\n\t\t\t\t\t\t\tBucketArn: pulumi.Any(exampleAwsS3Bucket.Arn),\n\t\t\t\t\t\t\tFileKey: pulumi.String(\"KEY-1\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tCloudwatchLoggingOptions: \u0026kinesisanalyticsv2.ApplicationCloudwatchLoggingOptionsArgs{\n\t\t\t\tLogStreamArn: exampleLogStream.Arn,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.cloudwatch.LogGroup;\nimport com.pulumi.aws.cloudwatch.LogGroupArgs;\nimport com.pulumi.aws.cloudwatch.LogStream;\nimport com.pulumi.aws.cloudwatch.LogStreamArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.Application;\nimport com.pulumi.aws.kinesisanalyticsv2.ApplicationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputParallelismArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationCsvMappingParametersArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputKinesisStreamsInputArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationMappingParametersArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationJsonMappingParametersArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceS3ReferenceDataSourceArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationCloudwatchLoggingOptionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new LogGroup(\"example\", LogGroupArgs.builder()\n .name(\"example-sql-application\")\n .build());\n\n var exampleLogStream = new LogStream(\"exampleLogStream\", LogStreamArgs.builder()\n .name(\"example-sql-application\")\n .logGroupName(example.name())\n .build());\n\n var exampleApplication = new Application(\"exampleApplication\", ApplicationArgs.builder()\n .name(\"example-sql-application\")\n .runtimeEnvironment(\"SQL-1_0\")\n .serviceExecutionRole(exampleAwsIamRole.arn())\n .applicationConfiguration(ApplicationApplicationConfigurationArgs.builder()\n .applicationCodeConfiguration(ApplicationApplicationConfigurationApplicationCodeConfigurationArgs.builder()\n .codeContent(ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs.builder()\n .textContent(\"\"\"\nSELECT 1;\n \"\"\")\n .build())\n .codeContentType(\"PLAINTEXT\")\n .build())\n .sqlApplicationConfiguration(ApplicationApplicationConfigurationSqlApplicationConfigurationArgs.builder()\n .input(ApplicationApplicationConfigurationSqlApplicationConfigurationInputArgs.builder()\n .namePrefix(\"PREFIX_1\")\n .inputParallelism(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputParallelismArgs.builder()\n .count(3)\n .build())\n .inputSchema(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs.builder()\n .recordColumns( \n ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumnArgs.builder()\n .name(\"COLUMN_1\")\n .sqlType(\"VARCHAR(8)\")\n .mapping(\"MAPPING-1\")\n .build(),\n ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumnArgs.builder()\n .name(\"COLUMN_2\")\n .sqlType(\"DOUBLE\")\n .build())\n .recordEncoding(\"UTF-8\")\n .recordFormat(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatArgs.builder()\n .recordFormatType(\"CSV\")\n .mappingParameters(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersArgs.builder()\n .csvMappingParameters(ApplicationApplicationConfigurationCsvMappingParametersArgs.builder()\n .recordColumnDelimiter(\",\")\n .recordRowDelimiter(\"\"\"\n\n \"\"\")\n .build())\n .build())\n .build())\n .build())\n .kinesisStreamsInput(ApplicationApplicationConfigurationSqlApplicationConfigurationInputKinesisStreamsInputArgs.builder()\n .resourceArn(exampleAwsKinesisStream.arn())\n .build())\n .build())\n .outputs( \n ApplicationApplicationConfigurationSqlApplicationConfigurationOutputArgs.builder()\n .name(\"OUTPUT_1\")\n .destinationSchema(ApplicationApplicationConfigurationSqlApplicationConfigurationOutputDestinationSchemaArgs.builder()\n .recordFormatType(\"JSON\")\n .build())\n .lambdaOutput(ApplicationApplicationConfigurationSqlApplicationConfigurationOutputLambdaOutputArgs.builder()\n .resourceArn(exampleAwsLambdaFunction.arn())\n .build())\n .build(),\n ApplicationApplicationConfigurationSqlApplicationConfigurationOutputArgs.builder()\n .name(\"OUTPUT_2\")\n .destinationSchema(ApplicationApplicationConfigurationSqlApplicationConfigurationOutputDestinationSchemaArgs.builder()\n .recordFormatType(\"CSV\")\n .build())\n .kinesisFirehoseOutput(ApplicationApplicationConfigurationSqlApplicationConfigurationOutputKinesisFirehoseOutputArgs.builder()\n .resourceArn(exampleAwsKinesisFirehoseDeliveryStream.arn())\n .build())\n .build())\n .referenceDataSource(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgs.builder()\n .tableName(\"TABLE-1\")\n .referenceSchema(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaArgs.builder()\n .recordColumns(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordColumnArgs.builder()\n .name(\"COLUMN_1\")\n .sqlType(\"INTEGER\")\n .build())\n .recordFormat(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatArgs.builder()\n .recordFormatType(\"JSON\")\n .mappingParameters(ApplicationApplicationConfigurationMappingParametersArgs.builder()\n .jsonMappingParameters(ApplicationApplicationConfigurationJsonMappingParametersArgs.builder()\n .recordRowPath(\"$\")\n .build())\n .build())\n .build())\n .build())\n .s3ReferenceDataSource(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceS3ReferenceDataSourceArgs.builder()\n .bucketArn(exampleAwsS3Bucket.arn())\n .fileKey(\"KEY-1\")\n .build())\n .build())\n .build())\n .build())\n .cloudwatchLoggingOptions(ApplicationCloudwatchLoggingOptionsArgs.builder()\n .logStreamArn(exampleLogStream.arn())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:cloudwatch:LogGroup\n properties:\n name: example-sql-application\n exampleLogStream:\n type: aws:cloudwatch:LogStream\n name: example\n properties:\n name: example-sql-application\n logGroupName: ${example.name}\n exampleApplication:\n type: aws:kinesisanalyticsv2:Application\n name: example\n properties:\n name: example-sql-application\n runtimeEnvironment: SQL-1_0\n serviceExecutionRole: ${exampleAwsIamRole.arn}\n applicationConfiguration:\n applicationCodeConfiguration:\n codeContent:\n textContent: |\n SELECT 1;\n codeContentType: PLAINTEXT\n sqlApplicationConfiguration:\n input:\n namePrefix: PREFIX_1\n inputParallelism:\n count: 3\n inputSchema:\n recordColumns:\n - name: COLUMN_1\n sqlType: VARCHAR(8)\n mapping: MAPPING-1\n - name: COLUMN_2\n sqlType: DOUBLE\n recordEncoding: UTF-8\n recordFormat:\n recordFormatType: CSV\n mappingParameters:\n csvMappingParameters:\n recordColumnDelimiter: ','\n recordRowDelimiter: |2+\n kinesisStreamsInput:\n resourceArn: ${exampleAwsKinesisStream.arn}\n outputs:\n - name: OUTPUT_1\n destinationSchema:\n recordFormatType: JSON\n lambdaOutput:\n resourceArn: ${exampleAwsLambdaFunction.arn}\n - name: OUTPUT_2\n destinationSchema:\n recordFormatType: CSV\n kinesisFirehoseOutput:\n resourceArn: ${exampleAwsKinesisFirehoseDeliveryStream.arn}\n referenceDataSource:\n tableName: TABLE-1\n referenceSchema:\n recordColumns:\n - name: COLUMN_1\n sqlType: INTEGER\n recordFormat:\n recordFormatType: JSON\n mappingParameters:\n jsonMappingParameters:\n recordRowPath: $\n s3ReferenceDataSource:\n bucketArn: ${exampleAwsS3Bucket.arn}\n fileKey: KEY-1\n cloudwatchLoggingOptions:\n logStreamArn: ${exampleLogStream.arn}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### VPC Configuration\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\nconst example = new aws.s3.BucketV2(\"example\", {bucket: \"example-flink-application\"});\nconst exampleBucketObjectv2 = new aws.s3.BucketObjectv2(\"example\", {\n bucket: example.id,\n key: \"example-flink-application\",\n source: new pulumi.asset.FileAsset(\"flink-app.jar\"),\n});\nconst exampleApplication = new aws.kinesisanalyticsv2.Application(\"example\", {\n name: \"example-flink-application\",\n runtimeEnvironment: \"FLINK-1_8\",\n serviceExecutionRole: exampleAwsIamRole.arn,\n applicationConfiguration: {\n applicationCodeConfiguration: {\n codeContent: {\n s3ContentLocation: {\n bucketArn: example.arn,\n fileKey: exampleBucketObjectv2.key,\n },\n },\n codeContentType: \"ZIPFILE\",\n },\n vpcConfiguration: {\n securityGroupIds: [\n exampleAwsSecurityGroup[0].id,\n exampleAwsSecurityGroup[1].id,\n ],\n subnetIds: [exampleAwsSubnet.id],\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_aws as aws\n\nexample = aws.s3.BucketV2(\"example\", bucket=\"example-flink-application\")\nexample_bucket_objectv2 = aws.s3.BucketObjectv2(\"example\",\n bucket=example.id,\n key=\"example-flink-application\",\n source=pulumi.FileAsset(\"flink-app.jar\"))\nexample_application = aws.kinesisanalyticsv2.Application(\"example\",\n name=\"example-flink-application\",\n runtime_environment=\"FLINK-1_8\",\n service_execution_role=example_aws_iam_role[\"arn\"],\n application_configuration={\n \"application_code_configuration\": {\n \"code_content\": {\n \"s3_content_location\": {\n \"bucket_arn\": example.arn,\n \"file_key\": example_bucket_objectv2.key,\n },\n },\n \"code_content_type\": \"ZIPFILE\",\n },\n \"vpc_configuration\": {\n \"security_group_ids\": [\n example_aws_security_group[0][\"id\"],\n example_aws_security_group[1][\"id\"],\n ],\n \"subnet_ids\": [example_aws_subnet[\"id\"]],\n },\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Aws = Pulumi.Aws;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Aws.S3.BucketV2(\"example\", new()\n {\n Bucket = \"example-flink-application\",\n });\n\n var exampleBucketObjectv2 = new Aws.S3.BucketObjectv2(\"example\", new()\n {\n Bucket = example.Id,\n Key = \"example-flink-application\",\n Source = new FileAsset(\"flink-app.jar\"),\n });\n\n var exampleApplication = new Aws.KinesisAnalyticsV2.Application(\"example\", new()\n {\n Name = \"example-flink-application\",\n RuntimeEnvironment = \"FLINK-1_8\",\n ServiceExecutionRole = exampleAwsIamRole.Arn,\n ApplicationConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationArgs\n {\n ApplicationCodeConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationArgs\n {\n CodeContent = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs\n {\n S3ContentLocation = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs\n {\n BucketArn = example.Arn,\n FileKey = exampleBucketObjectv2.Key,\n },\n },\n CodeContentType = \"ZIPFILE\",\n },\n VpcConfiguration = new Aws.KinesisAnalyticsV2.Inputs.ApplicationApplicationConfigurationVpcConfigurationArgs\n {\n SecurityGroupIds = new[]\n {\n exampleAwsSecurityGroup[0].Id,\n exampleAwsSecurityGroup[1].Id,\n },\n SubnetIds = new[]\n {\n exampleAwsSubnet.Id,\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kinesisanalyticsv2\"\n\t\"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := s3.NewBucketV2(ctx, \"example\", \u0026s3.BucketV2Args{\n\t\t\tBucket: pulumi.String(\"example-flink-application\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleBucketObjectv2, err := s3.NewBucketObjectv2(ctx, \"example\", \u0026s3.BucketObjectv2Args{\n\t\t\tBucket: example.ID(),\n\t\t\tKey: pulumi.String(\"example-flink-application\"),\n\t\t\tSource: pulumi.NewFileAsset(\"flink-app.jar\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = kinesisanalyticsv2.NewApplication(ctx, \"example\", \u0026kinesisanalyticsv2.ApplicationArgs{\n\t\t\tName: pulumi.String(\"example-flink-application\"),\n\t\t\tRuntimeEnvironment: pulumi.String(\"FLINK-1_8\"),\n\t\t\tServiceExecutionRole: pulumi.Any(exampleAwsIamRole.Arn),\n\t\t\tApplicationConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationArgs{\n\t\t\t\tApplicationCodeConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationApplicationCodeConfigurationArgs{\n\t\t\t\t\tCodeContent: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs{\n\t\t\t\t\t\tS3ContentLocation: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs{\n\t\t\t\t\t\t\tBucketArn: example.Arn,\n\t\t\t\t\t\t\tFileKey: exampleBucketObjectv2.Key,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tCodeContentType: pulumi.String(\"ZIPFILE\"),\n\t\t\t\t},\n\t\t\t\tVpcConfiguration: \u0026kinesisanalyticsv2.ApplicationApplicationConfigurationVpcConfigurationArgs{\n\t\t\t\t\tSecurityGroupIds: pulumi.StringArray{\n\t\t\t\t\t\texampleAwsSecurityGroup[0].Id,\n\t\t\t\t\t\texampleAwsSecurityGroup[1].Id,\n\t\t\t\t\t},\n\t\t\t\t\tSubnetIds: pulumi.StringArray{\n\t\t\t\t\t\texampleAwsSubnet.Id,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.aws.s3.BucketV2;\nimport com.pulumi.aws.s3.BucketV2Args;\nimport com.pulumi.aws.s3.BucketObjectv2;\nimport com.pulumi.aws.s3.BucketObjectv2Args;\nimport com.pulumi.aws.kinesisanalyticsv2.Application;\nimport com.pulumi.aws.kinesisanalyticsv2.ApplicationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs;\nimport com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationVpcConfigurationArgs;\nimport com.pulumi.asset.FileAsset;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new BucketV2(\"example\", BucketV2Args.builder()\n .bucket(\"example-flink-application\")\n .build());\n\n var exampleBucketObjectv2 = new BucketObjectv2(\"exampleBucketObjectv2\", BucketObjectv2Args.builder()\n .bucket(example.id())\n .key(\"example-flink-application\")\n .source(new FileAsset(\"flink-app.jar\"))\n .build());\n\n var exampleApplication = new Application(\"exampleApplication\", ApplicationArgs.builder()\n .name(\"example-flink-application\")\n .runtimeEnvironment(\"FLINK-1_8\")\n .serviceExecutionRole(exampleAwsIamRole.arn())\n .applicationConfiguration(ApplicationApplicationConfigurationArgs.builder()\n .applicationCodeConfiguration(ApplicationApplicationConfigurationApplicationCodeConfigurationArgs.builder()\n .codeContent(ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentArgs.builder()\n .s3ContentLocation(ApplicationApplicationConfigurationApplicationCodeConfigurationCodeContentS3ContentLocationArgs.builder()\n .bucketArn(example.arn())\n .fileKey(exampleBucketObjectv2.key())\n .build())\n .build())\n .codeContentType(\"ZIPFILE\")\n .build())\n .vpcConfiguration(ApplicationApplicationConfigurationVpcConfigurationArgs.builder()\n .securityGroupIds( \n exampleAwsSecurityGroup[0].id(),\n exampleAwsSecurityGroup[1].id())\n .subnetIds(exampleAwsSubnet.id())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: aws:s3:BucketV2\n properties:\n bucket: example-flink-application\n exampleBucketObjectv2:\n type: aws:s3:BucketObjectv2\n name: example\n properties:\n bucket: ${example.id}\n key: example-flink-application\n source:\n fn::FileAsset: flink-app.jar\n exampleApplication:\n type: aws:kinesisanalyticsv2:Application\n name: example\n properties:\n name: example-flink-application\n runtimeEnvironment: FLINK-1_8\n serviceExecutionRole: ${exampleAwsIamRole.arn}\n applicationConfiguration:\n applicationCodeConfiguration:\n codeContent:\n s3ContentLocation:\n bucketArn: ${example.arn}\n fileKey: ${exampleBucketObjectv2.key}\n codeContentType: ZIPFILE\n vpcConfiguration:\n securityGroupIds:\n - ${exampleAwsSecurityGroup[0].id}\n - ${exampleAwsSecurityGroup[1].id}\n subnetIds:\n - ${exampleAwsSubnet.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUsing `pulumi import`, import `aws_kinesisanalyticsv2_application` using the application ARN. For example:\n\n```sh\n$ pulumi import aws:kinesisanalyticsv2/application:Application example arn:aws:kinesisanalytics:us-west-2:123456789012:application/example-sql-application\n```\n", "properties": { "applicationConfiguration": { "$ref": "#/types/aws:kinesisanalyticsv2/ApplicationApplicationConfiguration:ApplicationApplicationConfiguration", @@ -281655,7 +277811,7 @@ } }, "aws:lambda/callbackFunction:CallbackFunction": { - "description": "A CallbackFunction is a special type of `aws.lambda.Function` that can be created out of an actual JavaScript function instance. The Pulumi compiler and runtime work in tandem to extract your function, package it up along with its dependencies, upload the package to AWS Lambda, and configure the resulting AWS Lambda resources automatically.\n\nThe JavaScript function may capture references to other variables in the surrounding code, including other resources and even imported modules. The Pulumi compiler figures out how to serialize the resulting closure as it uploads and configures the AWS Lambda. This works even if you are composing multiple functions together.\n\nSee [Function Serialization](https://www.pulumi.com/docs/concepts/inputs-outputs/function-serialization/) for additional details on this process.\n\n### Lambda Function Handler\n\nYou can provide the JavaScript function used for the Lambda Function's Handler either directly by setting the `callback` input property or instead specify the `callbackFactory`, which is a Javascript function that will be called to produce the callback function that is the entrypoint for the AWS Lambda.\nUsing `callbackFactory` is useful when there is expensive initialization work that should only be executed once. The factory-function will be invoked once when the final AWS Lambda module is loaded. It can run whatever code it needs, and will end by returning the actual function that Lambda will call into each time the Lambda is invoked.\n\nIt is recommended to use an async function, otherwise the Lambda execution will run until the `callback` parameter is called and the event loop is empty. See [Define Lambda function handler in Node.js](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-handler.html) for additional details.\n\n### Lambda Function Permissions\n\nIf neither `role` nor `policies` is specified, `CallbackFunction` will create an IAM role and automatically use the following managed policies:\n- `AWSLambda_FullAccess`\n- `CloudWatchFullAccessV2`\n- `CloudWatchEventsFullAccess`\n- `AmazonS3FullAccess`\n- `AmazonDynamoDBFullAccess`\n- `AmazonSQSFullAccess`\n- `AmazonKinesisFullAccess`\n- `AWSCloudFormationReadOnlyAccess`\n- `AmazonCognitoPowerUser`\n- `AWSXrayWriteOnlyAccess`\n\n### Customizing Lambda function attributes\n\nThe Lambdas created by `aws.lambda.CallbackFunction` use reasonable defaults for CPU, memory, IAM, logging, and other configuration.\nShould you need to customize these settings, the `aws.lambda.CallbackFunction` resource offers all of the underlying AWS Lambda settings.\n\nFor example, to increase the RAM available to your function to 256MB:\n\n```typescript\nimport * as aws from \"@pulumi/aws\";\n\n// Create an AWS Lambda function with 256MB RAM\nconst lambda = new aws.lambda.CallbackFunction(\"docsHandlerFunc\", {\n callback: async(event: aws.s3.BucketEvent) =\u003e {\n // ...\n },\n\n memorySize: 256 /* MB */,\n});\n```\n\n### Adding/removing files from a function bundle\n\nOccasionally you may need to customize the contents of function bundle before uploading it to AWS Lambda --- for example, to remove unneeded Node.js modules or add certain files or folders to the bundle explicitly. The `codePathOptions` property of `CallbackFunction` allows you to do this.\n\nIn this example, a local directory `./config` is added to the function bundle, while an unneeded Node.js module `mime` is removed:\n\n```typescript\nimport * as aws from \"@pulumi/aws\";\nimport * as fs from \"fs\";\n\nconst lambda = new aws.lambda.CallbackFunction(\"docsHandlerFunc\", {\n callback: async(event: aws.s3.BucketEvent) =\u003e {\n // ...\n },\n\n codePathOptions: {\n\n // Add local files or folders to the Lambda function bundle.\n extraIncludePaths: [\n \"./config\",\n ],\n\n // Remove unneeded Node.js packages from the bundle.\n extraExcludePackages: [\n \"mime\",\n ],\n },\n});\n```\n\n### Using Lambda layers {#lambda-layers}\n\n[Lambda layers](https://docs.aws.amazon.com/lambda/latest/dg/chapter-layers.html) allow you to share code, configuration, and other assets across multiple Lambda functions. At runtime, AWS Lambda extracts these files into the function's filesystem, where you can access their contents as though they belonged to the function bundle itself.\n\nLayers are managed with the [`aws.lambda.LayerVersion`](/registry/packages/aws/api-docs/lambda/layerversion/) resource, and you can attach them to as many `lambda.Function` or `lambda.CallbackFunction` resources as you need using the function's `layers` property. Here, the preceding program is updated to package the `./config` folder as a Lambda layer instead:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\nimport * as fs from \"fs\";\n\n// Create a Lambda layer containing some shared configuration.\nconst configLayer = new aws.lambda.LayerVersion(\"config-layer\", {\n layerName: \"my-config-layer\",\n\n // Use a Pulumi AssetArchive to zip up the contents of the folder.\n code: new pulumi.asset.AssetArchive({\n \"config\": new pulumi.asset.FileArchive(\"./config\"),\n }),\n});\n\nconst lambda = new aws.lambda.CallbackFunction(\"docsHandlerFunc\", {\n callback: async(event: aws.s3.BucketEvent) =\u003e {\n // ...\n },\n\n // Attach the config layer to the function.\n layers: [\n configLayer.arn,\n ],\n});\n```\n\nNotice the path to the file is now `/opt/config/config.json` --- `/opt` being the path at which AWS Lambda extracts the contents of a layer. The configuration layer is now manageable and deployable independently of the Lambda itself, allowing changes to be applied immediately across all functions that use it.\n\n#### Using layers for Node.js dependencies\n\nThis same approach can be used for sharing Node.js module dependencies. When you package your dependencies [at the proper path](https://docs.aws.amazon.com/lambda/latest/dg/packaging-layers.html) within the layer zip file, (e.g., `nodejs/node_modules`), AWS Lambda will unpack and expose them automatically to the functions that use them at runtime. This approach can be useful in monorepo scenarios such as the example below, which adds a locally built Node.js module as a layer, then references references the module from within the body of a `CallbackFunction`:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\n// Create a layer containing a locally built Node.js module.\nconst utilsLayer = new aws.lambda.LayerVersion(\"utils-layer\", {\n layerName: \"utils\",\n code: new pulumi.asset.AssetArchive({\n\n // Store the module under nodejs/node_modules to make it available\n // on the Node.js module path.\n \"nodejs/node_modules/@my-alias/utils\": new pulumi.asset.FileArchive(\"./layers/utils/dist\"),\n }),\n});\n\nconst lambda = new aws.lambda.CallbackFunction(\"docsHandlerFunc\", {\n callback: async (event: aws.s3.BucketEvent) =\u003e {\n\n // Import the module from the layer at runtime.\n const { sayHello } = await import(\"@my-alias/utils\");\n\n // Call a function from the utils module.\n console.log(sayHello());\n },\n\n // Attach the utils layer to the function.\n layers: [\n utilsLayer.arn,\n ],\n});\n```\n\nNotice the example uses the module name `@my-alias/utils`. To make this work, you'll need to add a few lines to your Pulumi project's `tsconfig.json` file to map your chosen module name to the path of the module's TypeScript source code:\n\n```javascript\n{\n \"compilerOptions\": {\n // ...\n \"baseUrl\": \".\",\n \"paths\": {\n \"@my-alias/utils\": [\n \"./layers/utils\"\n ]\n }\n },\n // ...\n}\n```\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic Lambda Function\n\n```typescript\nimport * as aws from \"@pulumi/aws\";\n\n// Create an AWS Lambda function that fetches the Pulumi website and returns the HTTP status\nconst lambda = new aws.lambda.CallbackFunction(\"fetcher\", {\n callback: async(event) =\u003e {\n try {\n const res = await fetch(\"https://www.pulumi.com/robots.txt\");\n console.info(\"status\", res.status);\n return res.status;\n }\n catch (e) {\n console.error(e);\n return 500;\n }\n },\n});\n```\n{{% /example %}}\n\n{{% example %}}\n### Lambda Function with expensive initialization work\n\nThis creates a RESTful API using the Express Framework. Initializing the middleware is an expensive operation. In order to only do that when a\nfunction instance first starts (i.e. cold start) the `callbackFactory` property is used.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\nimport * as express from \"express\";\nimport * as serverlessExpress from \"aws-serverless-express\";\nimport * as middleware from \"aws-serverless-express/middleware\";\n\nconst lambda = new aws.lambda.CallbackFunction\u003cany, any\u003e(\"mylambda\", {\n callbackFactory: () =\u003e {\n const app = express();\n app.use(middleware.eventContext());\n let ctx;\n\n app.get(\"/\", (req, res) =\u003e {\n console.log(\"Invoked url: \" + req.url);\n\n fetch('https://www.pulumi.com/robots.txt').then(resp =\u003e {\n res.json({\n message: \"Hello, world!\\n\\nSucceeded with \" + ctx.getRemainingTimeInMillis() + \"ms remaining.\",\n fetchStatus: resp.status,\n fetched: resp.text(),\n });\n });\n });\n\n const server = serverlessExpress.createServer(app);\n return (event, context) =\u003e {\n console.log(\"Lambda invoked\");\n console.log(\"Invoked function: \" + context.invokedFunctionArn);\n console.log(\"Proxying to express\");\n ctx = context;\n serverlessExpress.proxy(server, event, \u003cany\u003econtext);\n }\n }\n});\n```\n{{% /example %}}\n\n{{% example %}}\n### API Gateway Handler Function\n```typescript\nimport * as apigateway from \"@pulumi/aws-apigateway\";\nimport { APIGatewayProxyEvent, Context } from \"aws-lambda\";\n\nconst api = new apigateway.RestAPI(\"api\", {\n routes: [\n {\n path: \"/api\",\n eventHandler: async (event: APIGatewayProxyEvent, context: Context) =\u003e {\n return {\n statusCode: 200,\n body: JSON.stringify({\n eventPath: event.path,\n functionName: context.functionName,\n })\n };\n },\n },\n ],\n});\n\nexport const url = api.url;\n```\n{{% /example %}}\n{{% /examples %}}\n", + "description": "A CallbackFunction is a special type of `aws.lambda.Function` that can be created out of an actual JavaScript function instance. The Pulumi compiler and runtime work in tandem to extract your function, package it up along with its dependencies, upload the package to AWS Lambda, and configure the resulting AWS Lambda resources automatically.\n\nThe JavaScript function may capture references to other variables in the surrounding code, including other resources and even imported modules. The Pulumi compiler figures out how to serialize the resulting closure as it uploads and configures the AWS Lambda. This works even if you are composing multiple functions together.\n\nSee [Function Serialization](https://www.pulumi.com/docs/concepts/inputs-outputs/function-serialization/) for additional details on this process.\n\n### Lambda Function Handler\n\nYou can provide the JavaScript function used for the Lambda Function's Handler either directly by setting the `callback` input property or instead specify the `callbackFactory`, which is a Javascript function that will be called to produce the callback function that is the entrypoint for the AWS Lambda.\nUsing `callbackFactory` is useful when there is expensive initialization work that should only be executed once. The factory-function will be invoked once when the final AWS Lambda module is loaded. It can run whatever code it needs, and will end by returning the actual function that Lambda will call into each time the Lambda is invoked.\n\nIt is recommended to use an async function, otherwise the Lambda execution will run until the `callback` parameter is called and the event loop is empty. See [Define Lambda function handler in Node.js](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-handler.html) for additional details.\n\n### Lambda Function Permissions\n\nIf neither `role` nor `policies` is specified, `CallbackFunction` will create an IAM role and automatically use the following managed policies:\n- `AWSLambda_FullAccess`\n- `CloudWatchFullAccessV2`\n- `CloudWatchEventsFullAccess`\n- `AmazonS3FullAccess`\n- `AmazonDynamoDBFullAccess`\n- `AmazonSQSFullAccess`\n- `AmazonKinesisFullAccess`\n- `AWSCloudFormationReadOnlyAccess`\n- `AmazonCognitoPowerUser`\n- `AWSXrayWriteOnlyAccess`\n\n### Customizing Lambda function attributes\n\nThe Lambdas created by `aws.lambda.CallbackFunction` use reasonable defaults for CPU, memory, IAM, logging, and other configuration.\nShould you need to customize these settings, the `aws.lambda.CallbackFunction` resource offers all of the underlying AWS Lambda settings.\n\nFor example, to increase the RAM available to your function to 256MB:\n\n```typescript\nimport * as aws from \"@pulumi/aws\";\n\n// Create an AWS Lambda function with 256MB RAM\nconst lambda = new aws.lambda.CallbackFunction(\"docsHandlerFunc\", {\n callback: async(event: aws.s3.BucketEvent) =\u003e {\n // ...\n },\n\n memorySize: 256 /* MB */,\n});\n```\n\n### Adding/removing files from a function bundle\n\nOccasionally you may need to customize the contents of function bundle before uploading it to AWS Lambda --- for example, to remove unneeded Node.js modules or add certain files or folders to the bundle explicitly. The `codePathOptions` property of `CallbackFunction` allows you to do this.\n\nIn this example, a local directory `./config` is added to the function bundle, while an unneeded Node.js module `mime` is removed:\n\n```typescript\nimport * as aws from \"@pulumi/aws\";\nimport * as fs from \"fs\";\n\nconst lambda = new aws.lambda.CallbackFunction(\"docsHandlerFunc\", {\n callback: async(event: aws.s3.BucketEvent) =\u003e {\n // ...\n },\n\n codePathOptions: {\n\n // Add local files or folders to the Lambda function bundle.\n extraIncludePaths: [\n \"./config\",\n ],\n\n // Remove unneeded Node.js packages from the bundle.\n extraExcludePackages: [\n \"mime\",\n ],\n },\n});\n```\n\n### Using Lambda layers {#lambda-layers}\n\n[Lambda layers](https://docs.aws.amazon.com/lambda/latest/dg/chapter-layers.html) allow you to share code, configuration, and other assets across multiple Lambda functions. At runtime, AWS Lambda extracts these files into the function's filesystem, where you can access their contents as though they belonged to the function bundle itself.\n\nLayers are managed with the [`aws.lambda.LayerVersion`](/registry/packages/aws/api-docs/lambda/layerversion/) resource, and you can attach them to as many `lambda.Function` or `lambda.CallbackFunction` resources as you need using the function's `layers` property. Here, the preceding program is updated to package the `./config` folder as a Lambda layer instead:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\nimport * as fs from \"fs\";\n\n// Create a Lambda layer containing some shared configuration.\nconst configLayer = new aws.lambda.LayerVersion(\"config-layer\", {\n layerName: \"my-config-layer\",\n\n // Use a Pulumi AssetArchive to zip up the contents of the folder.\n code: new pulumi.asset.AssetArchive({\n \"config\": new pulumi.asset.FileArchive(\"./config\"),\n }),\n});\n\nconst lambda = new aws.lambda.CallbackFunction(\"docsHandlerFunc\", {\n callback: async(event: aws.s3.BucketEvent) =\u003e {\n // ...\n },\n\n // Attach the config layer to the function.\n layers: [\n configLayer.arn,\n ],\n});\n```\n\nNotice the path to the file is now `/opt/config/config.json` --- `/opt` being the path at which AWS Lambda extracts the contents of a layer. The configuration layer is now manageable and deployable independently of the Lambda itself, allowing changes to be applied immediately across all functions that use it.\n\n#### Using layers for Node.js dependencies\n\nThis same approach can be used for sharing Node.js module dependencies. When you package your dependencies [at the proper path](https://docs.aws.amazon.com/lambda/latest/dg/packaging-layers.html) within the layer zip file, (e.g., `nodejs/node_modules`), AWS Lambda will unpack and expose them automatically to the functions that use them at runtime. This approach can be useful in monorepo scenarios such as the example below, which adds a locally built Node.js module as a layer, then references references the module from within the body of a `CallbackFunction`:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\n\n// Create a layer containing a locally built Node.js module.\nconst utilsLayer = new aws.lambda.LayerVersion(\"utils-layer\", {\n layerName: \"utils\",\n code: new pulumi.asset.AssetArchive({\n\n // Store the module under nodejs/node_modules to make it available\n // on the Node.js module path.\n \"nodejs/node_modules/@my-alias/utils\": new pulumi.asset.FileArchive(\"./layers/utils/dist\"),\n }),\n});\n\nconst lambda = new aws.lambda.CallbackFunction(\"docsHandlerFunc\", {\n callback: async (event: aws.s3.BucketEvent) =\u003e {\n\n // Import the module from the layer at runtime.\n const { sayHello } = await import(\"@my-alias/utils\");\n\n // Call a function from the utils module.\n console.log(sayHello());\n },\n\n // Attach the utils layer to the function.\n layers: [\n utilsLayer.arn,\n ],\n});\n```\n\nNotice the example uses the module name `@my-alias/utils`. To make this work, you'll need to add a few lines to your Pulumi project's `tsconfig.json` file to map your chosen module name to the path of the module's TypeScript source code:\n\n```javascript\n{\n \"compilerOptions\": {\n // ...\n \"baseUrl\": \".\",\n \"paths\": {\n \"@my-alias/utils\": [\n \"./layers/utils\"\n ]\n }\n },\n // ...\n}\n```\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Basic Lambda Function\n\n```typescript\nimport * as aws from \"@pulumi/aws\";\n\n// Create an AWS Lambda function that fetches the Pulumi website and returns the HTTP status\nconst lambda = new aws.lambda.CallbackFunction(\"fetcher\", {\n callback: async(event) =\u003e {\n try {\n const res = await fetch(\"https://www.pulumi.com/robots.txt\");\n console.info(\"status\", res.status);\n return res.status;\n }\n catch (e) {\n console.error(e);\n return 500;\n }\n },\n});\n```\n{{% /example %}}\n\n{{% example %}}\n### Lambda Function with expensive initialization work\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws from \"@pulumi/aws\";\nimport * as express from \"express\";\nimport * as serverlessExpress from \"aws-serverless-express\";\nimport * as middleware from \"aws-serverless-express/middleware\";\n\nconst lambda = new aws.lambda.CallbackFunction\u003cany, any\u003e(\"mylambda\", {\n callbackFactory: () =\u003e {\n const app = express();\n app.use(middleware.eventContext());\n let ctx;\n\n app.get(\"/\", (req, res) =\u003e {\n console.log(\"Invoked url: \" + req.url);\n\n fetch('https://www.pulumi.com/robots.txt').then(resp =\u003e {\n res.json({\n message: \"Hello, world!\\n\\nSucceeded with \" + ctx.getRemainingTimeInMillis() + \"ms remaining.\",\n fetchStatus: resp.status,\n fetched: resp.text(),\n });\n });\n });\n\n const server = serverlessExpress.createServer(app);\n return (event, context) =\u003e {\n console.log(\"Lambda invoked\");\n console.log(\"Invoked function: \" + context.invokedFunctionArn);\n console.log(\"Proxying to express\");\n ctx = context;\n serverlessExpress.proxy(server, event, \u003cany\u003econtext);\n }\n }\n});\n```\n{{% /example %}}\n\n{{% example %}}\n### API Gateway Handler Function\n```typescript\nimport * as apigateway from \"@pulumi/aws-apigateway\";\nimport { APIGatewayProxyEvent, Context } from \"aws-lambda\";\n\nconst api = new apigateway.RestAPI(\"api\", {\n routes: [\n {\n path: \"/api\",\n eventHandler: async (event: APIGatewayProxyEvent, context: Context) =\u003e {\n return {\n statusCode: 200,\n body: JSON.stringify({\n eventPath: event.path,\n functionName: context.functionName,\n })\n };\n },\n },\n ],\n});\n\nexport const url = api.url;\n```\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "architectures": { "type": "array", diff --git a/provider/go.mod b/provider/go.mod index 061c7a4b71d..edce9bfd06f 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -15,8 +15,8 @@ require ( github.com/hashicorp/terraform-provider-aws v1.60.1-0.20220923175450-ca71523cdc36 github.com/mitchellh/go-homedir v1.1.0 github.com/pulumi/providertest v0.0.14 - github.com/pulumi/pulumi-terraform-bridge/pf v0.41.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.88.0 + github.com/pulumi/pulumi-terraform-bridge/pf v0.41.1-0.20240808195237-c7bb50447df7 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.88.1-0.20240808195237-c7bb50447df7 github.com/pulumi/pulumi/pkg/v3 v3.126.0 github.com/pulumi/pulumi/sdk/v3 v3.126.0 github.com/stretchr/testify v1.9.0 diff --git a/provider/go.sum b/provider/go.sum index 9e41ddb5091..93a635e262e 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -2393,8 +2393,12 @@ github.com/pulumi/pulumi-java/pkg v0.11.0 h1:Jw9gBvyfmfOMq/EkYDm9+zGPxsDAA8jfeMp github.com/pulumi/pulumi-java/pkg v0.11.0/go.mod h1:sXAk25P47AQVQL6ilAbFmRNgZykC7og/+87ihnqzFTc= github.com/pulumi/pulumi-terraform-bridge/pf v0.41.0 h1:nSXm/mV699EtAXLoA/XrDkFyoyWPFyfcMqk/SGCuH2M= github.com/pulumi/pulumi-terraform-bridge/pf v0.41.0/go.mod h1:vGN8Ab6u/dxRE1Byqo6dXQE/loVbe9hYqiiHqm00hV4= +github.com/pulumi/pulumi-terraform-bridge/pf v0.41.1-0.20240808195237-c7bb50447df7 h1:VJtQ94y423vjsCP9dbL7TDJEaalgSmCHcziOYWloU1U= +github.com/pulumi/pulumi-terraform-bridge/pf v0.41.1-0.20240808195237-c7bb50447df7/go.mod h1:0C69eMhwGgI+4yYNbVnBG66mneCI5lhFXIL4q/O2vI0= github.com/pulumi/pulumi-terraform-bridge/v3 v3.88.0 h1:0W2Y3Fk7VAWHpjD3FwzVnqWo7g1hD+96C0YDobMnvDU= github.com/pulumi/pulumi-terraform-bridge/v3 v3.88.0/go.mod h1:QSDiqiCMMbfzrsp3oyRPWgSVE/dkVH5ujxoFappqjdo= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.88.1-0.20240808195237-c7bb50447df7 h1:TKjgPBUbEADf1dx15DjkHvt+T/uCais3LHWtQGXqBk4= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.88.1-0.20240808195237-c7bb50447df7/go.mod h1:WfVOB+6dLYbL3Z+So0GZek0DbHZf02vfHVJBmCUfiyA= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 h1:mav2tSitA9BPJPLLahKgepHyYsMzwaTm4cvp0dcTMYw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8/go.mod h1:qUYk2c9i/yqMGNj9/bQyXpS39BxNDSXYjVN1njnq0zY= github.com/pulumi/pulumi-yaml v1.9.1 h1:JPeI80M23SPactxgnCFS1casZlSr7ZhAXwSx4H55QQ4= diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Policy.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Policy.java index cd2985a3971..25fbeaa1b41 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Policy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/Policy.java @@ -284,10 +284,10 @@ * .metricDataQueries(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryArgs.builder() * .id("scaling") * .metricStat(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatArgs.builder() - * .metric(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs.builder() + * .metric(PolicyPredictiveScalingConfigurationMetricArgs.builder() * .metricName("CPUUtilization") * .namespace("AWS/EC2") - * .dimensions(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs.builder() + * .dimensions(PolicyPredictiveScalingConfigurationDimensionArgs.builder() * .name("AutoScalingGroupName") * .value("my-test-asg") * .build()) diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationDimensionArgs.java similarity index 52% rename from sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationDimensionArgs.java index 5c7d8ac24a7..f46ddbda00f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationDimensionArgs.java @@ -10,9 +10,9 @@ import java.util.Objects; -public final class PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs extends com.pulumi.resources.ResourceArgs { +public final class PolicyPredictiveScalingConfigurationDimensionArgs extends com.pulumi.resources.ResourceArgs { - public static final PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs Empty = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs(); + public static final PolicyPredictiveScalingConfigurationDimensionArgs Empty = new PolicyPredictiveScalingConfigurationDimensionArgs(); /** * Name of the dimension. @@ -44,9 +44,9 @@ public Output value() { return this.value; } - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs() {} + private PolicyPredictiveScalingConfigurationDimensionArgs() {} - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs $) { + private PolicyPredictiveScalingConfigurationDimensionArgs(PolicyPredictiveScalingConfigurationDimensionArgs $) { this.name = $.name; this.value = $.value; } @@ -54,19 +54,19 @@ private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMet public static Builder builder() { return new Builder(); } - public static Builder builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs defaults) { + public static Builder builder(PolicyPredictiveScalingConfigurationDimensionArgs defaults) { return new Builder(defaults); } public static final class Builder { - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs $; + private PolicyPredictiveScalingConfigurationDimensionArgs $; public Builder() { - $ = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs(); + $ = new PolicyPredictiveScalingConfigurationDimensionArgs(); } - public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs defaults) { - $ = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs(Objects.requireNonNull(defaults)); + public Builder(PolicyPredictiveScalingConfigurationDimensionArgs defaults) { + $ = new PolicyPredictiveScalingConfigurationDimensionArgs(Objects.requireNonNull(defaults)); } /** @@ -111,12 +111,12 @@ public Builder value(String value) { return value(Output.of(value)); } - public PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs build() { + public PolicyPredictiveScalingConfigurationDimensionArgs build() { if ($.name == null) { - throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs", "name"); + throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationDimensionArgs", "name"); } if ($.value == null) { - throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs", "value"); + throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationDimensionArgs", "value"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationMetricArgs.java similarity index 59% rename from sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationMetricArgs.java index 9cab9956e09..db118360b1b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationMetricArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.autoscaling.inputs; -import com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs; +import com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationDimensionArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -14,22 +14,22 @@ import javax.annotation.Nullable; -public final class PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs extends com.pulumi.resources.ResourceArgs { +public final class PolicyPredictiveScalingConfigurationMetricArgs extends com.pulumi.resources.ResourceArgs { - public static final PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs Empty = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs(); + public static final PolicyPredictiveScalingConfigurationMetricArgs Empty = new PolicyPredictiveScalingConfigurationMetricArgs(); /** * Dimensions of the metric. * */ @Import(name="dimensions") - private @Nullable Output> dimensions; + private @Nullable Output> dimensions; /** * @return Dimensions of the metric. * */ - public Optional>> dimensions() { + public Optional>> dimensions() { return Optional.ofNullable(this.dimensions); } @@ -63,9 +63,9 @@ public Output namespace() { return this.namespace; } - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs() {} + private PolicyPredictiveScalingConfigurationMetricArgs() {} - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs $) { + private PolicyPredictiveScalingConfigurationMetricArgs(PolicyPredictiveScalingConfigurationMetricArgs $) { this.dimensions = $.dimensions; this.metricName = $.metricName; this.namespace = $.namespace; @@ -74,19 +74,19 @@ private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScaling public static Builder builder() { return new Builder(); } - public static Builder builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs defaults) { + public static Builder builder(PolicyPredictiveScalingConfigurationMetricArgs defaults) { return new Builder(defaults); } public static final class Builder { - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs $; + private PolicyPredictiveScalingConfigurationMetricArgs $; public Builder() { - $ = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs(); + $ = new PolicyPredictiveScalingConfigurationMetricArgs(); } - public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs defaults) { - $ = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricArgs(Objects.requireNonNull(defaults)); + public Builder(PolicyPredictiveScalingConfigurationMetricArgs defaults) { + $ = new PolicyPredictiveScalingConfigurationMetricArgs(Objects.requireNonNull(defaults)); } /** @@ -95,7 +95,7 @@ public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomized * @return builder * */ - public Builder dimensions(@Nullable Output> dimensions) { + public Builder dimensions(@Nullable Output> dimensions) { $.dimensions = dimensions; return this; } @@ -106,7 +106,7 @@ public Builder dimensions(@Nullable Output dimensions) { + public Builder dimensions(List dimensions) { return dimensions(Output.of(dimensions)); } @@ -116,7 +116,7 @@ public Builder dimensions(List metric; + private Output metric; /** * @return Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions. * */ - public Output metric() { + public Output metric() { return this.metric; } @@ -94,7 +94,7 @@ public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomized * @return builder * */ - public Builder metric(Output metric) { + public Builder metric(Output metric) { $.metric = metric; return this; } @@ -105,7 +105,7 @@ public Builder metric(Output> dimensions; - - /** - * @return Dimensions of the metric. - * - */ - public Optional>> dimensions() { - return Optional.ofNullable(this.dimensions); - } - - /** - * Name of the metric. - * - */ - @Import(name="metricName", required=true) - private Output metricName; - - /** - * @return Name of the metric. - * - */ - public Output metricName() { - return this.metricName; - } - - /** - * Namespace of the metric. - * - */ - @Import(name="namespace", required=true) - private Output namespace; - - /** - * @return Namespace of the metric. - * - */ - public Output namespace() { - return this.namespace; - } - - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricArgs() {} - - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricArgs(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricArgs $) { - this.dimensions = $.dimensions; - this.metricName = $.metricName; - this.namespace = $.namespace; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricArgs $; - - public Builder() { - $ = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricArgs(); - } - - public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricArgs defaults) { - $ = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param dimensions Dimensions of the metric. - * - * @return builder - * - */ - public Builder dimensions(@Nullable Output> dimensions) { - $.dimensions = dimensions; - return this; - } - - /** - * @param dimensions Dimensions of the metric. - * - * @return builder - * - */ - public Builder dimensions(List dimensions) { - return dimensions(Output.of(dimensions)); - } - - /** - * @param dimensions Dimensions of the metric. - * - * @return builder - * - */ - public Builder dimensions(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs... dimensions) { - return dimensions(List.of(dimensions)); - } - - /** - * @param metricName Name of the metric. - * - * @return builder - * - */ - public Builder metricName(Output metricName) { - $.metricName = metricName; - return this; - } - - /** - * @param metricName Name of the metric. - * - * @return builder - * - */ - public Builder metricName(String metricName) { - return metricName(Output.of(metricName)); - } - - /** - * @param namespace Namespace of the metric. - * - * @return builder - * - */ - public Builder namespace(Output namespace) { - $.namespace = namespace; - return this; - } - - /** - * @param namespace Namespace of the metric. - * - * @return builder - * - */ - public Builder namespace(String namespace) { - return namespace(Output.of(namespace)); - } - - public PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricArgs build() { - if ($.metricName == null) { - throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricArgs", "metricName"); - } - if ($.namespace == null) { - throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricArgs", "namespace"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs.java deleted file mode 100644 index c1d9b2bd088..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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.autoscaling.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 PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs extends com.pulumi.resources.ResourceArgs { - - public static final PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs Empty = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs(); - - /** - * Name of the dimension. - * - */ - @Import(name="name", required=true) - private Output name; - - /** - * @return Name of the dimension. - * - */ - public Output name() { - return this.name; - } - - /** - * Value of the dimension. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Value of the dimension. - * - */ - public Output value() { - return this.value; - } - - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs() {} - - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs $) { - this.name = $.name; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs $; - - public Builder() { - $ = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs(); - } - - public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs defaults) { - $ = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param name Name of the dimension. - * - * @return builder - * - */ - public Builder name(Output name) { - $.name = name; - return this; - } - - /** - * @param name Name of the dimension. - * - * @return builder - * - */ - public Builder name(String name) { - return name(Output.of(name)); - } - - /** - * @param value Value of the dimension. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Value of the dimension. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs build() { - if ($.name == null) { - throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs", "name"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricArgs.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricArgs.java index f8f13825955..e8f86b160ff 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/inputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.autoscaling.inputs; -import com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs; +import com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationDimensionArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class PolicyPredictiveScalingConfigurationMetricSpecificationCustom * */ @Import(name="dimensions") - private @Nullable Output> dimensions; + private @Nullable Output> dimensions; /** * @return Dimensions of the metric. * */ - public Optional>> dimensions() { + public Optional>> dimensions() { return Optional.ofNullable(this.dimensions); } @@ -95,7 +95,7 @@ public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomized * @return builder * */ - public Builder dimensions(@Nullable Output> dimensions) { + public Builder dimensions(@Nullable Output> dimensions) { $.dimensions = dimensions; return this; } @@ -106,7 +106,7 @@ public Builder dimensions(@Nullable Output dimensions) { + public Builder dimensions(List dimensions) { return dimensions(Output.of(dimensions)); } @@ -116,7 +116,7 @@ public Builder dimensions(List metric; + private Output metric; /** * @return Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions. * */ - public Output metric() { + public Output metric() { return this.metric; } @@ -94,7 +94,7 @@ public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomized * @return builder * */ - public Builder metric(Output metric) { + public Builder metric(Output metric) { $.metric = metric; return this; } @@ -105,7 +105,7 @@ public Builder metric(Output name; - - /** - * @return Name of the dimension. - * - */ - public Output name() { - return this.name; - } - - /** - * Value of the dimension. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Value of the dimension. - * - */ - public Output value() { - return this.value; - } - - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs() {} - - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs $) { - this.name = $.name; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs $; - - public Builder() { - $ = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs(); - } - - public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs defaults) { - $ = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param name Name of the dimension. - * - * @return builder - * - */ - public Builder name(Output name) { - $.name = name; - return this; - } - - /** - * @param name Name of the dimension. - * - * @return builder - * - */ - public Builder name(String name) { - return name(Output.of(name)); - } - - /** - * @param value Value of the dimension. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Value of the dimension. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs build() { - if ($.name == null) { - throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs", "name"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimensionArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationDimension.java similarity index 63% rename from sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension.java rename to sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationDimension.java index 17978e14dce..cd7b5981229 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationDimension.java @@ -9,7 +9,7 @@ import java.util.Objects; @CustomType -public final class PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension { +public final class PolicyPredictiveScalingConfigurationDimension { /** * @return Name of the dimension. * @@ -21,7 +21,7 @@ public final class PolicyPredictiveScalingConfigurationMetricSpecificationCustom */ private String value; - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension() {} + private PolicyPredictiveScalingConfigurationDimension() {} /** * @return Name of the dimension. * @@ -41,7 +41,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension defaults) { + public static Builder builder(PolicyPredictiveScalingConfigurationDimension defaults) { return new Builder(defaults); } @CustomType.Builder @@ -49,7 +49,7 @@ public static final class Builder { private String name; private String value; public Builder() {} - public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension defaults) { + public Builder(PolicyPredictiveScalingConfigurationDimension defaults) { Objects.requireNonNull(defaults); this.name = defaults.name; this.value = defaults.value; @@ -58,7 +58,7 @@ public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomized @CustomType.Setter public Builder name(String name) { if (name == null) { - throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension", "name"); + throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationDimension", "name"); } this.name = name; return this; @@ -66,13 +66,13 @@ public Builder name(String name) { @CustomType.Setter public Builder value(String value) { if (value == null) { - throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension", "value"); + throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationDimension", "value"); } this.value = value; return this; } - public PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension build() { - final var _resultValue = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension(); + public PolicyPredictiveScalingConfigurationDimension build() { + final var _resultValue = new PolicyPredictiveScalingConfigurationDimension(); _resultValue.name = name; _resultValue.value = value; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetric.java similarity index 61% rename from sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric.java rename to sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetric.java index aa5387be55c..8cf732246b4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetric.java @@ -3,7 +3,7 @@ package com.pulumi.aws.autoscaling.outputs; -import com.pulumi.aws.autoscaling.outputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension; +import com.pulumi.aws.autoscaling.outputs.PolicyPredictiveScalingConfigurationDimension; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -12,12 +12,12 @@ import javax.annotation.Nullable; @CustomType -public final class PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric { +public final class PolicyPredictiveScalingConfigurationMetric { /** * @return Dimensions of the metric. * */ - private @Nullable List dimensions; + private @Nullable List dimensions; /** * @return Name of the metric. * @@ -29,12 +29,12 @@ public final class PolicyPredictiveScalingConfigurationMetricSpecificationCustom */ private String namespace; - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric() {} + private PolicyPredictiveScalingConfigurationMetric() {} /** * @return Dimensions of the metric. * */ - public List dimensions() { + public List dimensions() { return this.dimensions == null ? List.of() : this.dimensions; } /** @@ -56,16 +56,16 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric defaults) { + public static Builder builder(PolicyPredictiveScalingConfigurationMetric defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { - private @Nullable List dimensions; + private @Nullable List dimensions; private String metricName; private String namespace; public Builder() {} - public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric defaults) { + public Builder(PolicyPredictiveScalingConfigurationMetric defaults) { Objects.requireNonNull(defaults); this.dimensions = defaults.dimensions; this.metricName = defaults.metricName; @@ -73,18 +73,18 @@ public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomized } @CustomType.Setter - public Builder dimensions(@Nullable List dimensions) { + public Builder dimensions(@Nullable List dimensions) { this.dimensions = dimensions; return this; } - public Builder dimensions(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension... dimensions) { + public Builder dimensions(PolicyPredictiveScalingConfigurationDimension... dimensions) { return dimensions(List.of(dimensions)); } @CustomType.Setter public Builder metricName(String metricName) { if (metricName == null) { - throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric", "metricName"); + throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetric", "metricName"); } this.metricName = metricName; return this; @@ -92,13 +92,13 @@ public Builder metricName(String metricName) { @CustomType.Setter public Builder namespace(String namespace) { if (namespace == null) { - throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric", "namespace"); + throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetric", "namespace"); } this.namespace = namespace; return this; } - public PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric build() { - final var _resultValue = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric(); + public PolicyPredictiveScalingConfigurationMetric build() { + final var _resultValue = new PolicyPredictiveScalingConfigurationMetric(); _resultValue.dimensions = dimensions; _resultValue.metricName = metricName; _resultValue.namespace = namespace; diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStat.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStat.java index 9f47dee0984..14ee77c1fd1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStat.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStat.java @@ -3,7 +3,7 @@ package com.pulumi.aws.autoscaling.outputs; -import com.pulumi.aws.autoscaling.outputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric; +import com.pulumi.aws.autoscaling.outputs.PolicyPredictiveScalingConfigurationMetric; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -17,7 +17,7 @@ public final class PolicyPredictiveScalingConfigurationMetricSpecificationCustom * @return Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions. * */ - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric metric; + private PolicyPredictiveScalingConfigurationMetric metric; /** * @return Statistic of the metrics to return. * @@ -34,7 +34,7 @@ private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacit * @return Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions. * */ - public PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric metric() { + public PolicyPredictiveScalingConfigurationMetric metric() { return this.metric; } /** @@ -61,7 +61,7 @@ public static Builder builder(PolicyPredictiveScalingConfigurationMetricSpecific } @CustomType.Builder public static final class Builder { - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric metric; + private PolicyPredictiveScalingConfigurationMetric metric; private String stat; private @Nullable String unit; public Builder() {} @@ -73,7 +73,7 @@ public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomized } @CustomType.Setter - public Builder metric(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric metric) { + public Builder metric(PolicyPredictiveScalingConfigurationMetric metric) { if (metric == null) { throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStat", "metric"); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric.java deleted file mode 100644 index 5ec4aabf6ef..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric.java +++ /dev/null @@ -1,108 +0,0 @@ -// *** 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.autoscaling.outputs; - -import com.pulumi.aws.autoscaling.outputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import javax.annotation.Nullable; - -@CustomType -public final class PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric { - /** - * @return Dimensions of the metric. - * - */ - private @Nullable List dimensions; - /** - * @return Name of the metric. - * - */ - private String metricName; - /** - * @return Namespace of the metric. - * - */ - private String namespace; - - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric() {} - /** - * @return Dimensions of the metric. - * - */ - public List dimensions() { - return this.dimensions == null ? List.of() : this.dimensions; - } - /** - * @return Name of the metric. - * - */ - public String metricName() { - return this.metricName; - } - /** - * @return Namespace of the metric. - * - */ - public String namespace() { - return this.namespace; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List dimensions; - private String metricName; - private String namespace; - public Builder() {} - public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric defaults) { - Objects.requireNonNull(defaults); - this.dimensions = defaults.dimensions; - this.metricName = defaults.metricName; - this.namespace = defaults.namespace; - } - - @CustomType.Setter - public Builder dimensions(@Nullable List dimensions) { - - this.dimensions = dimensions; - return this; - } - public Builder dimensions(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension... dimensions) { - return dimensions(List.of(dimensions)); - } - @CustomType.Setter - public Builder metricName(String metricName) { - if (metricName == null) { - throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric", "metricName"); - } - this.metricName = metricName; - return this; - } - @CustomType.Setter - public Builder namespace(String namespace) { - if (namespace == null) { - throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric", "namespace"); - } - this.namespace = namespace; - return this; - } - public PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric build() { - final var _resultValue = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetric(); - _resultValue.dimensions = dimensions; - _resultValue.metricName = metricName; - _resultValue.namespace = namespace; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension.java deleted file mode 100644 index 7af7c2b0666..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.autoscaling.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension { - /** - * @return Name of the dimension. - * - */ - private String name; - /** - * @return Value of the dimension. - * - */ - private String value; - - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension() {} - /** - * @return Name of the dimension. - * - */ - public String name() { - return this.name; - } - /** - * @return Value of the dimension. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String name; - private String value; - public Builder() {} - public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension defaults) { - Objects.requireNonNull(defaults); - this.name = defaults.name; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder name(String name) { - if (name == null) { - throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension", "name"); - } - this.name = name; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension", "value"); - } - this.value = value; - return this; - } - public PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension build() { - final var _resultValue = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryMetricStatMetricDimension(); - _resultValue.name = name; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetric.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetric.java index 1fe4c5451c1..bf828146978 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetric.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetric.java @@ -3,7 +3,7 @@ package com.pulumi.aws.autoscaling.outputs; -import com.pulumi.aws.autoscaling.outputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension; +import com.pulumi.aws.autoscaling.outputs.PolicyPredictiveScalingConfigurationDimension; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -17,7 +17,7 @@ public final class PolicyPredictiveScalingConfigurationMetricSpecificationCustom * @return Dimensions of the metric. * */ - private @Nullable List dimensions; + private @Nullable List dimensions; /** * @return Name of the metric. * @@ -34,7 +34,7 @@ private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMet * @return Dimensions of the metric. * */ - public List dimensions() { + public List dimensions() { return this.dimensions == null ? List.of() : this.dimensions; } /** @@ -61,7 +61,7 @@ public static Builder builder(PolicyPredictiveScalingConfigurationMetricSpecific } @CustomType.Builder public static final class Builder { - private @Nullable List dimensions; + private @Nullable List dimensions; private String metricName; private String namespace; public Builder() {} @@ -73,12 +73,12 @@ public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomized } @CustomType.Setter - public Builder dimensions(@Nullable List dimensions) { + public Builder dimensions(@Nullable List dimensions) { this.dimensions = dimensions; return this; } - public Builder dimensions(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQueryMetricStatMetricDimension... dimensions) { + public Builder dimensions(PolicyPredictiveScalingConfigurationDimension... dimensions) { return dimensions(List.of(dimensions)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStat.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStat.java index 2e8601fc510..a4aa844dd1b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStat.java +++ b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStat.java @@ -3,7 +3,7 @@ package com.pulumi.aws.autoscaling.outputs; -import com.pulumi.aws.autoscaling.outputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric; +import com.pulumi.aws.autoscaling.outputs.PolicyPredictiveScalingConfigurationMetric; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -17,7 +17,7 @@ public final class PolicyPredictiveScalingConfigurationMetricSpecificationCustom * @return Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions. * */ - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric metric; + private PolicyPredictiveScalingConfigurationMetric metric; /** * @return Statistic of the metrics to return. * @@ -34,7 +34,7 @@ private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScaling * @return Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions. * */ - public PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric metric() { + public PolicyPredictiveScalingConfigurationMetric metric() { return this.metric; } /** @@ -61,7 +61,7 @@ public static Builder builder(PolicyPredictiveScalingConfigurationMetricSpecific } @CustomType.Builder public static final class Builder { - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric metric; + private PolicyPredictiveScalingConfigurationMetric metric; private String stat; private @Nullable String unit; public Builder() {} @@ -73,7 +73,7 @@ public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomized } @CustomType.Setter - public Builder metric(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetric metric) { + public Builder metric(PolicyPredictiveScalingConfigurationMetric metric) { if (metric == null) { throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStat", "metric"); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension.java b/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension.java deleted file mode 100644 index 4d292c1b743..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/autoscaling/outputs/PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.autoscaling.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension { - /** - * @return Name of the dimension. - * - */ - private String name; - /** - * @return Value of the dimension. - * - */ - private String value; - - private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension() {} - /** - * @return Name of the dimension. - * - */ - public String name() { - return this.name; - } - /** - * @return Value of the dimension. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String name; - private String value; - public Builder() {} - public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension defaults) { - Objects.requireNonNull(defaults); - this.name = defaults.name; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder name(String name) { - if (name == null) { - throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension", "name"); - } - this.name = name; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension", "value"); - } - this.value = value; - return this; - } - public PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension build() { - final var _resultValue = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedScalingMetricSpecificationMetricDataQueryMetricStatMetricDimension(); - _resultValue.name = name; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerArgs.java b/sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerArgs.java index f7c4e419734..d62ae482bf7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.kinesis.inputs; -import com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDeArgs; -import com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDeArgs; +import com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDeArgs; +import com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDeArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.util.Objects; @@ -21,13 +21,13 @@ public final class FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConver * */ @Import(name="hiveJsonSerDe") - private @Nullable Output hiveJsonSerDe; + private @Nullable Output hiveJsonSerDe; /** * @return Specifies the native Hive / HCatalog JsonSerDe. More details below. See `hive_json_ser_de` block below for details. * */ - public Optional> hiveJsonSerDe() { + public Optional> hiveJsonSerDe() { return Optional.ofNullable(this.hiveJsonSerDe); } @@ -36,13 +36,13 @@ public Optional openXJsonSerDe; + private @Nullable Output openXJsonSerDe; /** * @return Specifies the OpenX SerDe. See `open_x_json_ser_de` block below for details. * */ - public Optional> openXJsonSerDe() { + public Optional> openXJsonSerDe() { return Optional.ofNullable(this.openXJsonSerDe); } @@ -77,7 +77,7 @@ public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversion * @return builder * */ - public Builder hiveJsonSerDe(@Nullable Output hiveJsonSerDe) { + public Builder hiveJsonSerDe(@Nullable Output hiveJsonSerDe) { $.hiveJsonSerDe = hiveJsonSerDe; return this; } @@ -88,7 +88,7 @@ public Builder hiveJsonSerDe(@Nullable Output openXJsonSerDe) { + public Builder openXJsonSerDe(@Nullable Output openXJsonSerDe) { $.openXJsonSerDe = openXJsonSerDe; return this; } @@ -109,7 +109,7 @@ public Builder openXJsonSerDe(@Nullable Output orcSerDe; + private @Nullable Output orcSerDe; /** * @return Specifies converting data to the ORC format before storing it in Amazon S3. For more information, see [Apache ORC](https://orc.apache.org/docs/). See `orc_ser_de` block below for details. * */ - public Optional> orcSerDe() { + public Optional> orcSerDe() { return Optional.ofNullable(this.orcSerDe); } @@ -36,13 +36,13 @@ public Optional parquetSerDe; + private @Nullable Output parquetSerDe; /** * @return Specifies converting data to the Parquet format before storing it in Amazon S3. For more information, see [Apache Parquet](https://parquet.apache.org/docs/). More details below. * */ - public Optional> parquetSerDe() { + public Optional> parquetSerDe() { return Optional.ofNullable(this.parquetSerDe); } @@ -77,7 +77,7 @@ public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversion * @return builder * */ - public Builder orcSerDe(@Nullable Output orcSerDe) { + public Builder orcSerDe(@Nullable Output orcSerDe) { $.orcSerDe = orcSerDe; return this; } @@ -88,7 +88,7 @@ public Builder orcSerDe(@Nullable Output parquetSerDe) { + public Builder parquetSerDe(@Nullable Output parquetSerDe) { $.parquetSerDe = parquetSerDe; return this; } @@ -109,7 +109,7 @@ public Builder parquetSerDe(@Nullable Output>> timestampFormats() { return Optional.ofNullable(this.timestampFormats); } - private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDeArgs() {} + private FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDeArgs() {} - private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDeArgs(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDeArgs $) { + private FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDeArgs(FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDeArgs $) { this.timestampFormats = $.timestampFormats; } public static Builder builder() { return new Builder(); } - public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDeArgs defaults) { + public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDeArgs defaults) { return new Builder(defaults); } public static final class Builder { - private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDeArgs $; + private FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDeArgs $; public Builder() { - $ = new FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDeArgs(); + $ = new FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDeArgs(); } - public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDeArgs defaults) { - $ = new FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDeArgs(Objects.requireNonNull(defaults)); + public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDeArgs defaults) { + $ = new FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDeArgs(Objects.requireNonNull(defaults)); } /** @@ -86,7 +86,7 @@ public Builder timestampFormats(String... timestampFormats) { return timestampFormats(List.of(timestampFormats)); } - public FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDeArgs build() { + public FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDeArgs build() { return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDeArgs.java b/sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDeArgs.java similarity index 82% rename from sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDeArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDeArgs.java index 8f03ab9e101..95b1a9a0696 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDeArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDeArgs.java @@ -13,9 +13,9 @@ import javax.annotation.Nullable; -public final class FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDeArgs extends com.pulumi.resources.ResourceArgs { +public final class FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDeArgs extends com.pulumi.resources.ResourceArgs { - public static final FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDeArgs Empty = new FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDeArgs(); + public static final FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDeArgs Empty = new FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDeArgs(); /** * When set to true, which is the default, Kinesis Data Firehose converts JSON keys to lowercase before deserializing them. @@ -62,9 +62,9 @@ public Optional> convertDotsInJsonKeysToUnderscores() { return Optional.ofNullable(this.convertDotsInJsonKeysToUnderscores); } - private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDeArgs() {} + private FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDeArgs() {} - private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDeArgs(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDeArgs $) { + private FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDeArgs(FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDeArgs $) { this.caseInsensitive = $.caseInsensitive; this.columnToJsonKeyMappings = $.columnToJsonKeyMappings; this.convertDotsInJsonKeysToUnderscores = $.convertDotsInJsonKeysToUnderscores; @@ -73,19 +73,19 @@ private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigu public static Builder builder() { return new Builder(); } - public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDeArgs defaults) { + public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDeArgs defaults) { return new Builder(defaults); } public static final class Builder { - private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDeArgs $; + private FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDeArgs $; public Builder() { - $ = new FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDeArgs(); + $ = new FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDeArgs(); } - public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDeArgs defaults) { - $ = new FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDeArgs(Objects.requireNonNull(defaults)); + public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDeArgs defaults) { + $ = new FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDeArgs(Objects.requireNonNull(defaults)); } /** @@ -151,7 +151,7 @@ public Builder convertDotsInJsonKeysToUnderscores(Boolean convertDotsInJsonKeysT return convertDotsInJsonKeysToUnderscores(Output.of(convertDotsInJsonKeysToUnderscores)); } - public FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDeArgs build() { + public FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDeArgs build() { return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDeArgs.java b/sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDeArgs.java similarity index 92% rename from sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDeArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDeArgs.java index 845983643ed..65460b58087 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDeArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDeArgs.java @@ -15,9 +15,9 @@ import javax.annotation.Nullable; -public final class FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDeArgs extends com.pulumi.resources.ResourceArgs { +public final class FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDeArgs extends com.pulumi.resources.ResourceArgs { - public static final FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDeArgs Empty = new FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDeArgs(); + public static final FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDeArgs Empty = new FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDeArgs(); /** * The Hadoop Distributed File System (HDFS) block size. This is useful if you intend to copy the data from Amazon S3 to HDFS before querying. The default is 256 MiB and the minimum is 64 MiB. Kinesis Data Firehose uses this value for padding calculations. @@ -169,9 +169,9 @@ public Optional> stripeSizeBytes() { return Optional.ofNullable(this.stripeSizeBytes); } - private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDeArgs() {} + private FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDeArgs() {} - private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDeArgs(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDeArgs $) { + private FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDeArgs(FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDeArgs $) { this.blockSizeBytes = $.blockSizeBytes; this.bloomFilterColumns = $.bloomFilterColumns; this.bloomFilterFalsePositiveProbability = $.bloomFilterFalsePositiveProbability; @@ -187,19 +187,19 @@ private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigu public static Builder builder() { return new Builder(); } - public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDeArgs defaults) { + public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDeArgs defaults) { return new Builder(defaults); } public static final class Builder { - private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDeArgs $; + private FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDeArgs $; public Builder() { - $ = new FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDeArgs(); + $ = new FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDeArgs(); } - public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDeArgs defaults) { - $ = new FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDeArgs(Objects.requireNonNull(defaults)); + public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDeArgs defaults) { + $ = new FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDeArgs(Objects.requireNonNull(defaults)); } /** @@ -422,7 +422,7 @@ public Builder stripeSizeBytes(Integer stripeSizeBytes) { return stripeSizeBytes(Output.of(stripeSizeBytes)); } - public FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDeArgs build() { + public FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDeArgs build() { return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDeArgs.java b/sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDeArgs.java similarity index 87% rename from sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDeArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDeArgs.java index 354571d87c2..2d12147f4ea 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDeArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesis/inputs/FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDeArgs.java @@ -13,9 +13,9 @@ import javax.annotation.Nullable; -public final class FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDeArgs extends com.pulumi.resources.ResourceArgs { +public final class FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDeArgs extends com.pulumi.resources.ResourceArgs { - public static final FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDeArgs Empty = new FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDeArgs(); + public static final FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDeArgs Empty = new FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDeArgs(); /** * The Hadoop Distributed File System (HDFS) block size. This is useful if you intend to copy the data from Amazon S3 to HDFS before querying. The default is 256 MiB and the minimum is 64 MiB. Kinesis Data Firehose uses this value for padding calculations. @@ -107,9 +107,9 @@ public Optional> writerVersion() { return Optional.ofNullable(this.writerVersion); } - private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDeArgs() {} + private FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDeArgs() {} - private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDeArgs(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDeArgs $) { + private FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDeArgs(FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDeArgs $) { this.blockSizeBytes = $.blockSizeBytes; this.compression = $.compression; this.enableDictionaryCompression = $.enableDictionaryCompression; @@ -121,19 +121,19 @@ private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigu public static Builder builder() { return new Builder(); } - public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDeArgs defaults) { + public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDeArgs defaults) { return new Builder(defaults); } public static final class Builder { - private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDeArgs $; + private FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDeArgs $; public Builder() { - $ = new FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDeArgs(); + $ = new FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDeArgs(); } - public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDeArgs defaults) { - $ = new FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDeArgs(Objects.requireNonNull(defaults)); + public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDeArgs defaults) { + $ = new FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDeArgs(Objects.requireNonNull(defaults)); } /** @@ -262,7 +262,7 @@ public Builder writerVersion(String writerVersion) { return writerVersion(Output.of(writerVersion)); } - public FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDeArgs build() { + public FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDeArgs build() { return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializer.java b/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializer.java index 377de4ce364..51d7a9f2b8c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializer.java @@ -3,8 +3,8 @@ package com.pulumi.aws.kinesis.outputs; -import com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDe; -import com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDe; +import com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDe; +import com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDe; import com.pulumi.core.annotations.CustomType; import java.util.Objects; import java.util.Optional; @@ -16,26 +16,26 @@ public final class FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConver * @return Specifies the native Hive / HCatalog JsonSerDe. More details below. See `hive_json_ser_de` block below for details. * */ - private @Nullable FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDe hiveJsonSerDe; + private @Nullable FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDe hiveJsonSerDe; /** * @return Specifies the OpenX SerDe. See `open_x_json_ser_de` block below for details. * */ - private @Nullable FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDe openXJsonSerDe; + private @Nullable FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDe openXJsonSerDe; private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializer() {} /** * @return Specifies the native Hive / HCatalog JsonSerDe. More details below. See `hive_json_ser_de` block below for details. * */ - public Optional hiveJsonSerDe() { + public Optional hiveJsonSerDe() { return Optional.ofNullable(this.hiveJsonSerDe); } /** * @return Specifies the OpenX SerDe. See `open_x_json_ser_de` block below for details. * */ - public Optional openXJsonSerDe() { + public Optional openXJsonSerDe() { return Optional.ofNullable(this.openXJsonSerDe); } @@ -48,8 +48,8 @@ public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataF } @CustomType.Builder public static final class Builder { - private @Nullable FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDe hiveJsonSerDe; - private @Nullable FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDe openXJsonSerDe; + private @Nullable FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDe hiveJsonSerDe; + private @Nullable FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDe openXJsonSerDe; public Builder() {} public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializer defaults) { Objects.requireNonNull(defaults); @@ -58,13 +58,13 @@ public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversion } @CustomType.Setter - public Builder hiveJsonSerDe(@Nullable FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDe hiveJsonSerDe) { + public Builder hiveJsonSerDe(@Nullable FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDe hiveJsonSerDe) { this.hiveJsonSerDe = hiveJsonSerDe; return this; } @CustomType.Setter - public Builder openXJsonSerDe(@Nullable FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDe openXJsonSerDe) { + public Builder openXJsonSerDe(@Nullable FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDe openXJsonSerDe) { this.openXJsonSerDe = openXJsonSerDe; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializer.java b/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializer.java index 28db80d905b..9fcb6d89687 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializer.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializer.java @@ -3,8 +3,8 @@ package com.pulumi.aws.kinesis.outputs; -import com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDe; -import com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDe; +import com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDe; +import com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDe; import com.pulumi.core.annotations.CustomType; import java.util.Objects; import java.util.Optional; @@ -16,26 +16,26 @@ public final class FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConver * @return Specifies converting data to the ORC format before storing it in Amazon S3. For more information, see [Apache ORC](https://orc.apache.org/docs/). See `orc_ser_de` block below for details. * */ - private @Nullable FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDe orcSerDe; + private @Nullable FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDe orcSerDe; /** * @return Specifies converting data to the Parquet format before storing it in Amazon S3. For more information, see [Apache Parquet](https://parquet.apache.org/docs/). More details below. * */ - private @Nullable FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDe parquetSerDe; + private @Nullable FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDe parquetSerDe; private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializer() {} /** * @return Specifies converting data to the ORC format before storing it in Amazon S3. For more information, see [Apache ORC](https://orc.apache.org/docs/). See `orc_ser_de` block below for details. * */ - public Optional orcSerDe() { + public Optional orcSerDe() { return Optional.ofNullable(this.orcSerDe); } /** * @return Specifies converting data to the Parquet format before storing it in Amazon S3. For more information, see [Apache Parquet](https://parquet.apache.org/docs/). More details below. * */ - public Optional parquetSerDe() { + public Optional parquetSerDe() { return Optional.ofNullable(this.parquetSerDe); } @@ -48,8 +48,8 @@ public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataF } @CustomType.Builder public static final class Builder { - private @Nullable FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDe orcSerDe; - private @Nullable FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDe parquetSerDe; + private @Nullable FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDe orcSerDe; + private @Nullable FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDe parquetSerDe; public Builder() {} public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializer defaults) { Objects.requireNonNull(defaults); @@ -58,13 +58,13 @@ public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversion } @CustomType.Setter - public Builder orcSerDe(@Nullable FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDe orcSerDe) { + public Builder orcSerDe(@Nullable FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDe orcSerDe) { this.orcSerDe = orcSerDe; return this; } @CustomType.Setter - public Builder parquetSerDe(@Nullable FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDe parquetSerDe) { + public Builder parquetSerDe(@Nullable FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDe parquetSerDe) { this.parquetSerDe = parquetSerDe; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDe.java b/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDe.java similarity index 80% rename from sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDe.java rename to sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDe.java index accc8e59ef4..d2f9b29d8bf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDe.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDe.java @@ -10,14 +10,14 @@ import javax.annotation.Nullable; @CustomType -public final class FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDe { +public final class FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDe { /** * @return A list of how you want Kinesis Data Firehose to parse the date and time stamps that may be present in your input data JSON. To specify these format strings, follow the pattern syntax of JodaTime's DateTimeFormat format strings. For more information, see [Class DateTimeFormat](https://www.joda.org/joda-time/apidocs/org/joda/time/format/DateTimeFormat.html). You can also use the special value millis to parse time stamps in epoch milliseconds. If you don't specify a format, Kinesis Data Firehose uses java.sql.Timestamp::valueOf by default. * */ private @Nullable List timestampFormats; - private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDe() {} + private FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDe() {} /** * @return A list of how you want Kinesis Data Firehose to parse the date and time stamps that may be present in your input data JSON. To specify these format strings, follow the pattern syntax of JodaTime's DateTimeFormat format strings. For more information, see [Class DateTimeFormat](https://www.joda.org/joda-time/apidocs/org/joda/time/format/DateTimeFormat.html). You can also use the special value millis to parse time stamps in epoch milliseconds. If you don't specify a format, Kinesis Data Firehose uses java.sql.Timestamp::valueOf by default. * @@ -30,14 +30,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDe defaults) { + public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDe defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private @Nullable List timestampFormats; public Builder() {} - public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDe defaults) { + public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDe defaults) { Objects.requireNonNull(defaults); this.timestampFormats = defaults.timestampFormats; } @@ -51,8 +51,8 @@ public Builder timestampFormats(@Nullable List timestampFormats) { public Builder timestampFormats(String... timestampFormats) { return timestampFormats(List.of(timestampFormats)); } - public FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDe build() { - final var _resultValue = new FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerHiveJsonSerDe(); + public FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDe build() { + final var _resultValue = new FirehoseDeliveryStreamExtendedS3ConfigurationHiveJsonSerDe(); _resultValue.timestampFormats = timestampFormats; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDe.java b/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDe.java similarity index 87% rename from sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDe.java rename to sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDe.java index 4645ecdc025..56bb8d25c50 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDe.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDe.java @@ -12,7 +12,7 @@ import javax.annotation.Nullable; @CustomType -public final class FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDe { +public final class FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDe { /** * @return When set to true, which is the default, Kinesis Data Firehose converts JSON keys to lowercase before deserializing them. * @@ -29,7 +29,7 @@ public final class FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConver */ private @Nullable Boolean convertDotsInJsonKeysToUnderscores; - private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDe() {} + private FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDe() {} /** * @return When set to true, which is the default, Kinesis Data Firehose converts JSON keys to lowercase before deserializing them. * @@ -56,7 +56,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDe defaults) { + public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDe defaults) { return new Builder(defaults); } @CustomType.Builder @@ -65,7 +65,7 @@ public static final class Builder { private @Nullable Map columnToJsonKeyMappings; private @Nullable Boolean convertDotsInJsonKeysToUnderscores; public Builder() {} - public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDe defaults) { + public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDe defaults) { Objects.requireNonNull(defaults); this.caseInsensitive = defaults.caseInsensitive; this.columnToJsonKeyMappings = defaults.columnToJsonKeyMappings; @@ -90,8 +90,8 @@ public Builder convertDotsInJsonKeysToUnderscores(@Nullable Boolean convertDotsI this.convertDotsInJsonKeysToUnderscores = convertDotsInJsonKeysToUnderscores; return this; } - public FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDe build() { - final var _resultValue = new FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfigurationDeserializerOpenXJsonSerDe(); + public FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDe build() { + final var _resultValue = new FirehoseDeliveryStreamExtendedS3ConfigurationOpenXJsonSerDe(); _resultValue.caseInsensitive = caseInsensitive; _resultValue.columnToJsonKeyMappings = columnToJsonKeyMappings; _resultValue.convertDotsInJsonKeysToUnderscores = convertDotsInJsonKeysToUnderscores; diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDe.java b/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDe.java similarity index 94% rename from sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDe.java rename to sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDe.java index 85e49f15b29..6785c7e4156 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDe.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDe.java @@ -14,7 +14,7 @@ import javax.annotation.Nullable; @CustomType -public final class FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDe { +public final class FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDe { /** * @return The Hadoop Distributed File System (HDFS) block size. This is useful if you intend to copy the data from Amazon S3 to HDFS before querying. The default is 256 MiB and the minimum is 64 MiB. Kinesis Data Firehose uses this value for padding calculations. * @@ -66,7 +66,7 @@ public final class FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConver */ private @Nullable Integer stripeSizeBytes; - private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDe() {} + private FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDe() {} /** * @return The Hadoop Distributed File System (HDFS) block size. This is useful if you intend to copy the data from Amazon S3 to HDFS before querying. The default is 256 MiB and the minimum is 64 MiB. Kinesis Data Firehose uses this value for padding calculations. * @@ -142,7 +142,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDe defaults) { + public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDe defaults) { return new Builder(defaults); } @CustomType.Builder @@ -158,7 +158,7 @@ public static final class Builder { private @Nullable Integer rowIndexStride; private @Nullable Integer stripeSizeBytes; public Builder() {} - public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDe defaults) { + public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDe defaults) { Objects.requireNonNull(defaults); this.blockSizeBytes = defaults.blockSizeBytes; this.bloomFilterColumns = defaults.bloomFilterColumns; @@ -235,8 +235,8 @@ public Builder stripeSizeBytes(@Nullable Integer stripeSizeBytes) { this.stripeSizeBytes = stripeSizeBytes; return this; } - public FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDe build() { - final var _resultValue = new FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerOrcSerDe(); + public FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDe build() { + final var _resultValue = new FirehoseDeliveryStreamExtendedS3ConfigurationOrcSerDe(); _resultValue.blockSizeBytes = blockSizeBytes; _resultValue.bloomFilterColumns = bloomFilterColumns; _resultValue.bloomFilterFalsePositiveProbability = bloomFilterFalsePositiveProbability; diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDe.java b/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDe.java similarity index 90% rename from sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDe.java rename to sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDe.java index 342c4882dcb..2203bc2aa1f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDe.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesis/outputs/FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDe.java @@ -12,7 +12,7 @@ import javax.annotation.Nullable; @CustomType -public final class FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDe { +public final class FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDe { /** * @return The Hadoop Distributed File System (HDFS) block size. This is useful if you intend to copy the data from Amazon S3 to HDFS before querying. The default is 256 MiB and the minimum is 64 MiB. Kinesis Data Firehose uses this value for padding calculations. * @@ -44,7 +44,7 @@ public final class FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConver */ private @Nullable String writerVersion; - private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDe() {} + private FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDe() {} /** * @return The Hadoop Distributed File System (HDFS) block size. This is useful if you intend to copy the data from Amazon S3 to HDFS before querying. The default is 256 MiB and the minimum is 64 MiB. Kinesis Data Firehose uses this value for padding calculations. * @@ -92,7 +92,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDe defaults) { + public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDe defaults) { return new Builder(defaults); } @CustomType.Builder @@ -104,7 +104,7 @@ public static final class Builder { private @Nullable Integer pageSizeBytes; private @Nullable String writerVersion; public Builder() {} - public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDe defaults) { + public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDe defaults) { Objects.requireNonNull(defaults); this.blockSizeBytes = defaults.blockSizeBytes; this.compression = defaults.compression; @@ -150,8 +150,8 @@ public Builder writerVersion(@Nullable String writerVersion) { this.writerVersion = writerVersion; return this; } - public FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDe build() { - final var _resultValue = new FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfigurationSerializerParquetSerDe(); + public FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDe build() { + final var _resultValue = new FirehoseDeliveryStreamExtendedS3ConfigurationParquetSerDe(); _resultValue.blockSizeBytes = blockSizeBytes; _resultValue.compression = compression; _resultValue.enableDictionaryCompression = enableDictionaryCompression; diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/Application.java b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/Application.java index 56fbbd8d4ac..694161563cd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/Application.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/Application.java @@ -155,13 +155,13 @@ * import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs; * import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatArgs; * import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersArgs; - * import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs; + * import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationCsvMappingParametersArgs; * import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputKinesisStreamsInputArgs; * import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceArgs; * import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaArgs; * import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatArgs; - * import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersArgs; - * import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs; + * import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationMappingParametersArgs; + * import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationJsonMappingParametersArgs; * import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceS3ReferenceDataSourceArgs; * import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationCloudwatchLoggingOptionsArgs; * import java.util.List; @@ -220,7 +220,7 @@ * .recordFormat(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatArgs.builder() * .recordFormatType("CSV") * .mappingParameters(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersArgs.builder() - * .csvMappingParameters(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs.builder() + * .csvMappingParameters(ApplicationApplicationConfigurationCsvMappingParametersArgs.builder() * .recordColumnDelimiter(",") * .recordRowDelimiter(""" * @@ -261,8 +261,8 @@ * .build()) * .recordFormat(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatArgs.builder() * .recordFormatType("JSON") - * .mappingParameters(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersArgs.builder() - * .jsonMappingParameters(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs.builder() + * .mappingParameters(ApplicationApplicationConfigurationMappingParametersArgs.builder() + * .jsonMappingParameters(ApplicationApplicationConfigurationJsonMappingParametersArgs.builder() * .recordRowPath("$") * .build()) * .build()) diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs.java b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationCsvMappingParametersArgs.java similarity index 61% rename from sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationCsvMappingParametersArgs.java index e863705b683..f4aeb016127 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationCsvMappingParametersArgs.java @@ -10,9 +10,9 @@ import java.util.Objects; -public final class ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs extends com.pulumi.resources.ResourceArgs { +public final class ApplicationApplicationConfigurationCsvMappingParametersArgs extends com.pulumi.resources.ResourceArgs { - public static final ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs Empty = new ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs(); + public static final ApplicationApplicationConfigurationCsvMappingParametersArgs Empty = new ApplicationApplicationConfigurationCsvMappingParametersArgs(); /** * The column delimiter. For example, in a CSV format, a comma (`,`) is the typical column delimiter. @@ -44,9 +44,9 @@ public Output recordRowDelimiter() { return this.recordRowDelimiter; } - private ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs() {} + private ApplicationApplicationConfigurationCsvMappingParametersArgs() {} - private ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs $) { + private ApplicationApplicationConfigurationCsvMappingParametersArgs(ApplicationApplicationConfigurationCsvMappingParametersArgs $) { this.recordColumnDelimiter = $.recordColumnDelimiter; this.recordRowDelimiter = $.recordRowDelimiter; } @@ -54,19 +54,19 @@ private ApplicationApplicationConfigurationSqlApplicationConfigurationInputInput public static Builder builder() { return new Builder(); } - public static Builder builder(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs defaults) { + public static Builder builder(ApplicationApplicationConfigurationCsvMappingParametersArgs defaults) { return new Builder(defaults); } public static final class Builder { - private ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs $; + private ApplicationApplicationConfigurationCsvMappingParametersArgs $; public Builder() { - $ = new ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs(); + $ = new ApplicationApplicationConfigurationCsvMappingParametersArgs(); } - public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs defaults) { - $ = new ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs(Objects.requireNonNull(defaults)); + public Builder(ApplicationApplicationConfigurationCsvMappingParametersArgs defaults) { + $ = new ApplicationApplicationConfigurationCsvMappingParametersArgs(Objects.requireNonNull(defaults)); } /** @@ -111,12 +111,12 @@ public Builder recordRowDelimiter(String recordRowDelimiter) { return recordRowDelimiter(Output.of(recordRowDelimiter)); } - public ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs build() { + public ApplicationApplicationConfigurationCsvMappingParametersArgs build() { if ($.recordColumnDelimiter == null) { - throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs", "recordColumnDelimiter"); + throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationCsvMappingParametersArgs", "recordColumnDelimiter"); } if ($.recordRowDelimiter == null) { - throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs", "recordRowDelimiter"); + throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationCsvMappingParametersArgs", "recordRowDelimiter"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationJsonMappingParametersArgs.java b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationJsonMappingParametersArgs.java new file mode 100644 index 00000000000..f41e87884b1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationJsonMappingParametersArgs.java @@ -0,0 +1,85 @@ +// *** 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.kinesisanalyticsv2.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 ApplicationApplicationConfigurationJsonMappingParametersArgs extends com.pulumi.resources.ResourceArgs { + + public static final ApplicationApplicationConfigurationJsonMappingParametersArgs Empty = new ApplicationApplicationConfigurationJsonMappingParametersArgs(); + + /** + * The path to the top-level parent that contains the records. + * + */ + @Import(name="recordRowPath", required=true) + private Output recordRowPath; + + /** + * @return The path to the top-level parent that contains the records. + * + */ + public Output recordRowPath() { + return this.recordRowPath; + } + + private ApplicationApplicationConfigurationJsonMappingParametersArgs() {} + + private ApplicationApplicationConfigurationJsonMappingParametersArgs(ApplicationApplicationConfigurationJsonMappingParametersArgs $) { + this.recordRowPath = $.recordRowPath; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ApplicationApplicationConfigurationJsonMappingParametersArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ApplicationApplicationConfigurationJsonMappingParametersArgs $; + + public Builder() { + $ = new ApplicationApplicationConfigurationJsonMappingParametersArgs(); + } + + public Builder(ApplicationApplicationConfigurationJsonMappingParametersArgs defaults) { + $ = new ApplicationApplicationConfigurationJsonMappingParametersArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param recordRowPath The path to the top-level parent that contains the records. + * + * @return builder + * + */ + public Builder recordRowPath(Output recordRowPath) { + $.recordRowPath = recordRowPath; + return this; + } + + /** + * @param recordRowPath The path to the top-level parent that contains the records. + * + * @return builder + * + */ + public Builder recordRowPath(String recordRowPath) { + return recordRowPath(Output.of(recordRowPath)); + } + + public ApplicationApplicationConfigurationJsonMappingParametersArgs build() { + if ($.recordRowPath == null) { + throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationJsonMappingParametersArgs", "recordRowPath"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationMappingParametersArgs.java b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationMappingParametersArgs.java new file mode 100644 index 00000000000..9ed6d96f7c4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationMappingParametersArgs.java @@ -0,0 +1,121 @@ +// *** 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.kinesisanalyticsv2.inputs; + +import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationCsvMappingParametersArgs; +import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationJsonMappingParametersArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ApplicationApplicationConfigurationMappingParametersArgs extends com.pulumi.resources.ResourceArgs { + + public static final ApplicationApplicationConfigurationMappingParametersArgs Empty = new ApplicationApplicationConfigurationMappingParametersArgs(); + + /** + * Provides additional mapping information when the record format uses delimiters (for example, CSV). + * + */ + @Import(name="csvMappingParameters") + private @Nullable Output csvMappingParameters; + + /** + * @return Provides additional mapping information when the record format uses delimiters (for example, CSV). + * + */ + public Optional> csvMappingParameters() { + return Optional.ofNullable(this.csvMappingParameters); + } + + /** + * Provides additional mapping information when JSON is the record format on the streaming source. + * + */ + @Import(name="jsonMappingParameters") + private @Nullable Output jsonMappingParameters; + + /** + * @return Provides additional mapping information when JSON is the record format on the streaming source. + * + */ + public Optional> jsonMappingParameters() { + return Optional.ofNullable(this.jsonMappingParameters); + } + + private ApplicationApplicationConfigurationMappingParametersArgs() {} + + private ApplicationApplicationConfigurationMappingParametersArgs(ApplicationApplicationConfigurationMappingParametersArgs $) { + this.csvMappingParameters = $.csvMappingParameters; + this.jsonMappingParameters = $.jsonMappingParameters; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ApplicationApplicationConfigurationMappingParametersArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ApplicationApplicationConfigurationMappingParametersArgs $; + + public Builder() { + $ = new ApplicationApplicationConfigurationMappingParametersArgs(); + } + + public Builder(ApplicationApplicationConfigurationMappingParametersArgs defaults) { + $ = new ApplicationApplicationConfigurationMappingParametersArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param csvMappingParameters Provides additional mapping information when the record format uses delimiters (for example, CSV). + * + * @return builder + * + */ + public Builder csvMappingParameters(@Nullable Output csvMappingParameters) { + $.csvMappingParameters = csvMappingParameters; + return this; + } + + /** + * @param csvMappingParameters Provides additional mapping information when the record format uses delimiters (for example, CSV). + * + * @return builder + * + */ + public Builder csvMappingParameters(ApplicationApplicationConfigurationCsvMappingParametersArgs csvMappingParameters) { + return csvMappingParameters(Output.of(csvMappingParameters)); + } + + /** + * @param jsonMappingParameters Provides additional mapping information when JSON is the record format on the streaming source. + * + * @return builder + * + */ + public Builder jsonMappingParameters(@Nullable Output jsonMappingParameters) { + $.jsonMappingParameters = jsonMappingParameters; + return this; + } + + /** + * @param jsonMappingParameters Provides additional mapping information when JSON is the record format on the streaming source. + * + * @return builder + * + */ + public Builder jsonMappingParameters(ApplicationApplicationConfigurationJsonMappingParametersArgs jsonMappingParameters) { + return jsonMappingParameters(Output.of(jsonMappingParameters)); + } + + public ApplicationApplicationConfigurationMappingParametersArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersArgs.java b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersArgs.java index 82b668cc0f3..ab19c0be15d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.kinesisanalyticsv2.inputs; -import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParametersArgs; -import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParametersArgs; +import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationCsvMappingParametersArgs; +import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationJsonMappingParametersArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.util.Objects; @@ -21,13 +21,13 @@ public final class ApplicationApplicationConfigurationSqlApplicationConfiguratio * */ @Import(name="csvMappingParameters") - private @Nullable Output csvMappingParameters; + private @Nullable Output csvMappingParameters; /** * @return Provides additional mapping information when the record format uses delimiters (for example, CSV). * */ - public Optional> csvMappingParameters() { + public Optional> csvMappingParameters() { return Optional.ofNullable(this.csvMappingParameters); } @@ -36,13 +36,13 @@ public Optional jsonMappingParameters; + private @Nullable Output jsonMappingParameters; /** * @return Provides additional mapping information when JSON is the record format on the streaming source. * */ - public Optional> jsonMappingParameters() { + public Optional> jsonMappingParameters() { return Optional.ofNullable(this.jsonMappingParameters); } @@ -77,7 +77,7 @@ public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationInp * @return builder * */ - public Builder csvMappingParameters(@Nullable Output csvMappingParameters) { + public Builder csvMappingParameters(@Nullable Output csvMappingParameters) { $.csvMappingParameters = csvMappingParameters; return this; } @@ -88,7 +88,7 @@ public Builder csvMappingParameters(@Nullable Output jsonMappingParameters) { + public Builder jsonMappingParameters(@Nullable Output jsonMappingParameters) { $.jsonMappingParameters = jsonMappingParameters; return this; } @@ -109,7 +109,7 @@ public Builder jsonMappingParameters(@Nullable Output recordRowPath; - - /** - * @return The path to the top-level parent that contains the records. - * - */ - public Output recordRowPath() { - return this.recordRowPath; - } - - private ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParametersArgs() {} - - private ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParametersArgs(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParametersArgs $) { - this.recordRowPath = $.recordRowPath; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParametersArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParametersArgs $; - - public Builder() { - $ = new ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParametersArgs(); - } - - public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParametersArgs defaults) { - $ = new ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParametersArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param recordRowPath The path to the top-level parent that contains the records. - * - * @return builder - * - */ - public Builder recordRowPath(Output recordRowPath) { - $.recordRowPath = recordRowPath; - return this; - } - - /** - * @param recordRowPath The path to the top-level parent that contains the records. - * - * @return builder - * - */ - public Builder recordRowPath(String recordRowPath) { - return recordRowPath(Output.of(recordRowPath)); - } - - public ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParametersArgs build() { - if ($.recordRowPath == null) { - throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParametersArgs", "recordRowPath"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatArgs.java b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatArgs.java index cb19087cfaf..09733897905 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.kinesisanalyticsv2.inputs; -import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersArgs; +import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationMappingParametersArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -20,13 +20,13 @@ public final class ApplicationApplicationConfigurationSqlApplicationConfiguratio * */ @Import(name="mappingParameters", required=true) - private Output mappingParameters; + private Output mappingParameters; /** * @return Provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. * */ - public Output mappingParameters() { + public Output mappingParameters() { return this.mappingParameters; } @@ -76,7 +76,7 @@ public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationRef * @return builder * */ - public Builder mappingParameters(Output mappingParameters) { + public Builder mappingParameters(Output mappingParameters) { $.mappingParameters = mappingParameters; return this; } @@ -87,7 +87,7 @@ public Builder mappingParameters(Output csvMappingParameters; - - /** - * @return Provides additional mapping information when the record format uses delimiters (for example, CSV). - * - */ - public Optional> csvMappingParameters() { - return Optional.ofNullable(this.csvMappingParameters); - } - - /** - * Provides additional mapping information when JSON is the record format on the streaming source. - * - */ - @Import(name="jsonMappingParameters") - private @Nullable Output jsonMappingParameters; - - /** - * @return Provides additional mapping information when JSON is the record format on the streaming source. - * - */ - public Optional> jsonMappingParameters() { - return Optional.ofNullable(this.jsonMappingParameters); - } - - private ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersArgs() {} - - private ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersArgs(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersArgs $) { - this.csvMappingParameters = $.csvMappingParameters; - this.jsonMappingParameters = $.jsonMappingParameters; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersArgs $; - - public Builder() { - $ = new ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersArgs(); - } - - public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersArgs defaults) { - $ = new ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param csvMappingParameters Provides additional mapping information when the record format uses delimiters (for example, CSV). - * - * @return builder - * - */ - public Builder csvMappingParameters(@Nullable Output csvMappingParameters) { - $.csvMappingParameters = csvMappingParameters; - return this; - } - - /** - * @param csvMappingParameters Provides additional mapping information when the record format uses delimiters (for example, CSV). - * - * @return builder - * - */ - public Builder csvMappingParameters(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParametersArgs csvMappingParameters) { - return csvMappingParameters(Output.of(csvMappingParameters)); - } - - /** - * @param jsonMappingParameters Provides additional mapping information when JSON is the record format on the streaming source. - * - * @return builder - * - */ - public Builder jsonMappingParameters(@Nullable Output jsonMappingParameters) { - $.jsonMappingParameters = jsonMappingParameters; - return this; - } - - /** - * @param jsonMappingParameters Provides additional mapping information when JSON is the record format on the streaming source. - * - * @return builder - * - */ - public Builder jsonMappingParameters(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs jsonMappingParameters) { - return jsonMappingParameters(Output.of(jsonMappingParameters)); - } - - public ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParametersArgs.java b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParametersArgs.java deleted file mode 100644 index 4e864a04ae0..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParametersArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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.kinesisanalyticsv2.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 ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParametersArgs extends com.pulumi.resources.ResourceArgs { - - public static final ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParametersArgs Empty = new ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParametersArgs(); - - /** - * The column delimiter. For example, in a CSV format, a comma (`,`) is the typical column delimiter. - * - */ - @Import(name="recordColumnDelimiter", required=true) - private Output recordColumnDelimiter; - - /** - * @return The column delimiter. For example, in a CSV format, a comma (`,`) is the typical column delimiter. - * - */ - public Output recordColumnDelimiter() { - return this.recordColumnDelimiter; - } - - /** - * The row delimiter. For example, in a CSV format, `\n` is the typical row delimiter. - * - */ - @Import(name="recordRowDelimiter", required=true) - private Output recordRowDelimiter; - - /** - * @return The row delimiter. For example, in a CSV format, `\n` is the typical row delimiter. - * - */ - public Output recordRowDelimiter() { - return this.recordRowDelimiter; - } - - private ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParametersArgs() {} - - private ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParametersArgs(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParametersArgs $) { - this.recordColumnDelimiter = $.recordColumnDelimiter; - this.recordRowDelimiter = $.recordRowDelimiter; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParametersArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParametersArgs $; - - public Builder() { - $ = new ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParametersArgs(); - } - - public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParametersArgs defaults) { - $ = new ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParametersArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param recordColumnDelimiter The column delimiter. For example, in a CSV format, a comma (`,`) is the typical column delimiter. - * - * @return builder - * - */ - public Builder recordColumnDelimiter(Output recordColumnDelimiter) { - $.recordColumnDelimiter = recordColumnDelimiter; - return this; - } - - /** - * @param recordColumnDelimiter The column delimiter. For example, in a CSV format, a comma (`,`) is the typical column delimiter. - * - * @return builder - * - */ - public Builder recordColumnDelimiter(String recordColumnDelimiter) { - return recordColumnDelimiter(Output.of(recordColumnDelimiter)); - } - - /** - * @param recordRowDelimiter The row delimiter. For example, in a CSV format, `\n` is the typical row delimiter. - * - * @return builder - * - */ - public Builder recordRowDelimiter(Output recordRowDelimiter) { - $.recordRowDelimiter = recordRowDelimiter; - return this; - } - - /** - * @param recordRowDelimiter The row delimiter. For example, in a CSV format, `\n` is the typical row delimiter. - * - * @return builder - * - */ - public Builder recordRowDelimiter(String recordRowDelimiter) { - return recordRowDelimiter(Output.of(recordRowDelimiter)); - } - - public ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParametersArgs build() { - if ($.recordColumnDelimiter == null) { - throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParametersArgs", "recordColumnDelimiter"); - } - if ($.recordRowDelimiter == null) { - throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParametersArgs", "recordRowDelimiter"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs.java b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs.java deleted file mode 100644 index 9634cc8205a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/inputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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.kinesisanalyticsv2.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 ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs extends com.pulumi.resources.ResourceArgs { - - public static final ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs Empty = new ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs(); - - /** - * The path to the top-level parent that contains the records. - * - */ - @Import(name="recordRowPath", required=true) - private Output recordRowPath; - - /** - * @return The path to the top-level parent that contains the records. - * - */ - public Output recordRowPath() { - return this.recordRowPath; - } - - private ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs() {} - - private ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs $) { - this.recordRowPath = $.recordRowPath; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs $; - - public Builder() { - $ = new ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs(); - } - - public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs defaults) { - $ = new ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param recordRowPath The path to the top-level parent that contains the records. - * - * @return builder - * - */ - public Builder recordRowPath(Output recordRowPath) { - $.recordRowPath = recordRowPath; - return this; - } - - /** - * @param recordRowPath The path to the top-level parent that contains the records. - * - * @return builder - * - */ - public Builder recordRowPath(String recordRowPath) { - return recordRowPath(Output.of(recordRowPath)); - } - - public ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs build() { - if ($.recordRowPath == null) { - throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParametersArgs", "recordRowPath"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters.java b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationCsvMappingParameters.java similarity index 69% rename from sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters.java rename to sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationCsvMappingParameters.java index 46c50904ea4..80ee4d53914 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationCsvMappingParameters.java @@ -9,7 +9,7 @@ import java.util.Objects; @CustomType -public final class ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters { +public final class ApplicationApplicationConfigurationCsvMappingParameters { /** * @return The column delimiter. For example, in a CSV format, a comma (`,`) is the typical column delimiter. * @@ -21,7 +21,7 @@ public final class ApplicationApplicationConfigurationSqlApplicationConfiguratio */ private String recordRowDelimiter; - private ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters() {} + private ApplicationApplicationConfigurationCsvMappingParameters() {} /** * @return The column delimiter. For example, in a CSV format, a comma (`,`) is the typical column delimiter. * @@ -41,7 +41,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters defaults) { + public static Builder builder(ApplicationApplicationConfigurationCsvMappingParameters defaults) { return new Builder(defaults); } @CustomType.Builder @@ -49,7 +49,7 @@ public static final class Builder { private String recordColumnDelimiter; private String recordRowDelimiter; public Builder() {} - public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters defaults) { + public Builder(ApplicationApplicationConfigurationCsvMappingParameters defaults) { Objects.requireNonNull(defaults); this.recordColumnDelimiter = defaults.recordColumnDelimiter; this.recordRowDelimiter = defaults.recordRowDelimiter; @@ -58,7 +58,7 @@ public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationInp @CustomType.Setter public Builder recordColumnDelimiter(String recordColumnDelimiter) { if (recordColumnDelimiter == null) { - throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters", "recordColumnDelimiter"); + throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationCsvMappingParameters", "recordColumnDelimiter"); } this.recordColumnDelimiter = recordColumnDelimiter; return this; @@ -66,13 +66,13 @@ public Builder recordColumnDelimiter(String recordColumnDelimiter) { @CustomType.Setter public Builder recordRowDelimiter(String recordRowDelimiter) { if (recordRowDelimiter == null) { - throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters", "recordRowDelimiter"); + throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationCsvMappingParameters", "recordRowDelimiter"); } this.recordRowDelimiter = recordRowDelimiter; return this; } - public ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters build() { - final var _resultValue = new ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters(); + public ApplicationApplicationConfigurationCsvMappingParameters build() { + final var _resultValue = new ApplicationApplicationConfigurationCsvMappingParameters(); _resultValue.recordColumnDelimiter = recordColumnDelimiter; _resultValue.recordRowDelimiter = recordRowDelimiter; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParameters.java b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationJsonMappingParameters.java similarity index 61% rename from sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParameters.java rename to sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationJsonMappingParameters.java index 9bb0a978dc4..ea3a8f4aa15 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParameters.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationJsonMappingParameters.java @@ -9,14 +9,14 @@ import java.util.Objects; @CustomType -public final class ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParameters { +public final class ApplicationApplicationConfigurationJsonMappingParameters { /** * @return The path to the top-level parent that contains the records. * */ private String recordRowPath; - private ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParameters() {} + private ApplicationApplicationConfigurationJsonMappingParameters() {} /** * @return The path to the top-level parent that contains the records. * @@ -29,14 +29,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParameters defaults) { + public static Builder builder(ApplicationApplicationConfigurationJsonMappingParameters defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String recordRowPath; public Builder() {} - public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParameters defaults) { + public Builder(ApplicationApplicationConfigurationJsonMappingParameters defaults) { Objects.requireNonNull(defaults); this.recordRowPath = defaults.recordRowPath; } @@ -44,13 +44,13 @@ public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationInp @CustomType.Setter public Builder recordRowPath(String recordRowPath) { if (recordRowPath == null) { - throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParameters", "recordRowPath"); + throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationJsonMappingParameters", "recordRowPath"); } this.recordRowPath = recordRowPath; return this; } - public ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParameters build() { - final var _resultValue = new ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParameters(); + public ApplicationApplicationConfigurationJsonMappingParameters build() { + final var _resultValue = new ApplicationApplicationConfigurationJsonMappingParameters(); _resultValue.recordRowPath = recordRowPath; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationMappingParameters.java b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationMappingParameters.java new file mode 100644 index 00000000000..2b96d3be96a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationMappingParameters.java @@ -0,0 +1,79 @@ +// *** 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.kinesisanalyticsv2.outputs; + +import com.pulumi.aws.kinesisanalyticsv2.outputs.ApplicationApplicationConfigurationCsvMappingParameters; +import com.pulumi.aws.kinesisanalyticsv2.outputs.ApplicationApplicationConfigurationJsonMappingParameters; +import com.pulumi.core.annotations.CustomType; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ApplicationApplicationConfigurationMappingParameters { + /** + * @return Provides additional mapping information when the record format uses delimiters (for example, CSV). + * + */ + private @Nullable ApplicationApplicationConfigurationCsvMappingParameters csvMappingParameters; + /** + * @return Provides additional mapping information when JSON is the record format on the streaming source. + * + */ + private @Nullable ApplicationApplicationConfigurationJsonMappingParameters jsonMappingParameters; + + private ApplicationApplicationConfigurationMappingParameters() {} + /** + * @return Provides additional mapping information when the record format uses delimiters (for example, CSV). + * + */ + public Optional csvMappingParameters() { + return Optional.ofNullable(this.csvMappingParameters); + } + /** + * @return Provides additional mapping information when JSON is the record format on the streaming source. + * + */ + public Optional jsonMappingParameters() { + return Optional.ofNullable(this.jsonMappingParameters); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ApplicationApplicationConfigurationMappingParameters defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable ApplicationApplicationConfigurationCsvMappingParameters csvMappingParameters; + private @Nullable ApplicationApplicationConfigurationJsonMappingParameters jsonMappingParameters; + public Builder() {} + public Builder(ApplicationApplicationConfigurationMappingParameters defaults) { + Objects.requireNonNull(defaults); + this.csvMappingParameters = defaults.csvMappingParameters; + this.jsonMappingParameters = defaults.jsonMappingParameters; + } + + @CustomType.Setter + public Builder csvMappingParameters(@Nullable ApplicationApplicationConfigurationCsvMappingParameters csvMappingParameters) { + + this.csvMappingParameters = csvMappingParameters; + return this; + } + @CustomType.Setter + public Builder jsonMappingParameters(@Nullable ApplicationApplicationConfigurationJsonMappingParameters jsonMappingParameters) { + + this.jsonMappingParameters = jsonMappingParameters; + return this; + } + public ApplicationApplicationConfigurationMappingParameters build() { + final var _resultValue = new ApplicationApplicationConfigurationMappingParameters(); + _resultValue.csvMappingParameters = csvMappingParameters; + _resultValue.jsonMappingParameters = jsonMappingParameters; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParameters.java b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParameters.java index 71c2350673a..0805c4b5940 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParameters.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParameters.java @@ -3,8 +3,8 @@ package com.pulumi.aws.kinesisanalyticsv2.outputs; -import com.pulumi.aws.kinesisanalyticsv2.outputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters; -import com.pulumi.aws.kinesisanalyticsv2.outputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParameters; +import com.pulumi.aws.kinesisanalyticsv2.outputs.ApplicationApplicationConfigurationCsvMappingParameters; +import com.pulumi.aws.kinesisanalyticsv2.outputs.ApplicationApplicationConfigurationJsonMappingParameters; import com.pulumi.core.annotations.CustomType; import java.util.Objects; import java.util.Optional; @@ -16,26 +16,26 @@ public final class ApplicationApplicationConfigurationSqlApplicationConfiguratio * @return Provides additional mapping information when the record format uses delimiters (for example, CSV). * */ - private @Nullable ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters csvMappingParameters; + private @Nullable ApplicationApplicationConfigurationCsvMappingParameters csvMappingParameters; /** * @return Provides additional mapping information when JSON is the record format on the streaming source. * */ - private @Nullable ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParameters jsonMappingParameters; + private @Nullable ApplicationApplicationConfigurationJsonMappingParameters jsonMappingParameters; private ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParameters() {} /** * @return Provides additional mapping information when the record format uses delimiters (for example, CSV). * */ - public Optional csvMappingParameters() { + public Optional csvMappingParameters() { return Optional.ofNullable(this.csvMappingParameters); } /** * @return Provides additional mapping information when JSON is the record format on the streaming source. * */ - public Optional jsonMappingParameters() { + public Optional jsonMappingParameters() { return Optional.ofNullable(this.jsonMappingParameters); } @@ -48,8 +48,8 @@ public static Builder builder(ApplicationApplicationConfigurationSqlApplicationC } @CustomType.Builder public static final class Builder { - private @Nullable ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters csvMappingParameters; - private @Nullable ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParameters jsonMappingParameters; + private @Nullable ApplicationApplicationConfigurationCsvMappingParameters csvMappingParameters; + private @Nullable ApplicationApplicationConfigurationJsonMappingParameters jsonMappingParameters; public Builder() {} public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParameters defaults) { Objects.requireNonNull(defaults); @@ -58,13 +58,13 @@ public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationInp } @CustomType.Setter - public Builder csvMappingParameters(@Nullable ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersCsvMappingParameters csvMappingParameters) { + public Builder csvMappingParameters(@Nullable ApplicationApplicationConfigurationCsvMappingParameters csvMappingParameters) { this.csvMappingParameters = csvMappingParameters; return this; } @CustomType.Setter - public Builder jsonMappingParameters(@Nullable ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatMappingParametersJsonMappingParameters jsonMappingParameters) { + public Builder jsonMappingParameters(@Nullable ApplicationApplicationConfigurationJsonMappingParameters jsonMappingParameters) { this.jsonMappingParameters = jsonMappingParameters; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormat.java b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormat.java index 9f8446f7fcd..4020444b2bf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormat.java +++ b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormat.java @@ -3,7 +3,7 @@ package com.pulumi.aws.kinesisanalyticsv2.outputs; -import com.pulumi.aws.kinesisanalyticsv2.outputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParameters; +import com.pulumi.aws.kinesisanalyticsv2.outputs.ApplicationApplicationConfigurationMappingParameters; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -15,7 +15,7 @@ public final class ApplicationApplicationConfigurationSqlApplicationConfiguratio * @return Provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. * */ - private ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParameters mappingParameters; + private ApplicationApplicationConfigurationMappingParameters mappingParameters; /** * @return The type of record format. Valid values: `CSV`, `JSON`. * @@ -27,7 +27,7 @@ private ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceD * @return Provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. * */ - public ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParameters mappingParameters() { + public ApplicationApplicationConfigurationMappingParameters mappingParameters() { return this.mappingParameters; } /** @@ -47,7 +47,7 @@ public static Builder builder(ApplicationApplicationConfigurationSqlApplicationC } @CustomType.Builder public static final class Builder { - private ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParameters mappingParameters; + private ApplicationApplicationConfigurationMappingParameters mappingParameters; private String recordFormatType; public Builder() {} public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormat defaults) { @@ -57,7 +57,7 @@ public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationRef } @CustomType.Setter - public Builder mappingParameters(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParameters mappingParameters) { + public Builder mappingParameters(ApplicationApplicationConfigurationMappingParameters mappingParameters) { if (mappingParameters == null) { throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormat", "mappingParameters"); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParameters.java b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParameters.java deleted file mode 100644 index 9257b066996..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParameters.java +++ /dev/null @@ -1,79 +0,0 @@ -// *** 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.kinesisanalyticsv2.outputs; - -import com.pulumi.aws.kinesisanalyticsv2.outputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters; -import com.pulumi.aws.kinesisanalyticsv2.outputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParameters { - /** - * @return Provides additional mapping information when the record format uses delimiters (for example, CSV). - * - */ - private @Nullable ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters csvMappingParameters; - /** - * @return Provides additional mapping information when JSON is the record format on the streaming source. - * - */ - private @Nullable ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters jsonMappingParameters; - - private ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParameters() {} - /** - * @return Provides additional mapping information when the record format uses delimiters (for example, CSV). - * - */ - public Optional csvMappingParameters() { - return Optional.ofNullable(this.csvMappingParameters); - } - /** - * @return Provides additional mapping information when JSON is the record format on the streaming source. - * - */ - public Optional jsonMappingParameters() { - return Optional.ofNullable(this.jsonMappingParameters); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParameters defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters csvMappingParameters; - private @Nullable ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters jsonMappingParameters; - public Builder() {} - public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParameters defaults) { - Objects.requireNonNull(defaults); - this.csvMappingParameters = defaults.csvMappingParameters; - this.jsonMappingParameters = defaults.jsonMappingParameters; - } - - @CustomType.Setter - public Builder csvMappingParameters(@Nullable ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters csvMappingParameters) { - - this.csvMappingParameters = csvMappingParameters; - return this; - } - @CustomType.Setter - public Builder jsonMappingParameters(@Nullable ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters jsonMappingParameters) { - - this.jsonMappingParameters = jsonMappingParameters; - return this; - } - public ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParameters build() { - final var _resultValue = new ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParameters(); - _resultValue.csvMappingParameters = csvMappingParameters; - _resultValue.jsonMappingParameters = jsonMappingParameters; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters.java b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters.java deleted file mode 100644 index bf4c8099bc4..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.kinesisanalyticsv2.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters { - /** - * @return The column delimiter. For example, in a CSV format, a comma (`,`) is the typical column delimiter. - * - */ - private String recordColumnDelimiter; - /** - * @return The row delimiter. For example, in a CSV format, `\n` is the typical row delimiter. - * - */ - private String recordRowDelimiter; - - private ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters() {} - /** - * @return The column delimiter. For example, in a CSV format, a comma (`,`) is the typical column delimiter. - * - */ - public String recordColumnDelimiter() { - return this.recordColumnDelimiter; - } - /** - * @return The row delimiter. For example, in a CSV format, `\n` is the typical row delimiter. - * - */ - public String recordRowDelimiter() { - return this.recordRowDelimiter; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String recordColumnDelimiter; - private String recordRowDelimiter; - public Builder() {} - public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters defaults) { - Objects.requireNonNull(defaults); - this.recordColumnDelimiter = defaults.recordColumnDelimiter; - this.recordRowDelimiter = defaults.recordRowDelimiter; - } - - @CustomType.Setter - public Builder recordColumnDelimiter(String recordColumnDelimiter) { - if (recordColumnDelimiter == null) { - throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters", "recordColumnDelimiter"); - } - this.recordColumnDelimiter = recordColumnDelimiter; - return this; - } - @CustomType.Setter - public Builder recordRowDelimiter(String recordRowDelimiter) { - if (recordRowDelimiter == null) { - throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters", "recordRowDelimiter"); - } - this.recordRowDelimiter = recordRowDelimiter; - return this; - } - public ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters build() { - final var _resultValue = new ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersCsvMappingParameters(); - _resultValue.recordColumnDelimiter = recordColumnDelimiter; - _resultValue.recordRowDelimiter = recordRowDelimiter; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters.java b/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters.java deleted file mode 100644 index 14d2738db22..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/kinesisanalyticsv2/outputs/ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.kinesisanalyticsv2.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters { - /** - * @return The path to the top-level parent that contains the records. - * - */ - private String recordRowPath; - - private ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters() {} - /** - * @return The path to the top-level parent that contains the records. - * - */ - public String recordRowPath() { - return this.recordRowPath; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String recordRowPath; - public Builder() {} - public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters defaults) { - Objects.requireNonNull(defaults); - this.recordRowPath = defaults.recordRowPath; - } - - @CustomType.Setter - public Builder recordRowPath(String recordRowPath) { - if (recordRowPath == null) { - throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters", "recordRowPath"); - } - this.recordRowPath = recordRowPath; - return this; - } - public ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters build() { - final var _resultValue = new ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormatMappingParametersJsonMappingParameters(); - _resultValue.recordRowPath = recordRowPath; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingAudioSpecificationArgs.java similarity index 60% rename from sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingAudioSpecificationArgs.java index 1f5a4a17cb5..10563b2cc20 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingAudioSpecificationArgs.java @@ -10,9 +10,9 @@ import java.util.Objects; -public final class V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs extends com.pulumi.resources.ResourceArgs { +public final class V2modelsIntentConfirmationSettingAudioSpecificationArgs extends com.pulumi.resources.ResourceArgs { - public static final V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs Empty = new V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs(); + public static final V2modelsIntentConfirmationSettingAudioSpecificationArgs Empty = new V2modelsIntentConfirmationSettingAudioSpecificationArgs(); /** * Time for which a bot waits after the customer stops speaking to assume the utterance is finished. @@ -44,9 +44,9 @@ public Output maxLengthMs() { return this.maxLengthMs; } - private V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs() {} + private V2modelsIntentConfirmationSettingAudioSpecificationArgs() {} - private V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs $) { + private V2modelsIntentConfirmationSettingAudioSpecificationArgs(V2modelsIntentConfirmationSettingAudioSpecificationArgs $) { this.endTimeoutMs = $.endTimeoutMs; this.maxLengthMs = $.maxLengthMs; } @@ -54,19 +54,19 @@ private V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecif public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingAudioSpecificationArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs $; + private V2modelsIntentConfirmationSettingAudioSpecificationArgs $; public Builder() { - $ = new V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs(); + $ = new V2modelsIntentConfirmationSettingAudioSpecificationArgs(); } - public Builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs defaults) { - $ = new V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentConfirmationSettingAudioSpecificationArgs defaults) { + $ = new V2modelsIntentConfirmationSettingAudioSpecificationArgs(Objects.requireNonNull(defaults)); } /** @@ -111,12 +111,12 @@ public Builder maxLengthMs(Integer maxLengthMs) { return maxLengthMs(Output.of(maxLengthMs)); } - public V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs build() { + public V2modelsIntentConfirmationSettingAudioSpecificationArgs build() { if ($.endTimeoutMs == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs", "endTimeoutMs"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingAudioSpecificationArgs", "endTimeoutMs"); } if ($.maxLengthMs == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs", "maxLengthMs"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingAudioSpecificationArgs", "maxLengthMs"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingButtonArgs.java similarity index 61% rename from sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingButtonArgs.java index e9b81dcd179..3f2c277532a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingButtonArgs.java @@ -10,9 +10,9 @@ import java.util.Objects; -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { +public final class V2modelsIntentConfirmationSettingButtonArgs extends com.pulumi.resources.ResourceArgs { - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs(); + public static final V2modelsIntentConfirmationSettingButtonArgs Empty = new V2modelsIntentConfirmationSettingButtonArgs(); /** * Text that appears on the button. Use this to tell the user what value is returned when they choose this button. @@ -44,9 +44,9 @@ public Output value() { return this.value; } - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs() {} + private V2modelsIntentConfirmationSettingButtonArgs() {} - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs $) { + private V2modelsIntentConfirmationSettingButtonArgs(V2modelsIntentConfirmationSettingButtonArgs $) { this.text = $.text; this.value = $.value; } @@ -54,19 +54,19 @@ private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSucces public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingButtonArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs $; + private V2modelsIntentConfirmationSettingButtonArgs $; public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs(); + $ = new V2modelsIntentConfirmationSettingButtonArgs(); } - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentConfirmationSettingButtonArgs defaults) { + $ = new V2modelsIntentConfirmationSettingButtonArgs(Objects.requireNonNull(defaults)); } /** @@ -111,12 +111,12 @@ public Builder value(String value) { return value(Output.of(value)); } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs build() { + public V2modelsIntentConfirmationSettingButtonArgs build() { if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingButtonArgs", "text"); } if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingButtonArgs", "value"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepArgs.java index 677de8861e7..3f4cb669d0a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs; import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingDialogActionArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.String; @@ -23,13 +23,13 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * */ @Import(name="dialogAction") - private @Nullable Output dialogAction; + private @Nullable Output dialogAction; /** * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - public Optional> dialogAction() { + public Optional> dialogAction() { return Optional.ofNullable(this.dialogAction); } @@ -95,7 +95,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio * @return builder * */ - public Builder dialogAction(@Nullable Output dialogAction) { + public Builder dialogAction(@Nullable Output dialogAction) { $.dialogAction = dialogAction; return this; } @@ -106,7 +106,7 @@ public Builder dialogAction(@Nullable Output slotToElicit; - - /** - * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - */ - public Optional> slotToElicit() { - return Optional.ofNullable(this.slotToElicit); - } - - /** - * Whether the next message for the intent is _not_ used. - * - */ - @Import(name="suppressNextMessage") - private @Nullable Output suppressNextMessage; - - /** - * @return Whether the next message for the intent is _not_ used. - * - */ - public Optional> suppressNextMessage() { - return Optional.ofNullable(this.suppressNextMessage); - } - - /** - * Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - @Import(name="type", required=true) - private Output type; - - /** - * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - public Output type() { - return this.type; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs $) { - this.slotToElicit = $.slotToElicit; - this.suppressNextMessage = $.suppressNextMessage; - this.type = $.type; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param slotToElicit If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - * @return builder - * - */ - public Builder slotToElicit(@Nullable Output slotToElicit) { - $.slotToElicit = slotToElicit; - return this; - } - - /** - * @param slotToElicit If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - * @return builder - * - */ - public Builder slotToElicit(String slotToElicit) { - return slotToElicit(Output.of(slotToElicit)); - } - - /** - * @param suppressNextMessage Whether the next message for the intent is _not_ used. - * - * @return builder - * - */ - public Builder suppressNextMessage(@Nullable Output suppressNextMessage) { - $.suppressNextMessage = suppressNextMessage; - return this; - } - - /** - * @param suppressNextMessage Whether the next message for the intent is _not_ used. - * - * @return builder - * - */ - public Builder suppressNextMessage(Boolean suppressNextMessage) { - return suppressNextMessage(Output.of(suppressNextMessage)); - } - - /** - * @param type Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - * @return builder - * - */ - public Builder type(Output type) { - $.type = type; - return this; - } - - /** - * @param type Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - * @return builder - * - */ - public Builder type(String type) { - return type(Output.of(type)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs build() { - if ($.type == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs", "type"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs.java index 9d4c9e74841..ede90cba11d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingValueArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -52,13 +52,13 @@ public Optional> shape() { * */ @Import(name="value") - private @Nullable Output value; + private @Nullable Output value; /** * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional> value() { + public Optional> value() { return Optional.ofNullable(this.value); } @@ -136,7 +136,7 @@ public Builder shape(String shape) { * @return builder * */ - public Builder value(@Nullable Output value) { + public Builder value(@Nullable Output value) { $.value = value; return this; } @@ -147,7 +147,7 @@ public Builder value(@Nullable Output> allowInterrupt() { * */ @Import(name="messageGroups") - private @Nullable Output> messageGroups; + private @Nullable Output> messageGroups; /** * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - public Optional>> messageGroups() { + public Optional>> messageGroups() { return Optional.ofNullable(this.messageGroups); } @@ -99,7 +99,7 @@ public Builder allowInterrupt(Boolean allowInterrupt) { * @return builder * */ - public Builder messageGroups(@Nullable Output> messageGroups) { + public Builder messageGroups(@Nullable Output> messageGroups) { $.messageGroups = messageGroups; return this; } @@ -110,7 +110,7 @@ public Builder messageGroups(@Nullable Output messageGroups) { + public Builder messageGroups(List messageGroups) { return messageGroups(Output.of(messageGroups)); } @@ -120,7 +120,7 @@ public Builder messageGroups(List customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java deleted file mode 100644 index 81f3413be2b..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java deleted file mode 100644 index fd208e4db9e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index 13937052f84..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java deleted file mode 100644 index 4c2484ccdea..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java deleted file mode 100644 index a8cd8fd6f3c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs.java deleted file mode 100644 index fa39d99f9a0..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java deleted file mode 100644 index 54ca35c194e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java deleted file mode 100644 index 7a92c83ba40..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index 0952744cb90..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index 43a568f398c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java deleted file mode 100644 index d26f47e848c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupArgs.java index 0a0874c8b04..4b8924fc0e6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingMessageArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingVariationArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * */ @Import(name="message", required=true) - private Output message; + private Output message; /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public Output message() { + public Output message() { return this.message; } @@ -38,13 +38,13 @@ public Output> variations; + private @Nullable Output> variations; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public Optional>> variations() { + public Optional>> variations() { return Optional.ofNullable(this.variations); } @@ -79,7 +79,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio * @return builder * */ - public Builder message(Output message) { + public Builder message(Output message) { $.message = message; return this; } @@ -90,7 +90,7 @@ public Builder message(Output> variations) { + public Builder variations(@Nullable Output> variations) { $.variations = variations; return this; } @@ -111,7 +111,7 @@ public Builder variations(@Nullable Output variations) { + public Builder variations(List variations) { return variations(Output.of(variations)); } @@ -121,7 +121,7 @@ public Builder variations(List customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.java deleted file mode 100644 index 8d5348a2570..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java deleted file mode 100644 index b40d94cde5f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index 7dc82e6c6f3..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java deleted file mode 100644 index 49ace5184da..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java deleted file mode 100644 index 906382560f8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs.java deleted file mode 100644 index 327664b56dd..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java deleted file mode 100644 index eca52beeefd..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java deleted file mode 100644 index 412f5b92580..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index fa639810466..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index 870bc5d09df..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java deleted file mode 100644 index 4b5d1730941..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs.java index 4820567e18d..68147c1a606 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs.java index d344b1290c9..ab6032afda5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepArgs.java index 73d4aec8f2e..cac313b9949 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs; import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingDialogActionArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.String; @@ -23,13 +23,13 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * */ @Import(name="dialogAction") - private @Nullable Output dialogAction; + private @Nullable Output dialogAction; /** * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - public Optional> dialogAction() { + public Optional> dialogAction() { return Optional.ofNullable(this.dialogAction); } @@ -95,7 +95,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio * @return builder * */ - public Builder dialogAction(@Nullable Output dialogAction) { + public Builder dialogAction(@Nullable Output dialogAction) { $.dialogAction = dialogAction; return this; } @@ -106,7 +106,7 @@ public Builder dialogAction(@Nullable Output slotToElicit; - - /** - * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - */ - public Optional> slotToElicit() { - return Optional.ofNullable(this.slotToElicit); - } - - /** - * Whether the next message for the intent is _not_ used. - * - */ - @Import(name="suppressNextMessage") - private @Nullable Output suppressNextMessage; - - /** - * @return Whether the next message for the intent is _not_ used. - * - */ - public Optional> suppressNextMessage() { - return Optional.ofNullable(this.suppressNextMessage); - } - - /** - * Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - @Import(name="type", required=true) - private Output type; - - /** - * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - public Output type() { - return this.type; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs $) { - this.slotToElicit = $.slotToElicit; - this.suppressNextMessage = $.suppressNextMessage; - this.type = $.type; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param slotToElicit If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - * @return builder - * - */ - public Builder slotToElicit(@Nullable Output slotToElicit) { - $.slotToElicit = slotToElicit; - return this; - } - - /** - * @param slotToElicit If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - * @return builder - * - */ - public Builder slotToElicit(String slotToElicit) { - return slotToElicit(Output.of(slotToElicit)); - } - - /** - * @param suppressNextMessage Whether the next message for the intent is _not_ used. - * - * @return builder - * - */ - public Builder suppressNextMessage(@Nullable Output suppressNextMessage) { - $.suppressNextMessage = suppressNextMessage; - return this; - } - - /** - * @param suppressNextMessage Whether the next message for the intent is _not_ used. - * - * @return builder - * - */ - public Builder suppressNextMessage(Boolean suppressNextMessage) { - return suppressNextMessage(Output.of(suppressNextMessage)); - } - - /** - * @param type Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - * @return builder - * - */ - public Builder type(Output type) { - $.type = type; - return this; - } - - /** - * @param type Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - * @return builder - * - */ - public Builder type(String type) { - return type(Output.of(type)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs build() { - if ($.type == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs", "type"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs.java index ba82a1bfbe0..eb0a7d9edb2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingValueArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -52,13 +52,13 @@ public Optional> shape() { * */ @Import(name="value") - private @Nullable Output value; + private @Nullable Output value; /** * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional> value() { + public Optional> value() { return Optional.ofNullable(this.value); } @@ -136,7 +136,7 @@ public Builder shape(String shape) { * @return builder * */ - public Builder value(@Nullable Output value) { + public Builder value(@Nullable Output value) { $.value = value; return this; } @@ -147,7 +147,7 @@ public Builder value(@Nullable Output interpretedValue; - - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional> interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs $) { - this.interpretedValue = $.interpretedValue; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(@Nullable Output interpretedValue) { - $.interpretedValue = interpretedValue; - return this; - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(String interpretedValue) { - return interpretedValue(Output.of(interpretedValue)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseArgs.java index 73022562537..ae87a2ea1ce 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingMessageGroupArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.Boolean; @@ -37,13 +37,13 @@ public Optional> allowInterrupt() { * */ @Import(name="messageGroups") - private @Nullable Output> messageGroups; + private @Nullable Output> messageGroups; /** * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - public Optional>> messageGroups() { + public Optional>> messageGroups() { return Optional.ofNullable(this.messageGroups); } @@ -99,7 +99,7 @@ public Builder allowInterrupt(Boolean allowInterrupt) { * @return builder * */ - public Builder messageGroups(@Nullable Output> messageGroups) { + public Builder messageGroups(@Nullable Output> messageGroups) { $.messageGroups = messageGroups; return this; } @@ -110,7 +110,7 @@ public Builder messageGroups(@Nullable Output messageGroups) { + public Builder messageGroups(List messageGroups) { return messageGroups(Output.of(messageGroups)); } @@ -120,7 +120,7 @@ public Builder messageGroups(List message; - - /** - * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - */ - public Output message() { - return this.message; - } - - /** - * Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - @Import(name="variations") - private @Nullable Output> variations; - - /** - * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - public Optional>> variations() { - return Optional.ofNullable(this.variations); - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs $) { - this.message = $.message; - this.variations = $.variations; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param message Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - * @return builder - * - */ - public Builder message(Output message) { - $.message = message; - return this; - } - - /** - * @param message Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - * @return builder - * - */ - public Builder message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs message) { - return message(Output.of(message)); - } - - /** - * @param variations Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - * @return builder - * - */ - public Builder variations(@Nullable Output> variations) { - $.variations = variations; - return this; - } - - /** - * @param variations Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - * @return builder - * - */ - public Builder variations(List variations) { - return variations(Output.of(variations)); - } - - /** - * @param variations Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - * @return builder - * - */ - public Builder variations(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs... variations) { - return variations(List.of(variations)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs build() { - if ($.message == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs", "message"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs.java deleted file mode 100644 index 83226dfb446..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java deleted file mode 100644 index 1cb6a9d8e87..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java deleted file mode 100644 index 70594b9494c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index 9df0cef2b16..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java deleted file mode 100644 index ab755d5eb17..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java deleted file mode 100644 index 9ef59932639..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs.java deleted file mode 100644 index 821c222ef9d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java deleted file mode 100644 index e35af5d288a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java deleted file mode 100644 index d5cf14442c1..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index d75e601a631..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index 201ec2a1976..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java deleted file mode 100644 index 0f60d58152a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs.java index ab577202632..d62cf40348c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingMessageArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingVariationArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * */ @Import(name="message", required=true) - private Output message; + private Output message; /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public Output message() { + public Output message() { return this.message; } @@ -38,13 +38,13 @@ public Output> variations; + private @Nullable Output> variations; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public Optional>> variations() { + public Optional>> variations() { return Optional.ofNullable(this.variations); } @@ -79,7 +79,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio * @return builder * */ - public Builder message(Output message) { + public Builder message(Output message) { $.message = message; return this; } @@ -90,7 +90,7 @@ public Builder message(Output> variations) { + public Builder variations(@Nullable Output> variations) { $.variations = variations; return this; } @@ -111,7 +111,7 @@ public Builder variations(@Nullable Output variations) { + public Builder variations(List variations) { return variations(Output.of(variations)); } @@ -121,7 +121,7 @@ public Builder variations(List value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index f5e54ebc410..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java deleted file mode 100644 index 034bdb9b8c6..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java deleted file mode 100644 index 32115d9361f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs.java deleted file mode 100644 index dca58317c89..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java deleted file mode 100644 index 603b05f22bb..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java deleted file mode 100644 index 64bd355dec3..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index 907edd3a85d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index 2bdaf353c53..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java deleted file mode 100644 index d5eb06161b8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs.java index e9731c7b8a7..4b3f0954bf8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepArgs.java index 8c92e12ebf0..9ec1e6a3799 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs; import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingDialogActionArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.String; @@ -23,13 +23,13 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * */ @Import(name="dialogAction") - private @Nullable Output dialogAction; + private @Nullable Output dialogAction; /** * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - public Optional> dialogAction() { + public Optional> dialogAction() { return Optional.ofNullable(this.dialogAction); } @@ -95,7 +95,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio * @return builder * */ - public Builder dialogAction(@Nullable Output dialogAction) { + public Builder dialogAction(@Nullable Output dialogAction) { $.dialogAction = dialogAction; return this; } @@ -106,7 +106,7 @@ public Builder dialogAction(@Nullable Output> shape() { * */ @Import(name="value") - private @Nullable Output value; + private @Nullable Output value; /** * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional> value() { + public Optional> value() { return Optional.ofNullable(this.value); } @@ -136,7 +136,7 @@ public Builder shape(String shape) { * @return builder * */ - public Builder value(@Nullable Output value) { + public Builder value(@Nullable Output value) { $.value = value; return this; } @@ -147,7 +147,7 @@ public Builder value(@Nullable Output interpretedValue; - - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional> interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs $) { - this.interpretedValue = $.interpretedValue; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(@Nullable Output interpretedValue) { - $.interpretedValue = interpretedValue; - return this; - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(String interpretedValue) { - return interpretedValue(Output.of(interpretedValue)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseArgs.java index 7e21129d486..b0cffcb54e3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingMessageGroupArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.Boolean; @@ -37,13 +37,13 @@ public Optional> allowInterrupt() { * */ @Import(name="messageGroups") - private @Nullable Output> messageGroups; + private @Nullable Output> messageGroups; /** * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - public Optional>> messageGroups() { + public Optional>> messageGroups() { return Optional.ofNullable(this.messageGroups); } @@ -99,7 +99,7 @@ public Builder allowInterrupt(Boolean allowInterrupt) { * @return builder * */ - public Builder messageGroups(@Nullable Output> messageGroups) { + public Builder messageGroups(@Nullable Output> messageGroups) { $.messageGroups = messageGroups; return this; } @@ -110,7 +110,7 @@ public Builder messageGroups(@Nullable Output messageGroups) { + public Builder messageGroups(List messageGroups) { return messageGroups(Output.of(messageGroups)); } @@ -120,7 +120,7 @@ public Builder messageGroups(List message; - - /** - * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - */ - public Output message() { - return this.message; - } - - /** - * Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - @Import(name="variations") - private @Nullable Output> variations; - - /** - * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - public Optional>> variations() { - return Optional.ofNullable(this.variations); - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs $) { - this.message = $.message; - this.variations = $.variations; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param message Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - * @return builder - * - */ - public Builder message(Output message) { - $.message = message; - return this; - } - - /** - * @param message Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - * @return builder - * - */ - public Builder message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs message) { - return message(Output.of(message)); - } - - /** - * @param variations Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - * @return builder - * - */ - public Builder variations(@Nullable Output> variations) { - $.variations = variations; - return this; - } - - /** - * @param variations Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - * @return builder - * - */ - public Builder variations(List variations) { - return variations(Output.of(variations)); - } - - /** - * @param variations Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - * @return builder - * - */ - public Builder variations(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs... variations) { - return variations(List.of(variations)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs build() { - if ($.message == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs", "message"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs.java deleted file mode 100644 index fc49d5302cc..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java deleted file mode 100644 index 31faaae5e6b..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java deleted file mode 100644 index c82587434e9..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index a6846fea77d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java deleted file mode 100644 index 282223a57f5..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java deleted file mode 100644 index d1ad80df093..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs.java deleted file mode 100644 index 1da0a408b28..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java deleted file mode 100644 index c952e47aec1..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java deleted file mode 100644 index 9b6e19e0734..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index 36b211c0736..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index 09f0ee7352d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java deleted file mode 100644 index 3c07f9179c2..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs.java index 35715ade88f..7836b8fa6b3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingMessageArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingVariationArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * */ @Import(name="message", required=true) - private Output message; + private Output message; /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public Output message() { + public Output message() { return this.message; } @@ -38,13 +38,13 @@ public Output> variations; + private @Nullable Output> variations; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public Optional>> variations() { + public Optional>> variations() { return Optional.ofNullable(this.variations); } @@ -79,7 +79,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio * @return builder * */ - public Builder message(Output message) { + public Builder message(Output message) { $.message = message; return this; } @@ -90,7 +90,7 @@ public Builder message(Output> variations) { + public Builder variations(@Nullable Output> variations) { $.variations = variations; return this; } @@ -111,7 +111,7 @@ public Builder variations(@Nullable Output variations) { + public Builder variations(List variations) { return variations(Output.of(variations)); } @@ -121,7 +121,7 @@ public Builder variations(List value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java deleted file mode 100644 index c6fc84b1998..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index 83d34bd8b78..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java deleted file mode 100644 index fef30995b16..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java deleted file mode 100644 index 29700258a8d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs.java deleted file mode 100644 index b772c6095ad..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java deleted file mode 100644 index 3a39de91151..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java deleted file mode 100644 index 56b94081ac9..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index cd7d517c39a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index 23e15bc9150..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java deleted file mode 100644 index 09d81deb544..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs.java index 7726e248700..7b5ce6a1dd0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs.java index 93860b41655..dbc7b034b3a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java index 85884898257..e73eee4db2b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentConfirmationSettingConfirmationConditionalCondi * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentConfirmationSettingConfirmationConditionalCondition * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java index 9268cf0590d..931f540b4b6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentConfirmationSettingConfirmationConditionalCondi * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentConfirmationSettingConfirmationConditionalCondition * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java index a03fb04ad79..1c7c6ca0e50 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentConfirmationSettingConfirmationConditionalDefau * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBr * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCustomPayloadArgs.java new file mode 100644 index 00000000000..045c0e7579a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCustomPayloadArgs.java @@ -0,0 +1,85 @@ +// *** 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 V2modelsIntentConfirmationSettingCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { + + public static final V2modelsIntentConfirmationSettingCustomPayloadArgs Empty = new V2modelsIntentConfirmationSettingCustomPayloadArgs(); + + /** + * String that is sent to your application. + * + */ + @Import(name="value", required=true) + private Output value; + + /** + * @return String that is sent to your application. + * + */ + public Output value() { + return this.value; + } + + private V2modelsIntentConfirmationSettingCustomPayloadArgs() {} + + private V2modelsIntentConfirmationSettingCustomPayloadArgs(V2modelsIntentConfirmationSettingCustomPayloadArgs $) { + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(V2modelsIntentConfirmationSettingCustomPayloadArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private V2modelsIntentConfirmationSettingCustomPayloadArgs $; + + public Builder() { + $ = new V2modelsIntentConfirmationSettingCustomPayloadArgs(); + } + + public Builder(V2modelsIntentConfirmationSettingCustomPayloadArgs defaults) { + $ = new V2modelsIntentConfirmationSettingCustomPayloadArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param value String that is sent to your application. + * + * @return builder + * + */ + public Builder value(Output value) { + $.value = value; + return this; + } + + /** + * @param value String that is sent to your application. + * + * @return builder + * + */ + public Builder value(String value) { + return value(Output.of(value)); + } + + public V2modelsIntentConfirmationSettingCustomPayloadArgs build() { + if ($.value == null) { + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCustomPayloadArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java index 1cb8ffad7db..b4e6173e578 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentConfirmationSettingDeclinationConditionalCondit * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentConfirmationSettingDeclinationConditionalConditiona * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java index 3df05ec8de9..0ae78fc8fdc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentConfirmationSettingDeclinationConditionalCondit * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentConfirmationSettingDeclinationConditionalConditiona * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingDialogActionArgs.java similarity index 70% rename from sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingDialogActionArgs.java index 8a8d0464387..25e86bc9696 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingDialogActionArgs.java @@ -13,9 +13,9 @@ import javax.annotation.Nullable; -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs extends com.pulumi.resources.ResourceArgs { +public final class V2modelsIntentConfirmationSettingDialogActionArgs extends com.pulumi.resources.ResourceArgs { - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs(); + public static final V2modelsIntentConfirmationSettingDialogActionArgs Empty = new V2modelsIntentConfirmationSettingDialogActionArgs(); /** * If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. @@ -62,9 +62,9 @@ public Output type() { return this.type; } - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs() {} + private V2modelsIntentConfirmationSettingDialogActionArgs() {} - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs $) { + private V2modelsIntentConfirmationSettingDialogActionArgs(V2modelsIntentConfirmationSettingDialogActionArgs $) { this.slotToElicit = $.slotToElicit; this.suppressNextMessage = $.suppressNextMessage; this.type = $.type; @@ -73,19 +73,19 @@ private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeou public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingDialogActionArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs $; + private V2modelsIntentConfirmationSettingDialogActionArgs $; public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs(); + $ = new V2modelsIntentConfirmationSettingDialogActionArgs(); } - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentConfirmationSettingDialogActionArgs defaults) { + $ = new V2modelsIntentConfirmationSettingDialogActionArgs(Objects.requireNonNull(defaults)); } /** @@ -151,9 +151,9 @@ public Builder type(String type) { return type(Output.of(type)); } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs build() { + public V2modelsIntentConfirmationSettingDialogActionArgs build() { if ($.type == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs", "type"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingDialogActionArgs", "type"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingDtmfSpecificationArgs.java similarity index 70% rename from sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingDtmfSpecificationArgs.java index a51e2c3ca5c..b5488773b8f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingDtmfSpecificationArgs.java @@ -11,9 +11,9 @@ import java.util.Objects; -public final class V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs extends com.pulumi.resources.ResourceArgs { +public final class V2modelsIntentConfirmationSettingDtmfSpecificationArgs extends com.pulumi.resources.ResourceArgs { - public static final V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs Empty = new V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs(); + public static final V2modelsIntentConfirmationSettingDtmfSpecificationArgs Empty = new V2modelsIntentConfirmationSettingDtmfSpecificationArgs(); /** * DTMF character that clears the accumulated DTMF digits and immediately ends the input. @@ -75,9 +75,9 @@ public Output maxLength() { return this.maxLength; } - private V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs() {} + private V2modelsIntentConfirmationSettingDtmfSpecificationArgs() {} - private V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs $) { + private V2modelsIntentConfirmationSettingDtmfSpecificationArgs(V2modelsIntentConfirmationSettingDtmfSpecificationArgs $) { this.deletionCharacter = $.deletionCharacter; this.endCharacter = $.endCharacter; this.endTimeoutMs = $.endTimeoutMs; @@ -87,19 +87,19 @@ private V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecif public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingDtmfSpecificationArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs $; + private V2modelsIntentConfirmationSettingDtmfSpecificationArgs $; public Builder() { - $ = new V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs(); + $ = new V2modelsIntentConfirmationSettingDtmfSpecificationArgs(); } - public Builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs defaults) { - $ = new V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentConfirmationSettingDtmfSpecificationArgs defaults) { + $ = new V2modelsIntentConfirmationSettingDtmfSpecificationArgs(Objects.requireNonNull(defaults)); } /** @@ -186,18 +186,18 @@ public Builder maxLength(Integer maxLength) { return maxLength(Output.of(maxLength)); } - public V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs build() { + public V2modelsIntentConfirmationSettingDtmfSpecificationArgs build() { if ($.deletionCharacter == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs", "deletionCharacter"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingDtmfSpecificationArgs", "deletionCharacter"); } if ($.endCharacter == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs", "endCharacter"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingDtmfSpecificationArgs", "endCharacter"); } if ($.endTimeoutMs == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs", "endTimeoutMs"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingDtmfSpecificationArgs", "endTimeoutMs"); } if ($.maxLength == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs", "maxLength"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingDtmfSpecificationArgs", "maxLength"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingImageResponseCardArgs.java similarity index 69% rename from sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingImageResponseCardArgs.java index ceab7cd9cf7..5f0fe0ceac0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -14,22 +14,22 @@ import javax.annotation.Nullable; -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { +public final class V2modelsIntentConfirmationSettingImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(); + public static final V2modelsIntentConfirmationSettingImageResponseCardArgs Empty = new V2modelsIntentConfirmationSettingImageResponseCardArgs(); /** * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -78,9 +78,9 @@ public Output title() { return this.title; } - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs() {} + private V2modelsIntentConfirmationSettingImageResponseCardArgs() {} - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs $) { + private V2modelsIntentConfirmationSettingImageResponseCardArgs(V2modelsIntentConfirmationSettingImageResponseCardArgs $) { this.buttons = $.buttons; this.imageUrl = $.imageUrl; this.subtitle = $.subtitle; @@ -90,19 +90,19 @@ private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSucces public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingImageResponseCardArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs $; + private V2modelsIntentConfirmationSettingImageResponseCardArgs $; public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(); + $ = new V2modelsIntentConfirmationSettingImageResponseCardArgs(); } - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentConfirmationSettingImageResponseCardArgs defaults) { + $ = new V2modelsIntentConfirmationSettingImageResponseCardArgs(Objects.requireNonNull(defaults)); } /** @@ -111,7 +111,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List customPayload; + private @Nullable Output customPayload; /** * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. * */ - public Optional> customPayload() { + public Optional> customPayload() { return Optional.ofNullable(this.customPayload); } @@ -38,13 +38,13 @@ public Optional imageResponseCard; + private @Nullable Output imageResponseCard; /** * @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() { + public Optional> imageResponseCard() { return Optional.ofNullable(this.imageResponseCard); } @@ -53,13 +53,13 @@ public Optional plainTextMessage; + private @Nullable Output plainTextMessage; /** * @return Configuration block for a message in plain text format. See `plain_text_message`. * */ - public Optional> plainTextMessage() { + public Optional> plainTextMessage() { return Optional.ofNullable(this.plainTextMessage); } @@ -68,19 +68,19 @@ public Optional ssmlMessage; + private @Nullable Output ssmlMessage; /** * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. * */ - public Optional> ssmlMessage() { + public Optional> ssmlMessage() { return Optional.ofNullable(this.ssmlMessage); } - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs() {} + private V2modelsIntentConfirmationSettingMessageArgs() {} - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs $) { + private V2modelsIntentConfirmationSettingMessageArgs(V2modelsIntentConfirmationSettingMessageArgs $) { this.customPayload = $.customPayload; this.imageResponseCard = $.imageResponseCard; this.plainTextMessage = $.plainTextMessage; @@ -90,19 +90,19 @@ private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSucces public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingMessageArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs $; + private V2modelsIntentConfirmationSettingMessageArgs $; public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs(); + $ = new V2modelsIntentConfirmationSettingMessageArgs(); } - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentConfirmationSettingMessageArgs defaults) { + $ = new V2modelsIntentConfirmationSettingMessageArgs(Objects.requireNonNull(defaults)); } /** @@ -111,7 +111,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio * @return builder * */ - public Builder customPayload(@Nullable Output customPayload) { + public Builder customPayload(@Nullable Output customPayload) { $.customPayload = customPayload; return this; } @@ -122,7 +122,7 @@ public Builder customPayload(@Nullable Output imageResponseCard) { + public Builder imageResponseCard(@Nullable Output imageResponseCard) { $.imageResponseCard = imageResponseCard; return this; } @@ -143,7 +143,7 @@ public Builder imageResponseCard(@Nullable Output plainTextMessage) { + public Builder plainTextMessage(@Nullable Output plainTextMessage) { $.plainTextMessage = plainTextMessage; return this; } @@ -164,7 +164,7 @@ public Builder plainTextMessage(@Nullable Output ssmlMessage) { + public Builder ssmlMessage(@Nullable Output ssmlMessage) { $.ssmlMessage = ssmlMessage; return this; } @@ -185,11 +185,11 @@ public Builder ssmlMessage(@Nullable Output message; + private Output message; /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public Output message() { + public Output message() { return this.message; } @@ -38,19 +38,19 @@ public Output> variations; + private @Nullable Output> variations; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public Optional>> variations() { + public Optional>> variations() { return Optional.ofNullable(this.variations); } - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs() {} + private V2modelsIntentConfirmationSettingMessageGroupArgs() {} - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs $) { + private V2modelsIntentConfirmationSettingMessageGroupArgs(V2modelsIntentConfirmationSettingMessageGroupArgs $) { this.message = $.message; this.variations = $.variations; } @@ -58,19 +58,19 @@ private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailur public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingMessageGroupArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs $; + private V2modelsIntentConfirmationSettingMessageGroupArgs $; public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs(); + $ = new V2modelsIntentConfirmationSettingMessageGroupArgs(); } - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentConfirmationSettingMessageGroupArgs defaults) { + $ = new V2modelsIntentConfirmationSettingMessageGroupArgs(Objects.requireNonNull(defaults)); } /** @@ -79,7 +79,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio * @return builder * */ - public Builder message(Output message) { + public Builder message(Output message) { $.message = message; return this; } @@ -90,7 +90,7 @@ public Builder message(Output> variations) { + public Builder variations(@Nullable Output> variations) { $.variations = variations; return this; } @@ -111,7 +111,7 @@ public Builder variations(@Nullable Output variations) { + public Builder variations(List variations) { return variations(Output.of(variations)); } @@ -121,13 +121,13 @@ public Builder variations(List value; + + /** + * @return Message to send to the user. + * + */ + public Output value() { + return this.value; + } + + private V2modelsIntentConfirmationSettingPlainTextMessageArgs() {} + + private V2modelsIntentConfirmationSettingPlainTextMessageArgs(V2modelsIntentConfirmationSettingPlainTextMessageArgs $) { + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(V2modelsIntentConfirmationSettingPlainTextMessageArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private V2modelsIntentConfirmationSettingPlainTextMessageArgs $; + + public Builder() { + $ = new V2modelsIntentConfirmationSettingPlainTextMessageArgs(); + } + + public Builder(V2modelsIntentConfirmationSettingPlainTextMessageArgs defaults) { + $ = new V2modelsIntentConfirmationSettingPlainTextMessageArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param value Message to send to the user. + * + * @return builder + * + */ + public Builder value(Output value) { + $.value = value; + return this; + } + + /** + * @param value Message to send to the user. + * + * @return builder + * + */ + public Builder value(String value) { + return value(Output.of(value)); + } + + public V2modelsIntentConfirmationSettingPlainTextMessageArgs build() { + if ($.value == null) { + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPlainTextMessageArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs.java index dd30f896a01..be4ef336d5d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingAudioSpecificationArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingDtmfSpecificationArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentConfirmationSettingPromptSpecificationPromptAtt * */ @Import(name="audioSpecification") - private @Nullable Output audioSpecification; + private @Nullable Output audioSpecification; /** * @return Configuration block for the settings on audio input. See `audio_specification`. * */ - public Optional> audioSpecification() { + public Optional> audioSpecification() { return Optional.ofNullable(this.audioSpecification); } @@ -38,13 +38,13 @@ public Optional dtmfSpecification; + private @Nullable Output dtmfSpecification; /** * @return Configuration block for the settings on DTMF input. See `dtmf_specification`. * */ - public Optional> dtmfSpecification() { + public Optional> dtmfSpecification() { return Optional.ofNullable(this.dtmfSpecification); } @@ -95,7 +95,7 @@ public Builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttempt * @return builder * */ - public Builder audioSpecification(@Nullable Output audioSpecification) { + public Builder audioSpecification(@Nullable Output audioSpecification) { $.audioSpecification = audioSpecification; return this; } @@ -106,7 +106,7 @@ public Builder audioSpecification(@Nullable Output dtmfSpecification) { + public Builder dtmfSpecification(@Nullable Output dtmfSpecification) { $.dtmfSpecification = dtmfSpecification; return this; } @@ -127,7 +127,7 @@ public Builder dtmfSpecification(@Nullable Output value; + + /** + * @return SSML text that defines the prompt. + * + */ + public Output value() { + return this.value; + } + + private V2modelsIntentConfirmationSettingSsmlMessageArgs() {} + + private V2modelsIntentConfirmationSettingSsmlMessageArgs(V2modelsIntentConfirmationSettingSsmlMessageArgs $) { + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(V2modelsIntentConfirmationSettingSsmlMessageArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private V2modelsIntentConfirmationSettingSsmlMessageArgs $; + + public Builder() { + $ = new V2modelsIntentConfirmationSettingSsmlMessageArgs(); + } + + public Builder(V2modelsIntentConfirmationSettingSsmlMessageArgs defaults) { + $ = new V2modelsIntentConfirmationSettingSsmlMessageArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param value SSML text that defines the prompt. + * + * @return builder + * + */ + public Builder value(Output value) { + $.value = value; + return this; + } + + /** + * @param value SSML text that defines the prompt. + * + * @return builder + * + */ + public Builder value(String value) { + return value(Output.of(value)); + } + + public V2modelsIntentConfirmationSettingSsmlMessageArgs build() { + if ($.value == null) { + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingSsmlMessageArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingValueArgs.java similarity index 58% rename from sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingValueArgs.java index 15c6e3f5ba4..101e0ece8ae 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingValueArgs.java @@ -11,9 +11,9 @@ import javax.annotation.Nullable; -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs extends com.pulumi.resources.ResourceArgs { +public final class V2modelsIntentConfirmationSettingValueArgs extends com.pulumi.resources.ResourceArgs { - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs(); + public static final V2modelsIntentConfirmationSettingValueArgs Empty = new V2modelsIntentConfirmationSettingValueArgs(); /** * Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. @@ -30,28 +30,28 @@ public Optional> interpretedValue() { return Optional.ofNullable(this.interpretedValue); } - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs() {} + private V2modelsIntentConfirmationSettingValueArgs() {} - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs $) { + private V2modelsIntentConfirmationSettingValueArgs(V2modelsIntentConfirmationSettingValueArgs $) { this.interpretedValue = $.interpretedValue; } public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingValueArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs $; + private V2modelsIntentConfirmationSettingValueArgs $; public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs(); + $ = new V2modelsIntentConfirmationSettingValueArgs(); } - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentConfirmationSettingValueArgs defaults) { + $ = new V2modelsIntentConfirmationSettingValueArgs(Objects.requireNonNull(defaults)); } /** @@ -75,7 +75,7 @@ public Builder interpretedValue(String interpretedValue) { return interpretedValue(Output.of(interpretedValue)); } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs build() { + public V2modelsIntentConfirmationSettingValueArgs build() { return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingVariationArgs.java similarity index 52% rename from sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingVariationArgs.java index ee937e98b84..62cb8bac68d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentConfirmationSettingVariationArgs.java @@ -3,10 +3,10 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingCustomPayloadArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingImageResponseCardArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingPlainTextMessageArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentConfirmationSettingSsmlMessageArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.util.Objects; @@ -14,22 +14,22 @@ import javax.annotation.Nullable; -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs extends com.pulumi.resources.ResourceArgs { +public final class V2modelsIntentConfirmationSettingVariationArgs extends com.pulumi.resources.ResourceArgs { - public static final V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs Empty = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs(); + public static final V2modelsIntentConfirmationSettingVariationArgs Empty = new V2modelsIntentConfirmationSettingVariationArgs(); /** * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. * */ @Import(name="customPayload") - private @Nullable Output customPayload; + private @Nullable Output customPayload; /** * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. * */ - public Optional> customPayload() { + public Optional> customPayload() { return Optional.ofNullable(this.customPayload); } @@ -38,13 +38,13 @@ public Optional imageResponseCard; + private @Nullable Output imageResponseCard; /** * @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() { + public Optional> imageResponseCard() { return Optional.ofNullable(this.imageResponseCard); } @@ -53,13 +53,13 @@ public Optional plainTextMessage; + private @Nullable Output plainTextMessage; /** * @return Configuration block for a message in plain text format. See `plain_text_message`. * */ - public Optional> plainTextMessage() { + public Optional> plainTextMessage() { return Optional.ofNullable(this.plainTextMessage); } @@ -68,19 +68,19 @@ public Optional ssmlMessage; + private @Nullable Output ssmlMessage; /** * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. * */ - public Optional> ssmlMessage() { + public Optional> ssmlMessage() { return Optional.ofNullable(this.ssmlMessage); } - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs() {} + private V2modelsIntentConfirmationSettingVariationArgs() {} - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs $) { + private V2modelsIntentConfirmationSettingVariationArgs(V2modelsIntentConfirmationSettingVariationArgs $) { this.customPayload = $.customPayload; this.imageResponseCard = $.imageResponseCard; this.plainTextMessage = $.plainTextMessage; @@ -90,19 +90,19 @@ private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeou public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingVariationArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs $; + private V2modelsIntentConfirmationSettingVariationArgs $; public Builder() { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs(); + $ = new V2modelsIntentConfirmationSettingVariationArgs(); } - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs defaults) { - $ = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentConfirmationSettingVariationArgs defaults) { + $ = new V2modelsIntentConfirmationSettingVariationArgs(Objects.requireNonNull(defaults)); } /** @@ -111,7 +111,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio * @return builder * */ - public Builder customPayload(@Nullable Output customPayload) { + public Builder customPayload(@Nullable Output customPayload) { $.customPayload = customPayload; return this; } @@ -122,7 +122,7 @@ public Builder customPayload(@Nullable Output imageResponseCard) { + public Builder imageResponseCard(@Nullable Output imageResponseCard) { $.imageResponseCard = imageResponseCard; return this; } @@ -143,7 +143,7 @@ public Builder imageResponseCard(@Nullable Output plainTextMessage) { + public Builder plainTextMessage(@Nullable Output plainTextMessage) { $.plainTextMessage = plainTextMessage; return this; } @@ -164,7 +164,7 @@ public Builder plainTextMessage(@Nullable Output ssmlMessage) { + public Builder ssmlMessage(@Nullable Output ssmlMessage) { $.ssmlMessage = ssmlMessage; return this; } @@ -185,11 +185,11 @@ public Builder ssmlMessage(@Nullable Output value() { return this.value; } - private V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButtonArgs() {} + private V2modelsIntentFulfillmentCodeHookButtonArgs() {} - private V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButtonArgs $) { + private V2modelsIntentFulfillmentCodeHookButtonArgs(V2modelsIntentFulfillmentCodeHookButtonArgs $) { this.text = $.text; this.value = $.value; } @@ -54,19 +54,19 @@ private V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartRes public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { + public static Builder builder(V2modelsIntentFulfillmentCodeHookButtonArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButtonArgs $; + private V2modelsIntentFulfillmentCodeHookButtonArgs $; public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButtonArgs(); + $ = new V2modelsIntentFulfillmentCodeHookButtonArgs(); } - public Builder(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButtonArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentFulfillmentCodeHookButtonArgs defaults) { + $ = new V2modelsIntentFulfillmentCodeHookButtonArgs(Objects.requireNonNull(defaults)); } /** @@ -111,12 +111,12 @@ public Builder value(String value) { return value(Output.of(value)); } - public V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButtonArgs build() { + public V2modelsIntentFulfillmentCodeHookButtonArgs build() { if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); + throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookButtonArgs", "text"); } if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); + throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookButtonArgs", "value"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookCustomPayloadArgs.java new file mode 100644 index 00000000000..56de77289de --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookCustomPayloadArgs.java @@ -0,0 +1,85 @@ +// *** 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 V2modelsIntentFulfillmentCodeHookCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { + + public static final V2modelsIntentFulfillmentCodeHookCustomPayloadArgs Empty = new V2modelsIntentFulfillmentCodeHookCustomPayloadArgs(); + + /** + * String that is sent to your application. + * + */ + @Import(name="value", required=true) + private Output value; + + /** + * @return String that is sent to your application. + * + */ + public Output value() { + return this.value; + } + + private V2modelsIntentFulfillmentCodeHookCustomPayloadArgs() {} + + private V2modelsIntentFulfillmentCodeHookCustomPayloadArgs(V2modelsIntentFulfillmentCodeHookCustomPayloadArgs $) { + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(V2modelsIntentFulfillmentCodeHookCustomPayloadArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private V2modelsIntentFulfillmentCodeHookCustomPayloadArgs $; + + public Builder() { + $ = new V2modelsIntentFulfillmentCodeHookCustomPayloadArgs(); + } + + public Builder(V2modelsIntentFulfillmentCodeHookCustomPayloadArgs defaults) { + $ = new V2modelsIntentFulfillmentCodeHookCustomPayloadArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param value String that is sent to your application. + * + * @return builder + * + */ + public Builder value(Output value) { + $.value = value; + return this; + } + + /** + * @param value String that is sent to your application. + * + * @return builder + * + */ + public Builder value(String value) { + return value(Output.of(value)); + } + + public V2modelsIntentFulfillmentCodeHookCustomPayloadArgs build() { + if ($.value == null) { + throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookCustomPayloadArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookDialogActionArgs.java similarity index 70% rename from sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookDialogActionArgs.java index df8b0ca42e2..c3bc629dfc1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookDialogActionArgs.java @@ -13,9 +13,9 @@ import javax.annotation.Nullable; -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs extends com.pulumi.resources.ResourceArgs { +public final class V2modelsIntentFulfillmentCodeHookDialogActionArgs extends com.pulumi.resources.ResourceArgs { - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs(); + public static final V2modelsIntentFulfillmentCodeHookDialogActionArgs Empty = new V2modelsIntentFulfillmentCodeHookDialogActionArgs(); /** * If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. @@ -62,9 +62,9 @@ public Output type() { return this.type; } - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs() {} + private V2modelsIntentFulfillmentCodeHookDialogActionArgs() {} - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs $) { + private V2modelsIntentFulfillmentCodeHookDialogActionArgs(V2modelsIntentFulfillmentCodeHookDialogActionArgs $) { this.slotToElicit = $.slotToElicit; this.suppressNextMessage = $.suppressNextMessage; this.type = $.type; @@ -73,19 +73,19 @@ private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSucce public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs defaults) { + public static Builder builder(V2modelsIntentFulfillmentCodeHookDialogActionArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs $; + private V2modelsIntentFulfillmentCodeHookDialogActionArgs $; public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs(); + $ = new V2modelsIntentFulfillmentCodeHookDialogActionArgs(); } - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentFulfillmentCodeHookDialogActionArgs defaults) { + $ = new V2modelsIntentFulfillmentCodeHookDialogActionArgs(Objects.requireNonNull(defaults)); } /** @@ -151,9 +151,9 @@ public Builder type(String type) { return type(Output.of(type)); } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs build() { + public V2modelsIntentFulfillmentCodeHookDialogActionArgs build() { if ($.type == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs", "type"); + throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookDialogActionArgs", "type"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardArgs.java index e26fd672227..b412f000b0f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificat * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationS * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationU * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookImageResponseCardArgs.java similarity index 68% rename from sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookImageResponseCardArgs.java index 5ab82fb00c7..acb7abcfde2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -14,22 +14,22 @@ import javax.annotation.Nullable; -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { +public final class V2modelsIntentFulfillmentCodeHookImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(); + public static final V2modelsIntentFulfillmentCodeHookImageResponseCardArgs Empty = new V2modelsIntentFulfillmentCodeHookImageResponseCardArgs(); /** * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -78,9 +78,9 @@ public Output title() { return this.title; } - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs() {} + private V2modelsIntentFulfillmentCodeHookImageResponseCardArgs() {} - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs $) { + private V2modelsIntentFulfillmentCodeHookImageResponseCardArgs(V2modelsIntentFulfillmentCodeHookImageResponseCardArgs $) { this.buttons = $.buttons; this.imageUrl = $.imageUrl; this.subtitle = $.subtitle; @@ -90,19 +90,19 @@ private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSucce public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { + public static Builder builder(V2modelsIntentFulfillmentCodeHookImageResponseCardArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs $; + private V2modelsIntentFulfillmentCodeHookImageResponseCardArgs $; public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(); + $ = new V2modelsIntentFulfillmentCodeHookImageResponseCardArgs(); } - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentFulfillmentCodeHookImageResponseCardArgs defaults) { + $ = new V2modelsIntentFulfillmentCodeHookImageResponseCardArgs(Objects.requireNonNull(defaults)); } /** @@ -111,7 +111,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List customPayload; + private @Nullable Output customPayload; /** * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. * */ - public Optional> customPayload() { + public Optional> customPayload() { return Optional.ofNullable(this.customPayload); } @@ -38,13 +38,13 @@ public Optional imageResponseCard; + private @Nullable Output imageResponseCard; /** * @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() { + public Optional> imageResponseCard() { return Optional.ofNullable(this.imageResponseCard); } @@ -53,13 +53,13 @@ public Optional plainTextMessage; + private @Nullable Output plainTextMessage; /** * @return Configuration block for a message in plain text format. See `plain_text_message`. * */ - public Optional> plainTextMessage() { + public Optional> plainTextMessage() { return Optional.ofNullable(this.plainTextMessage); } @@ -68,19 +68,19 @@ public Optional ssmlMessage; + private @Nullable Output ssmlMessage; /** * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. * */ - public Optional> ssmlMessage() { + public Optional> ssmlMessage() { return Optional.ofNullable(this.ssmlMessage); } - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs() {} + private V2modelsIntentFulfillmentCodeHookMessageArgs() {} - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs $) { + private V2modelsIntentFulfillmentCodeHookMessageArgs(V2modelsIntentFulfillmentCodeHookMessageArgs $) { this.customPayload = $.customPayload; this.imageResponseCard = $.imageResponseCard; this.plainTextMessage = $.plainTextMessage; @@ -90,19 +90,19 @@ private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSucce public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs defaults) { + public static Builder builder(V2modelsIntentFulfillmentCodeHookMessageArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs $; + private V2modelsIntentFulfillmentCodeHookMessageArgs $; public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs(); + $ = new V2modelsIntentFulfillmentCodeHookMessageArgs(); } - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentFulfillmentCodeHookMessageArgs defaults) { + $ = new V2modelsIntentFulfillmentCodeHookMessageArgs(Objects.requireNonNull(defaults)); } /** @@ -111,7 +111,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati * @return builder * */ - public Builder customPayload(@Nullable Output customPayload) { + public Builder customPayload(@Nullable Output customPayload) { $.customPayload = customPayload; return this; } @@ -122,7 +122,7 @@ public Builder customPayload(@Nullable Output imageResponseCard) { + public Builder imageResponseCard(@Nullable Output imageResponseCard) { $.imageResponseCard = imageResponseCard; return this; } @@ -143,7 +143,7 @@ public Builder imageResponseCard(@Nullable Output plainTextMessage) { + public Builder plainTextMessage(@Nullable Output plainTextMessage) { $.plainTextMessage = plainTextMessage; return this; } @@ -164,7 +164,7 @@ public Builder plainTextMessage(@Nullable Output ssmlMessage) { + public Builder ssmlMessage(@Nullable Output ssmlMessage) { $.ssmlMessage = ssmlMessage; return this; } @@ -185,11 +185,11 @@ public Builder ssmlMessage(@Nullable Output message; + private Output message; /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public Output message() { + public Output message() { return this.message; } @@ -38,19 +38,19 @@ public Output> variations; + private @Nullable Output> variations; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public Optional>> variations() { + public Optional>> variations() { return Optional.ofNullable(this.variations); } - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs() {} + private V2modelsIntentFulfillmentCodeHookMessageGroupArgs() {} - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs $) { + private V2modelsIntentFulfillmentCodeHookMessageGroupArgs(V2modelsIntentFulfillmentCodeHookMessageGroupArgs $) { this.message = $.message; this.variations = $.variations; } @@ -58,19 +58,19 @@ private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSucce public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs defaults) { + public static Builder builder(V2modelsIntentFulfillmentCodeHookMessageGroupArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs $; + private V2modelsIntentFulfillmentCodeHookMessageGroupArgs $; public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs(); + $ = new V2modelsIntentFulfillmentCodeHookMessageGroupArgs(); } - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentFulfillmentCodeHookMessageGroupArgs defaults) { + $ = new V2modelsIntentFulfillmentCodeHookMessageGroupArgs(Objects.requireNonNull(defaults)); } /** @@ -79,7 +79,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati * @return builder * */ - public Builder message(Output message) { + public Builder message(Output message) { $.message = message; return this; } @@ -90,7 +90,7 @@ public Builder message(Output> variations) { + public Builder variations(@Nullable Output> variations) { $.variations = variations; return this; } @@ -111,7 +111,7 @@ public Builder variations(@Nullable Output variations) { + public Builder variations(List variations) { return variations(Output.of(variations)); } @@ -121,13 +121,13 @@ public Builder variations(List value; + + /** + * @return Message to send to the user. + * + */ + public Output value() { + return this.value; + } + + private V2modelsIntentFulfillmentCodeHookPlainTextMessageArgs() {} + + private V2modelsIntentFulfillmentCodeHookPlainTextMessageArgs(V2modelsIntentFulfillmentCodeHookPlainTextMessageArgs $) { + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(V2modelsIntentFulfillmentCodeHookPlainTextMessageArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private V2modelsIntentFulfillmentCodeHookPlainTextMessageArgs $; + + public Builder() { + $ = new V2modelsIntentFulfillmentCodeHookPlainTextMessageArgs(); + } + + public Builder(V2modelsIntentFulfillmentCodeHookPlainTextMessageArgs defaults) { + $ = new V2modelsIntentFulfillmentCodeHookPlainTextMessageArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param value Message to send to the user. + * + * @return builder + * + */ + public Builder value(Output value) { + $.value = value; + return this; + } + + /** + * @param value Message to send to the user. + * + * @return builder + * + */ + public Builder value(String value) { + return value(Output.of(value)); + } + + public V2modelsIntentFulfillmentCodeHookPlainTextMessageArgs build() { + if ($.value == null) { + throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPlainTextMessageArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepArgs.java index 27581143f44..8403e10f922 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookDialogActionArgs; import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; @@ -23,13 +23,13 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * */ @Import(name="dialogAction") - private @Nullable Output dialogAction; + private @Nullable Output dialogAction; /** * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - public Optional> dialogAction() { + public Optional> dialogAction() { return Optional.ofNullable(this.dialogAction); } @@ -95,7 +95,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati * @return builder * */ - public Builder dialogAction(@Nullable Output dialogAction) { + public Builder dialogAction(@Nullable Output dialogAction) { $.dialogAction = dialogAction; return this; } @@ -106,7 +106,7 @@ public Builder dialogAction(@Nullable Output slotToElicit; - - /** - * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - */ - public Optional> slotToElicit() { - return Optional.ofNullable(this.slotToElicit); - } - - /** - * Whether the next message for the intent is _not_ used. - * - */ - @Import(name="suppressNextMessage") - private @Nullable Output suppressNextMessage; - - /** - * @return Whether the next message for the intent is _not_ used. - * - */ - public Optional> suppressNextMessage() { - return Optional.ofNullable(this.suppressNextMessage); - } - - /** - * Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - @Import(name="type", required=true) - private Output type; - - /** - * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - public Output type() { - return this.type; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs $) { - this.slotToElicit = $.slotToElicit; - this.suppressNextMessage = $.suppressNextMessage; - this.type = $.type; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param slotToElicit If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - * @return builder - * - */ - public Builder slotToElicit(@Nullable Output slotToElicit) { - $.slotToElicit = slotToElicit; - return this; - } - - /** - * @param slotToElicit If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - * @return builder - * - */ - public Builder slotToElicit(String slotToElicit) { - return slotToElicit(Output.of(slotToElicit)); - } - - /** - * @param suppressNextMessage Whether the next message for the intent is _not_ used. - * - * @return builder - * - */ - public Builder suppressNextMessage(@Nullable Output suppressNextMessage) { - $.suppressNextMessage = suppressNextMessage; - return this; - } - - /** - * @param suppressNextMessage Whether the next message for the intent is _not_ used. - * - * @return builder - * - */ - public Builder suppressNextMessage(Boolean suppressNextMessage) { - return suppressNextMessage(Output.of(suppressNextMessage)); - } - - /** - * @param type Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - * @return builder - * - */ - public Builder type(Output type) { - $.type = type; - return this; - } - - /** - * @param type Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - * @return builder - * - */ - public Builder type(String type) { - return type(Output.of(type)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs build() { - if ($.type == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs", "type"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs.java index 93f1ce636a0..81d26ed3d9c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookValueArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -52,13 +52,13 @@ public Optional> shape() { * */ @Import(name="value") - private @Nullable Output value; + private @Nullable Output value; /** * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional> value() { + public Optional> value() { return Optional.ofNullable(this.value); } @@ -136,7 +136,7 @@ public Builder shape(String shape) { * @return builder * */ - public Builder value(@Nullable Output value) { + public Builder value(@Nullable Output value) { $.value = value; return this; } @@ -147,7 +147,7 @@ public Builder value(@Nullable Output interpretedValue; - - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional> interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs $) { - this.interpretedValue = $.interpretedValue; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(@Nullable Output interpretedValue) { - $.interpretedValue = interpretedValue; - return this; - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(String interpretedValue) { - return interpretedValue(Output.of(interpretedValue)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseArgs.java index ba6de200ad3..309aa063673 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookMessageGroupArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.Boolean; @@ -37,13 +37,13 @@ public Optional> allowInterrupt() { * */ @Import(name="messageGroups") - private @Nullable Output> messageGroups; + private @Nullable Output> messageGroups; /** * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - public Optional>> messageGroups() { + public Optional>> messageGroups() { return Optional.ofNullable(this.messageGroups); } @@ -99,7 +99,7 @@ public Builder allowInterrupt(Boolean allowInterrupt) { * @return builder * */ - public Builder messageGroups(@Nullable Output> messageGroups) { + public Builder messageGroups(@Nullable Output> messageGroups) { $.messageGroups = messageGroups; return this; } @@ -110,7 +110,7 @@ public Builder messageGroups(@Nullable Output messageGroups) { + public Builder messageGroups(List messageGroups) { return messageGroups(Output.of(messageGroups)); } @@ -120,7 +120,7 @@ public Builder messageGroups(List message; - - /** - * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - */ - public Output message() { - return this.message; - } - - /** - * Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - @Import(name="variations") - private @Nullable Output> variations; - - /** - * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - public Optional>> variations() { - return Optional.ofNullable(this.variations); - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs $) { - this.message = $.message; - this.variations = $.variations; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param message Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - * @return builder - * - */ - public Builder message(Output message) { - $.message = message; - return this; - } - - /** - * @param message Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - * @return builder - * - */ - public Builder message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs message) { - return message(Output.of(message)); - } - - /** - * @param variations Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - * @return builder - * - */ - public Builder variations(@Nullable Output> variations) { - $.variations = variations; - return this; - } - - /** - * @param variations Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - * @return builder - * - */ - public Builder variations(List variations) { - return variations(Output.of(variations)); - } - - /** - * @param variations Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - * @return builder - * - */ - public Builder variations(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs... variations) { - return variations(List.of(variations)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs build() { - if ($.message == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs", "message"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs.java deleted file mode 100644 index 2ecb3306879..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java deleted file mode 100644 index 9721f45ece0..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java deleted file mode 100644 index cd237bbf175..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index d2df2f9d69c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java deleted file mode 100644 index 5ccdc872858..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java deleted file mode 100644 index e390e258303..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs.java deleted file mode 100644 index f0d7925b0af..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java deleted file mode 100644 index ce5b0ccf7f2..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java deleted file mode 100644 index 7ec8b764abb..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index 3d2c0b37b2a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index 402f0bfddaa..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java deleted file mode 100644 index 5f47a7c253e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArgs.java index 5415ec0ef30..cc93bdfc8a9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookValueArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -52,13 +52,13 @@ public Optional> shape() { * */ @Import(name="value") - private @Nullable Output value; + private @Nullable Output value; /** * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional> value() { + public Optional> value() { return Optional.ofNullable(this.value); } @@ -136,7 +136,7 @@ public Builder shape(String shape) { * @return builder * */ - public Builder value(@Nullable Output value) { + public Builder value(@Nullable Output value) { $.value = value; return this; } @@ -147,7 +147,7 @@ public Builder value(@Nullable Output message; + private Output message; /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public Output message() { + public Output message() { return this.message; } @@ -38,13 +38,13 @@ public Output> variations; + private @Nullable Output> variations; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public Optional>> variations() { + public Optional>> variations() { return Optional.ofNullable(this.variations); } @@ -79,7 +79,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati * @return builder * */ - public Builder message(Output message) { + public Builder message(Output message) { $.message = message; return this; } @@ -90,7 +90,7 @@ public Builder message(Output> variations) { + public Builder variations(@Nullable Output> variations) { $.variations = variations; return this; } @@ -111,7 +111,7 @@ public Builder variations(@Nullable Output variations) { + public Builder variations(List variations) { return variations(Output.of(variations)); } @@ -121,7 +121,7 @@ public Builder variations(List customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.java deleted file mode 100644 index c7a9878ff6f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java deleted file mode 100644 index 05707e9111a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index ed2b2212161..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java deleted file mode 100644 index 57c03017c3f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java deleted file mode 100644 index 15f7a7bef1f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs.java deleted file mode 100644 index b1b70981545..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java deleted file mode 100644 index eca39b5fe13..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java deleted file mode 100644 index 557be5f1f65..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index 066b786a7aa..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index df3187d4a6d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java deleted file mode 100644 index 613bc3ce447..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs.java index 49aaac61e17..1ef60e6313d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs.java index 36c6a0f6814..2f4809bb2d3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepArgs.java index 4b1a5903c0c..b94f8505eec 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookDialogActionArgs; import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; @@ -23,13 +23,13 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * */ @Import(name="dialogAction") - private @Nullable Output dialogAction; + private @Nullable Output dialogAction; /** * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - public Optional> dialogAction() { + public Optional> dialogAction() { return Optional.ofNullable(this.dialogAction); } @@ -95,7 +95,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati * @return builder * */ - public Builder dialogAction(@Nullable Output dialogAction) { + public Builder dialogAction(@Nullable Output dialogAction) { $.dialogAction = dialogAction; return this; } @@ -106,7 +106,7 @@ public Builder dialogAction(@Nullable Output> shape() { * */ @Import(name="value") - private @Nullable Output value; + private @Nullable Output value; /** * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional> value() { + public Optional> value() { return Optional.ofNullable(this.value); } @@ -136,7 +136,7 @@ public Builder shape(String shape) { * @return builder * */ - public Builder value(@Nullable Output value) { + public Builder value(@Nullable Output value) { $.value = value; return this; } @@ -147,7 +147,7 @@ public Builder value(@Nullable Output interpretedValue; - - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional> interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs $) { - this.interpretedValue = $.interpretedValue; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(@Nullable Output interpretedValue) { - $.interpretedValue = interpretedValue; - return this; - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(String interpretedValue) { - return interpretedValue(Output.of(interpretedValue)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseArgs.java index c4176c86fc6..4a55ce1d18e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookMessageGroupArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.Boolean; @@ -37,13 +37,13 @@ public Optional> allowInterrupt() { * */ @Import(name="messageGroups") - private @Nullable Output> messageGroups; + private @Nullable Output> messageGroups; /** * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - public Optional>> messageGroups() { + public Optional>> messageGroups() { return Optional.ofNullable(this.messageGroups); } @@ -99,7 +99,7 @@ public Builder allowInterrupt(Boolean allowInterrupt) { * @return builder * */ - public Builder messageGroups(@Nullable Output> messageGroups) { + public Builder messageGroups(@Nullable Output> messageGroups) { $.messageGroups = messageGroups; return this; } @@ -110,7 +110,7 @@ public Builder messageGroups(@Nullable Output messageGroups) { + public Builder messageGroups(List messageGroups) { return messageGroups(Output.of(messageGroups)); } @@ -120,7 +120,7 @@ public Builder messageGroups(List customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java deleted file mode 100644 index 4ec3854dc90..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java deleted file mode 100644 index 1d25c048541..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index a20a5158d57..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java deleted file mode 100644 index 735be7e9478..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java deleted file mode 100644 index 9e817f2d2e1..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs.java deleted file mode 100644 index c7216f13e5e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java deleted file mode 100644 index 62a6898e0d7..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java deleted file mode 100644 index 764e441d77d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index 4dd85cad40f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index 304607791e3..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java deleted file mode 100644 index 7bdeda4ea8b..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArgs.java index 11b06902691..4ca79e2bb31 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookValueArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -52,13 +52,13 @@ public Optional> shape() { * */ @Import(name="value") - private @Nullable Output value; + private @Nullable Output value; /** * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional> value() { + public Optional> value() { return Optional.ofNullable(this.value); } @@ -136,7 +136,7 @@ public Builder shape(String shape) { * @return builder * */ - public Builder value(@Nullable Output value) { + public Builder value(@Nullable Output value) { $.value = value; return this; } @@ -147,7 +147,7 @@ public Builder value(@Nullable Output interpretedValue; - - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional> interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs $) { - this.interpretedValue = $.interpretedValue; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(@Nullable Output interpretedValue) { - $.interpretedValue = interpretedValue; - return this; - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(String interpretedValue) { - return interpretedValue(Output.of(interpretedValue)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs.java index 2babb1ccdad..d80b4f6fcca 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookMessageArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookVariationArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * */ @Import(name="message", required=true) - private Output message; + private Output message; /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public Output message() { + public Output message() { return this.message; } @@ -38,13 +38,13 @@ public Output> variations; + private @Nullable Output> variations; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public Optional>> variations() { + public Optional>> variations() { return Optional.ofNullable(this.variations); } @@ -79,7 +79,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati * @return builder * */ - public Builder message(Output message) { + public Builder message(Output message) { $.message = message; return this; } @@ -90,7 +90,7 @@ public Builder message(Output> variations) { + public Builder variations(@Nullable Output> variations) { $.variations = variations; return this; } @@ -111,7 +111,7 @@ public Builder variations(@Nullable Output variations) { + public Builder variations(List variations) { return variations(Output.of(variations)); } @@ -121,7 +121,7 @@ public Builder variations(List value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index 3bd2b747edf..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java deleted file mode 100644 index 837b05a9371..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java deleted file mode 100644 index f52fab09683..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs.java deleted file mode 100644 index 9a8cb16c4db..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java deleted file mode 100644 index ba9dadb94a6..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java deleted file mode 100644 index be0ed79e9f1..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index 71ca3d1efa9..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index feb664f39e8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java deleted file mode 100644 index 430e587f600..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs.java index f0bd4b91e5d..0de88a1265e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs.java index d9ee4aa8324..d099a33efb4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepArgs.java index d457daf8037..7e1be771b65 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookDialogActionArgs; import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; @@ -23,13 +23,13 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * */ @Import(name="dialogAction") - private @Nullable Output dialogAction; + private @Nullable Output dialogAction; /** * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - public Optional> dialogAction() { + public Optional> dialogAction() { return Optional.ofNullable(this.dialogAction); } @@ -95,7 +95,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati * @return builder * */ - public Builder dialogAction(@Nullable Output dialogAction) { + public Builder dialogAction(@Nullable Output dialogAction) { $.dialogAction = dialogAction; return this; } @@ -106,7 +106,7 @@ public Builder dialogAction(@Nullable Output slotToElicit; - - /** - * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - */ - public Optional> slotToElicit() { - return Optional.ofNullable(this.slotToElicit); - } - - /** - * Whether the next message for the intent is _not_ used. - * - */ - @Import(name="suppressNextMessage") - private @Nullable Output suppressNextMessage; - - /** - * @return Whether the next message for the intent is _not_ used. - * - */ - public Optional> suppressNextMessage() { - return Optional.ofNullable(this.suppressNextMessage); - } - - /** - * Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - @Import(name="type", required=true) - private Output type; - - /** - * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - public Output type() { - return this.type; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs $) { - this.slotToElicit = $.slotToElicit; - this.suppressNextMessage = $.suppressNextMessage; - this.type = $.type; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param slotToElicit If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - * @return builder - * - */ - public Builder slotToElicit(@Nullable Output slotToElicit) { - $.slotToElicit = slotToElicit; - return this; - } - - /** - * @param slotToElicit If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - * @return builder - * - */ - public Builder slotToElicit(String slotToElicit) { - return slotToElicit(Output.of(slotToElicit)); - } - - /** - * @param suppressNextMessage Whether the next message for the intent is _not_ used. - * - * @return builder - * - */ - public Builder suppressNextMessage(@Nullable Output suppressNextMessage) { - $.suppressNextMessage = suppressNextMessage; - return this; - } - - /** - * @param suppressNextMessage Whether the next message for the intent is _not_ used. - * - * @return builder - * - */ - public Builder suppressNextMessage(Boolean suppressNextMessage) { - return suppressNextMessage(Output.of(suppressNextMessage)); - } - - /** - * @param type Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - * @return builder - * - */ - public Builder type(Output type) { - $.type = type; - return this; - } - - /** - * @param type Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - * @return builder - * - */ - public Builder type(String type) { - return type(Output.of(type)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs build() { - if ($.type == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs", "type"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs.java index cf9cca27479..d92afab7cb1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookValueArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -52,13 +52,13 @@ public Optional> shape() { * */ @Import(name="value") - private @Nullable Output value; + private @Nullable Output value; /** * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional> value() { + public Optional> value() { return Optional.ofNullable(this.value); } @@ -136,7 +136,7 @@ public Builder shape(String shape) { * @return builder * */ - public Builder value(@Nullable Output value) { + public Builder value(@Nullable Output value) { $.value = value; return this; } @@ -147,7 +147,7 @@ public Builder value(@Nullable Output interpretedValue; - - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional> interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs $) { - this.interpretedValue = $.interpretedValue; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(@Nullable Output interpretedValue) { - $.interpretedValue = interpretedValue; - return this; - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(String interpretedValue) { - return interpretedValue(Output.of(interpretedValue)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseArgs.java index 5512e391317..600ab1b9f38 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookMessageGroupArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.Boolean; @@ -37,13 +37,13 @@ public Optional> allowInterrupt() { * */ @Import(name="messageGroups") - private @Nullable Output> messageGroups; + private @Nullable Output> messageGroups; /** * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - public Optional>> messageGroups() { + public Optional>> messageGroups() { return Optional.ofNullable(this.messageGroups); } @@ -99,7 +99,7 @@ public Builder allowInterrupt(Boolean allowInterrupt) { * @return builder * */ - public Builder messageGroups(@Nullable Output> messageGroups) { + public Builder messageGroups(@Nullable Output> messageGroups) { $.messageGroups = messageGroups; return this; } @@ -110,7 +110,7 @@ public Builder messageGroups(@Nullable Output messageGroups) { + public Builder messageGroups(List messageGroups) { return messageGroups(Output.of(messageGroups)); } @@ -120,7 +120,7 @@ public Builder messageGroups(List message; - - /** - * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - */ - public Output message() { - return this.message; - } - - /** - * Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - @Import(name="variations") - private @Nullable Output> variations; - - /** - * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - public Optional>> variations() { - return Optional.ofNullable(this.variations); - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs $) { - this.message = $.message; - this.variations = $.variations; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param message Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - * @return builder - * - */ - public Builder message(Output message) { - $.message = message; - return this; - } - - /** - * @param message Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - * @return builder - * - */ - public Builder message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs message) { - return message(Output.of(message)); - } - - /** - * @param variations Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - * @return builder - * - */ - public Builder variations(@Nullable Output> variations) { - $.variations = variations; - return this; - } - - /** - * @param variations Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - * @return builder - * - */ - public Builder variations(List variations) { - return variations(Output.of(variations)); - } - - /** - * @param variations Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - * @return builder - * - */ - public Builder variations(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs... variations) { - return variations(List.of(variations)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs build() { - if ($.message == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs", "message"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs.java deleted file mode 100644 index 59f18c4a318..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java deleted file mode 100644 index 2002769b5c6..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java deleted file mode 100644 index f64cbb13acc..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index efe85f4ee18..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java deleted file mode 100644 index 3b3e43981f7..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java deleted file mode 100644 index 5583e7e808d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs.java deleted file mode 100644 index 74566c62479..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java deleted file mode 100644 index 468474061b7..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java deleted file mode 100644 index ff14cde4dda..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index c007cfc88e9..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index 8e5349b3a60..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java deleted file mode 100644 index dc242ebc2c7..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArgs.java index 6d5a311fa46..ac38e8814d8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookValueArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -52,13 +52,13 @@ public Optional> shape() { * */ @Import(name="value") - private @Nullable Output value; + private @Nullable Output value; /** * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional> value() { + public Optional> value() { return Optional.ofNullable(this.value); } @@ -136,7 +136,7 @@ public Builder shape(String shape) { * @return builder * */ - public Builder value(@Nullable Output value) { + public Builder value(@Nullable Output value) { $.value = value; return this; } @@ -147,7 +147,7 @@ public Builder value(@Nullable Output interpretedValue; - - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional> interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs $) { - this.interpretedValue = $.interpretedValue; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(@Nullable Output interpretedValue) { - $.interpretedValue = interpretedValue; - return this; - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(String interpretedValue) { - return interpretedValue(Output.of(interpretedValue)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs.java index 2b545daa91c..9c78160b698 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookMessageArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookVariationArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * */ @Import(name="message", required=true) - private Output message; + private Output message; /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public Output message() { + public Output message() { return this.message; } @@ -38,13 +38,13 @@ public Output> variations; + private @Nullable Output> variations; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public Optional>> variations() { + public Optional>> variations() { return Optional.ofNullable(this.variations); } @@ -79,7 +79,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati * @return builder * */ - public Builder message(Output message) { + public Builder message(Output message) { $.message = message; return this; } @@ -90,7 +90,7 @@ public Builder message(Output> variations) { + public Builder variations(@Nullable Output> variations) { $.variations = variations; return this; } @@ -111,7 +111,7 @@ public Builder variations(@Nullable Output variations) { + public Builder variations(List variations) { return variations(Output.of(variations)); } @@ -121,7 +121,7 @@ public Builder variations(List value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java deleted file mode 100644 index ff4c5eaabec..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index ad07f2c9790..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java deleted file mode 100644 index 77806210fee..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java deleted file mode 100644 index b53647498bf..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs.java deleted file mode 100644 index 622f2841521..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java deleted file mode 100644 index ac57c0d74d4..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java deleted file mode 100644 index d4b1f2a5895..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index ec264faec18..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index 636fcdb9e23..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java deleted file mode 100644 index 8dda0d41721..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs.java index fbc5d7379ff..9764f3af862 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs.java index bb399486cf2..e6d8f6c84d6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookSsmlMessageArgs.java new file mode 100644 index 00000000000..b3ea4de93ad --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookSsmlMessageArgs.java @@ -0,0 +1,85 @@ +// *** 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 V2modelsIntentFulfillmentCodeHookSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { + + public static final V2modelsIntentFulfillmentCodeHookSsmlMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookSsmlMessageArgs(); + + /** + * SSML text that defines the prompt. + * + */ + @Import(name="value", required=true) + private Output value; + + /** + * @return SSML text that defines the prompt. + * + */ + public Output value() { + return this.value; + } + + private V2modelsIntentFulfillmentCodeHookSsmlMessageArgs() {} + + private V2modelsIntentFulfillmentCodeHookSsmlMessageArgs(V2modelsIntentFulfillmentCodeHookSsmlMessageArgs $) { + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(V2modelsIntentFulfillmentCodeHookSsmlMessageArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private V2modelsIntentFulfillmentCodeHookSsmlMessageArgs $; + + public Builder() { + $ = new V2modelsIntentFulfillmentCodeHookSsmlMessageArgs(); + } + + public Builder(V2modelsIntentFulfillmentCodeHookSsmlMessageArgs defaults) { + $ = new V2modelsIntentFulfillmentCodeHookSsmlMessageArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param value SSML text that defines the prompt. + * + * @return builder + * + */ + public Builder value(Output value) { + $.value = value; + return this; + } + + /** + * @param value SSML text that defines the prompt. + * + * @return builder + * + */ + public Builder value(String value) { + return value(Output.of(value)); + } + + public V2modelsIntentFulfillmentCodeHookSsmlMessageArgs build() { + if ($.value == null) { + throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookSsmlMessageArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookValueArgs.java similarity index 59% rename from sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookValueArgs.java index 7144f61b672..7f4754ed3f0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookValueArgs.java @@ -11,9 +11,9 @@ import javax.annotation.Nullable; -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs extends com.pulumi.resources.ResourceArgs { +public final class V2modelsIntentFulfillmentCodeHookValueArgs extends com.pulumi.resources.ResourceArgs { - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs(); + public static final V2modelsIntentFulfillmentCodeHookValueArgs Empty = new V2modelsIntentFulfillmentCodeHookValueArgs(); /** * Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. @@ -30,28 +30,28 @@ public Optional> interpretedValue() { return Optional.ofNullable(this.interpretedValue); } - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs() {} + private V2modelsIntentFulfillmentCodeHookValueArgs() {} - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs $) { + private V2modelsIntentFulfillmentCodeHookValueArgs(V2modelsIntentFulfillmentCodeHookValueArgs $) { this.interpretedValue = $.interpretedValue; } public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs defaults) { + public static Builder builder(V2modelsIntentFulfillmentCodeHookValueArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs $; + private V2modelsIntentFulfillmentCodeHookValueArgs $; public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs(); + $ = new V2modelsIntentFulfillmentCodeHookValueArgs(); } - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentFulfillmentCodeHookValueArgs defaults) { + $ = new V2modelsIntentFulfillmentCodeHookValueArgs(Objects.requireNonNull(defaults)); } /** @@ -75,7 +75,7 @@ public Builder interpretedValue(String interpretedValue) { return interpretedValue(Output.of(interpretedValue)); } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs build() { + public V2modelsIntentFulfillmentCodeHookValueArgs build() { return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookVariationArgs.java similarity index 52% rename from sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookVariationArgs.java index 8af38da0ee1..bda507197c9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentFulfillmentCodeHookVariationArgs.java @@ -3,10 +3,10 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookCustomPayloadArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookImageResponseCardArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookPlainTextMessageArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentFulfillmentCodeHookSsmlMessageArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.util.Objects; @@ -14,22 +14,22 @@ import javax.annotation.Nullable; -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs extends com.pulumi.resources.ResourceArgs { +public final class V2modelsIntentFulfillmentCodeHookVariationArgs extends com.pulumi.resources.ResourceArgs { - public static final V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs Empty = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs(); + public static final V2modelsIntentFulfillmentCodeHookVariationArgs Empty = new V2modelsIntentFulfillmentCodeHookVariationArgs(); /** * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. * */ @Import(name="customPayload") - private @Nullable Output customPayload; + private @Nullable Output customPayload; /** * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. * */ - public Optional> customPayload() { + public Optional> customPayload() { return Optional.ofNullable(this.customPayload); } @@ -38,13 +38,13 @@ public Optional imageResponseCard; + private @Nullable Output imageResponseCard; /** * @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() { + public Optional> imageResponseCard() { return Optional.ofNullable(this.imageResponseCard); } @@ -53,13 +53,13 @@ public Optional plainTextMessage; + private @Nullable Output plainTextMessage; /** * @return Configuration block for a message in plain text format. See `plain_text_message`. * */ - public Optional> plainTextMessage() { + public Optional> plainTextMessage() { return Optional.ofNullable(this.plainTextMessage); } @@ -68,19 +68,19 @@ public Optional ssmlMessage; + private @Nullable Output ssmlMessage; /** * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. * */ - public Optional> ssmlMessage() { + public Optional> ssmlMessage() { return Optional.ofNullable(this.ssmlMessage); } - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs() {} + private V2modelsIntentFulfillmentCodeHookVariationArgs() {} - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs $) { + private V2modelsIntentFulfillmentCodeHookVariationArgs(V2modelsIntentFulfillmentCodeHookVariationArgs $) { this.customPayload = $.customPayload; this.imageResponseCard = $.imageResponseCard; this.plainTextMessage = $.plainTextMessage; @@ -90,19 +90,19 @@ private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeo public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs defaults) { + public static Builder builder(V2modelsIntentFulfillmentCodeHookVariationArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs $; + private V2modelsIntentFulfillmentCodeHookVariationArgs $; public Builder() { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs(); + $ = new V2modelsIntentFulfillmentCodeHookVariationArgs(); } - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs defaults) { - $ = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentFulfillmentCodeHookVariationArgs defaults) { + $ = new V2modelsIntentFulfillmentCodeHookVariationArgs(Objects.requireNonNull(defaults)); } /** @@ -111,7 +111,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati * @return builder * */ - public Builder customPayload(@Nullable Output customPayload) { + public Builder customPayload(@Nullable Output customPayload) { $.customPayload = customPayload; return this; } @@ -122,7 +122,7 @@ public Builder customPayload(@Nullable Output imageResponseCard) { + public Builder imageResponseCard(@Nullable Output imageResponseCard) { $.imageResponseCard = imageResponseCard; return this; } @@ -143,7 +143,7 @@ public Builder imageResponseCard(@Nullable Output plainTextMessage) { + public Builder plainTextMessage(@Nullable Output plainTextMessage) { $.plainTextMessage = plainTextMessage; return this; } @@ -164,7 +164,7 @@ public Builder plainTextMessage(@Nullable Output ssmlMessage) { + public Builder ssmlMessage(@Nullable Output ssmlMessage) { $.ssmlMessage = ssmlMessage; return this; } @@ -185,11 +185,11 @@ public Builder ssmlMessage(@Nullable Output value() { return this.value; } - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs() {} + private V2modelsIntentInitialResponseSettingButtonArgs() {} - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs $) { + private V2modelsIntentInitialResponseSettingButtonArgs(V2modelsIntentInitialResponseSettingButtonArgs $) { this.text = $.text; this.value = $.value; } @@ -54,19 +54,19 @@ private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuc public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { + public static Builder builder(V2modelsIntentInitialResponseSettingButtonArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs $; + private V2modelsIntentInitialResponseSettingButtonArgs $; public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs(); + $ = new V2modelsIntentInitialResponseSettingButtonArgs(); } - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentInitialResponseSettingButtonArgs defaults) { + $ = new V2modelsIntentInitialResponseSettingButtonArgs(Objects.requireNonNull(defaults)); } /** @@ -111,12 +111,12 @@ public Builder value(String value) { return value(Output.of(value)); } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs build() { + public V2modelsIntentInitialResponseSettingButtonArgs build() { if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); + throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingButtonArgs", "text"); } if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); + throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingButtonArgs", "value"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepArgs.java index c386e654f49..c7544875e9f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs; import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingDialogActionArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.String; @@ -23,13 +23,13 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * */ @Import(name="dialogAction") - private @Nullable Output dialogAction; + private @Nullable Output dialogAction; /** * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - public Optional> dialogAction() { + public Optional> dialogAction() { return Optional.ofNullable(this.dialogAction); } @@ -95,7 +95,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica * @return builder * */ - public Builder dialogAction(@Nullable Output dialogAction) { + public Builder dialogAction(@Nullable Output dialogAction) { $.dialogAction = dialogAction; return this; } @@ -106,7 +106,7 @@ public Builder dialogAction(@Nullable Output slotToElicit; - - /** - * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - */ - public Optional> slotToElicit() { - return Optional.ofNullable(this.slotToElicit); - } - - /** - * Whether the next message for the intent is _not_ used. - * - */ - @Import(name="suppressNextMessage") - private @Nullable Output suppressNextMessage; - - /** - * @return Whether the next message for the intent is _not_ used. - * - */ - public Optional> suppressNextMessage() { - return Optional.ofNullable(this.suppressNextMessage); - } - - /** - * Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - @Import(name="type", required=true) - private Output type; - - /** - * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - public Output type() { - return this.type; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs $) { - this.slotToElicit = $.slotToElicit; - this.suppressNextMessage = $.suppressNextMessage; - this.type = $.type; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param slotToElicit If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - * @return builder - * - */ - public Builder slotToElicit(@Nullable Output slotToElicit) { - $.slotToElicit = slotToElicit; - return this; - } - - /** - * @param slotToElicit If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - * @return builder - * - */ - public Builder slotToElicit(String slotToElicit) { - return slotToElicit(Output.of(slotToElicit)); - } - - /** - * @param suppressNextMessage Whether the next message for the intent is _not_ used. - * - * @return builder - * - */ - public Builder suppressNextMessage(@Nullable Output suppressNextMessage) { - $.suppressNextMessage = suppressNextMessage; - return this; - } - - /** - * @param suppressNextMessage Whether the next message for the intent is _not_ used. - * - * @return builder - * - */ - public Builder suppressNextMessage(Boolean suppressNextMessage) { - return suppressNextMessage(Output.of(suppressNextMessage)); - } - - /** - * @param type Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - * @return builder - * - */ - public Builder type(Output type) { - $.type = type; - return this; - } - - /** - * @param type Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - * @return builder - * - */ - public Builder type(String type) { - return type(Output.of(type)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs build() { - if ($.type == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogActionArgs", "type"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentArgs.java index 794a76c5138..e4c82e5906d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingSlotArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.String; @@ -37,13 +37,13 @@ public Optional> name() { * */ @Import(name="slots") - private @Nullable Output> slots; + private @Nullable Output> slots; /** * @return Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`. * */ - public Optional>> slots() { + public Optional>> slots() { return Optional.ofNullable(this.slots); } @@ -99,7 +99,7 @@ public Builder name(String name) { * @return builder * */ - public Builder slots(@Nullable Output> slots) { + public Builder slots(@Nullable Output> slots) { $.slots = slots; return this; } @@ -110,7 +110,7 @@ public Builder slots(@Nullable Output slots) { + public Builder slots(List slots) { return slots(Output.of(slots)); } @@ -120,7 +120,7 @@ public Builder slots(List mapBlockKey; - - /** - * @return Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`. - * - */ - public Output mapBlockKey() { - return this.mapBlockKey; - } - - /** - * When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value. - * - */ - @Import(name="shape") - private @Nullable Output shape; - - /** - * @return When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value. - * - */ - public Optional> shape() { - return Optional.ofNullable(this.shape); - } - - /** - * Configuration block for the current value of the slot. See `value`. - * - */ - @Import(name="value") - private @Nullable Output value; - - /** - * @return Configuration block for the current value of the slot. See `value`. - * - */ - public Optional> value() { - return Optional.ofNullable(this.value); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs $) { - this.mapBlockKey = $.mapBlockKey; - this.shape = $.shape; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param mapBlockKey Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`. - * - * @return builder - * - */ - public Builder mapBlockKey(Output mapBlockKey) { - $.mapBlockKey = mapBlockKey; - return this; - } - - /** - * @param mapBlockKey Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`. - * - * @return builder - * - */ - public Builder mapBlockKey(String mapBlockKey) { - return mapBlockKey(Output.of(mapBlockKey)); - } - - /** - * @param shape When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value. - * - * @return builder - * - */ - public Builder shape(@Nullable Output shape) { - $.shape = shape; - return this; - } - - /** - * @param shape When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value. - * - * @return builder - * - */ - public Builder shape(String shape) { - return shape(Output.of(shape)); - } - - /** - * @param value Configuration block for the current value of the slot. See `value`. - * - * @return builder - * - */ - public Builder value(@Nullable Output value) { - $.value = value; - return this; - } - - /** - * @param value Configuration block for the current value of the slot. See `value`. - * - * @return builder - * - */ - public Builder value(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs build() { - if ($.mapBlockKey == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotArgs", "mapBlockKey"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs.java deleted file mode 100644 index 19585310e4b..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs.java +++ /dev/null @@ -1,83 +0,0 @@ -// *** 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 java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs(); - - /** - * Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - @Import(name="interpretedValue") - private @Nullable Output interpretedValue; - - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional> interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs $) { - this.interpretedValue = $.interpretedValue; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(@Nullable Output interpretedValue) { - $.interpretedValue = interpretedValue; - return this; - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(String interpretedValue) { - return interpretedValue(Output.of(interpretedValue)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValueArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseArgs.java index 1d873d7c013..801262d73ac 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingMessageGroupArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.Boolean; @@ -37,13 +37,13 @@ public Optional> allowInterrupt() { * */ @Import(name="messageGroups") - private @Nullable Output> messageGroups; + private @Nullable Output> messageGroups; /** * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - public Optional>> messageGroups() { + public Optional>> messageGroups() { return Optional.ofNullable(this.messageGroups); } @@ -99,7 +99,7 @@ public Builder allowInterrupt(Boolean allowInterrupt) { * @return builder * */ - public Builder messageGroups(@Nullable Output> messageGroups) { + public Builder messageGroups(@Nullable Output> messageGroups) { $.messageGroups = messageGroups; return this; } @@ -110,7 +110,7 @@ public Builder messageGroups(@Nullable Output messageGroups) { + public Builder messageGroups(List messageGroups) { return messageGroups(Output.of(messageGroups)); } @@ -120,7 +120,7 @@ public Builder messageGroups(List message; - - /** - * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - */ - public Output message() { - return this.message; - } - - /** - * Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - @Import(name="variations") - private @Nullable Output> variations; - - /** - * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - public Optional>> variations() { - return Optional.ofNullable(this.variations); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs $) { - this.message = $.message; - this.variations = $.variations; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param message Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - * @return builder - * - */ - public Builder message(Output message) { - $.message = message; - return this; - } - - /** - * @param message Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - * @return builder - * - */ - public Builder message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs message) { - return message(Output.of(message)); - } - - /** - * @param variations Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - * @return builder - * - */ - public Builder variations(@Nullable Output> variations) { - $.variations = variations; - return this; - } - - /** - * @param variations Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - * @return builder - * - */ - public Builder variations(List variations) { - return variations(Output.of(variations)); - } - - /** - * @param variations Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - * @return builder - * - */ - public Builder variations(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs... variations) { - return variations(List.of(variations)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs build() { - if ($.message == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupArgs", "message"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs.java deleted file mode 100644 index c5d8e8d6c3b..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java deleted file mode 100644 index 626cfe17718..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java deleted file mode 100644 index 7606ccedd0e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index 9df6cd36dcd..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java deleted file mode 100644 index f17c0af3da7..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java deleted file mode 100644 index c71a1b6f117..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs.java deleted file mode 100644 index a80bfadd5d2..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java deleted file mode 100644 index 216b5c6d726..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java deleted file mode 100644 index 9f9e0e289e0..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index 3a302886e12..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index e17d6d3dbe6..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java deleted file mode 100644 index c88150a5090..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArgs.java index 30787493cc8..00f71200c6e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingValueArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -52,13 +52,13 @@ public Optional> shape() { * */ @Import(name="value") - private @Nullable Output value; + private @Nullable Output value; /** * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional> value() { + public Optional> value() { return Optional.ofNullable(this.value); } @@ -136,7 +136,7 @@ public Builder shape(String shape) { * @return builder * */ - public Builder value(@Nullable Output value) { + public Builder value(@Nullable Output value) { $.value = value; return this; } @@ -147,7 +147,7 @@ public Builder value(@Nullable Output message; + private Output message; /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public Output message() { + public Output message() { return this.message; } @@ -38,13 +38,13 @@ public Output> variations; + private @Nullable Output> variations; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public Optional>> variations() { + public Optional>> variations() { return Optional.ofNullable(this.variations); } @@ -79,7 +79,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica * @return builder * */ - public Builder message(Output message) { + public Builder message(Output message) { $.message = message; return this; } @@ -90,7 +90,7 @@ public Builder message(Output> variations) { + public Builder variations(@Nullable Output> variations) { $.variations = variations; return this; } @@ -111,7 +111,7 @@ public Builder variations(@Nullable Output variations) { + public Builder variations(List variations) { return variations(Output.of(variations)); } @@ -121,7 +121,7 @@ public Builder variations(List value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java deleted file mode 100644 index aa19d599d49..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index 886cf5b2c8c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java deleted file mode 100644 index 03fc98d3444..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java deleted file mode 100644 index 517c7380131..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs.java deleted file mode 100644 index 8d77fcec702..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java deleted file mode 100644 index 714134ca33a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java deleted file mode 100644 index b5bbd230987..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index f3a5856b09a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index 5b82b6a058d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java deleted file mode 100644 index 3d23c359d3c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs.java index 4c1e34ac410..acf73571d76 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationArgs.java index 03c7f5c8d20..19625e82c6f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationArgs.java @@ -4,9 +4,9 @@ package com.pulumi.aws.lex.inputs; import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs; import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessageArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingImageResponseCardArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingPlainTextMessageArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.util.Objects; @@ -38,13 +38,13 @@ public Optional imageResponseCard; + private @Nullable Output imageResponseCard; /** * @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() { + public Optional> imageResponseCard() { return Optional.ofNullable(this.imageResponseCard); } @@ -53,13 +53,13 @@ public Optional plainTextMessage; + private @Nullable Output plainTextMessage; /** * @return Configuration block for a message in plain text format. See `plain_text_message`. * */ - public Optional> plainTextMessage() { + public Optional> plainTextMessage() { return Optional.ofNullable(this.plainTextMessage); } @@ -132,7 +132,7 @@ public Builder customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCod * @return builder * */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { + public Builder imageResponseCard(@Nullable Output imageResponseCard) { $.imageResponseCard = imageResponseCard; return this; } @@ -143,7 +143,7 @@ public Builder imageResponseCard(@Nullable Output plainTextMessage) { + public Builder plainTextMessage(@Nullable Output plainTextMessage) { $.plainTextMessage = plainTextMessage; return this; } @@ -164,7 +164,7 @@ public Builder plainTextMessage(@Nullable 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index 381a6055ecf..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepArgs.java index c0e9ef67d82..dd1e01aa06d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs; import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingDialogActionArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.String; @@ -23,13 +23,13 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * */ @Import(name="dialogAction") - private @Nullable Output dialogAction; + private @Nullable Output dialogAction; /** * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - public Optional> dialogAction() { + public Optional> dialogAction() { return Optional.ofNullable(this.dialogAction); } @@ -95,7 +95,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica * @return builder * */ - public Builder dialogAction(@Nullable Output dialogAction) { + public Builder dialogAction(@Nullable Output dialogAction) { $.dialogAction = dialogAction; return this; } @@ -106,7 +106,7 @@ public Builder dialogAction(@Nullable Output> name() { * */ @Import(name="slots") - private @Nullable Output> slots; + private @Nullable Output> slots; /** * @return Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`. * */ - public Optional>> slots() { + public Optional>> slots() { return Optional.ofNullable(this.slots); } @@ -99,7 +99,7 @@ public Builder name(String name) { * @return builder * */ - public Builder slots(@Nullable Output> slots) { + public Builder slots(@Nullable Output> slots) { $.slots = slots; return this; } @@ -110,7 +110,7 @@ public Builder slots(@Nullable Output slots) { + public Builder slots(List slots) { return slots(Output.of(slots)); } @@ -120,7 +120,7 @@ public Builder slots(List interpretedValue; - - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional> interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs $) { - this.interpretedValue = $.interpretedValue; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(@Nullable Output interpretedValue) { - $.interpretedValue = interpretedValue; - return this; - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(String interpretedValue) { - return interpretedValue(Output.of(interpretedValue)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseArgs.java index cbc83ec00ac..aab14f293d5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingMessageGroupArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.Boolean; @@ -37,13 +37,13 @@ public Optional> allowInterrupt() { * */ @Import(name="messageGroups") - private @Nullable Output> messageGroups; + private @Nullable Output> messageGroups; /** * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - public Optional>> messageGroups() { + public Optional>> messageGroups() { return Optional.ofNullable(this.messageGroups); } @@ -99,7 +99,7 @@ public Builder allowInterrupt(Boolean allowInterrupt) { * @return builder * */ - public Builder messageGroups(@Nullable Output> messageGroups) { + public Builder messageGroups(@Nullable Output> messageGroups) { $.messageGroups = messageGroups; return this; } @@ -110,7 +110,7 @@ public Builder messageGroups(@Nullable Output messageGroups) { + public Builder messageGroups(List messageGroups) { return messageGroups(Output.of(messageGroups)); } @@ -120,7 +120,7 @@ public Builder messageGroups(List customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java deleted file mode 100644 index 0608cb9ce09..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java deleted file mode 100644 index 414e07d98a0..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index 7b0b7cac2df..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java deleted file mode 100644 index 49b86d2a98f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java deleted file mode 100644 index dc6857698bf..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs.java deleted file mode 100644 index 60c6b60935d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java deleted file mode 100644 index ae1de6c5c4d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java deleted file mode 100644 index eb9bb5084cf..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index 819236cd622..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index 5606c79c7ba..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java deleted file mode 100644 index ddd5e5961d1..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArgs.java index 470254970cc..8cab0fff7f2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingValueArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -52,13 +52,13 @@ public Optional> shape() { * */ @Import(name="value") - private @Nullable Output value; + private @Nullable Output value; /** * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional> value() { + public Optional> value() { return Optional.ofNullable(this.value); } @@ -136,7 +136,7 @@ public Builder shape(String shape) { * @return builder * */ - public Builder value(@Nullable Output value) { + public Builder value(@Nullable Output value) { $.value = value; return this; } @@ -147,7 +147,7 @@ public Builder value(@Nullable Output interpretedValue; - - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional> interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs $) { - this.interpretedValue = $.interpretedValue; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(@Nullable Output interpretedValue) { - $.interpretedValue = interpretedValue; - return this; - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(String interpretedValue) { - return interpretedValue(Output.of(interpretedValue)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValueArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs.java index 46fce8fe6b3..c81650d5783 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingMessageArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingVariationArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * */ @Import(name="message", required=true) - private Output message; + private Output message; /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public Output message() { + public Output message() { return this.message; } @@ -38,13 +38,13 @@ public Output> variations; + private @Nullable Output> variations; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public Optional>> variations() { + public Optional>> variations() { return Optional.ofNullable(this.variations); } @@ -79,7 +79,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica * @return builder * */ - public Builder message(Output message) { + public Builder message(Output message) { $.message = message; return this; } @@ -90,7 +90,7 @@ public Builder message(Output> variations) { + public Builder variations(@Nullable Output> variations) { $.variations = variations; return this; } @@ -111,7 +111,7 @@ public Builder variations(@Nullable Output variations) { + public Builder variations(List variations) { return variations(Output.of(variations)); } @@ -121,7 +121,7 @@ public Builder variations(List value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java deleted file mode 100644 index 9f47f38f545..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index cd6c52cfee8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java deleted file mode 100644 index 43e7387c8f2..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java deleted file mode 100644 index 3ffd3ba7b4f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs.java deleted file mode 100644 index 368526c06ea..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java deleted file mode 100644 index b67debbad3e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java deleted file mode 100644 index fb4e82dd66c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index c64e9b34690..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index 74699b594b6..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java deleted file mode 100644 index abbdb1a7a8e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs.java index 75bf8f85790..525d94e2dd6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List imageResponseCard; + private @Nullable Output imageResponseCard; /** * @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() { + public Optional> imageResponseCard() { return Optional.ofNullable(this.imageResponseCard); } @@ -53,13 +53,13 @@ public Optional plainTextMessage; + private @Nullable Output plainTextMessage; /** * @return Configuration block for a message in plain text format. See `plain_text_message`. * */ - public Optional> plainTextMessage() { + public Optional> plainTextMessage() { return Optional.ofNullable(this.plainTextMessage); } @@ -132,7 +132,7 @@ public Builder customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCod * @return builder * */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { + public Builder imageResponseCard(@Nullable Output imageResponseCard) { $.imageResponseCard = imageResponseCard; return this; } @@ -143,7 +143,7 @@ public Builder imageResponseCard(@Nullable Output plainTextMessage) { + public Builder plainTextMessage(@Nullable Output plainTextMessage) { $.plainTextMessage = plainTextMessage; return this; } @@ -164,7 +164,7 @@ public Builder plainTextMessage(@Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index b1888023a8c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index 0096505e322..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepArgs.java index fca455fc8fb..1c9372e3171 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs; import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingDialogActionArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.String; @@ -23,13 +23,13 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * */ @Import(name="dialogAction") - private @Nullable Output dialogAction; + private @Nullable Output dialogAction; /** * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - public Optional> dialogAction() { + public Optional> dialogAction() { return Optional.ofNullable(this.dialogAction); } @@ -95,7 +95,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica * @return builder * */ - public Builder dialogAction(@Nullable Output dialogAction) { + public Builder dialogAction(@Nullable Output dialogAction) { $.dialogAction = dialogAction; return this; } @@ -106,7 +106,7 @@ public Builder dialogAction(@Nullable Output slotToElicit; - - /** - * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - */ - public Optional> slotToElicit() { - return Optional.ofNullable(this.slotToElicit); - } - - /** - * Whether the next message for the intent is _not_ used. - * - */ - @Import(name="suppressNextMessage") - private @Nullable Output suppressNextMessage; - - /** - * @return Whether the next message for the intent is _not_ used. - * - */ - public Optional> suppressNextMessage() { - return Optional.ofNullable(this.suppressNextMessage); - } - - /** - * Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - @Import(name="type", required=true) - private Output type; - - /** - * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - public Output type() { - return this.type; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs $) { - this.slotToElicit = $.slotToElicit; - this.suppressNextMessage = $.suppressNextMessage; - this.type = $.type; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param slotToElicit If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - * @return builder - * - */ - public Builder slotToElicit(@Nullable Output slotToElicit) { - $.slotToElicit = slotToElicit; - return this; - } - - /** - * @param slotToElicit If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - * @return builder - * - */ - public Builder slotToElicit(String slotToElicit) { - return slotToElicit(Output.of(slotToElicit)); - } - - /** - * @param suppressNextMessage Whether the next message for the intent is _not_ used. - * - * @return builder - * - */ - public Builder suppressNextMessage(@Nullable Output suppressNextMessage) { - $.suppressNextMessage = suppressNextMessage; - return this; - } - - /** - * @param suppressNextMessage Whether the next message for the intent is _not_ used. - * - * @return builder - * - */ - public Builder suppressNextMessage(Boolean suppressNextMessage) { - return suppressNextMessage(Output.of(suppressNextMessage)); - } - - /** - * @param type Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - * @return builder - * - */ - public Builder type(Output type) { - $.type = type; - return this; - } - - /** - * @param type Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - * @return builder - * - */ - public Builder type(String type) { - return type(Output.of(type)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs build() { - if ($.type == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs", "type"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentArgs.java index a940a4b147b..80e1cab537d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingSlotArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.String; @@ -37,13 +37,13 @@ public Optional> name() { * */ @Import(name="slots") - private @Nullable Output> slots; + private @Nullable Output> slots; /** * @return Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`. * */ - public Optional>> slots() { + public Optional>> slots() { return Optional.ofNullable(this.slots); } @@ -99,7 +99,7 @@ public Builder name(String name) { * @return builder * */ - public Builder slots(@Nullable Output> slots) { + public Builder slots(@Nullable Output> slots) { $.slots = slots; return this; } @@ -110,7 +110,7 @@ public Builder slots(@Nullable Output slots) { + public Builder slots(List slots) { return slots(Output.of(slots)); } @@ -120,7 +120,7 @@ public Builder slots(List mapBlockKey; - - /** - * @return Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`. - * - */ - public Output mapBlockKey() { - return this.mapBlockKey; - } - - /** - * When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value. - * - */ - @Import(name="shape") - private @Nullable Output shape; - - /** - * @return When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value. - * - */ - public Optional> shape() { - return Optional.ofNullable(this.shape); - } - - /** - * Configuration block for the current value of the slot. See `value`. - * - */ - @Import(name="value") - private @Nullable Output value; - - /** - * @return Configuration block for the current value of the slot. See `value`. - * - */ - public Optional> value() { - return Optional.ofNullable(this.value); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs $) { - this.mapBlockKey = $.mapBlockKey; - this.shape = $.shape; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param mapBlockKey Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`. - * - * @return builder - * - */ - public Builder mapBlockKey(Output mapBlockKey) { - $.mapBlockKey = mapBlockKey; - return this; - } - - /** - * @param mapBlockKey Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`. - * - * @return builder - * - */ - public Builder mapBlockKey(String mapBlockKey) { - return mapBlockKey(Output.of(mapBlockKey)); - } - - /** - * @param shape When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value. - * - * @return builder - * - */ - public Builder shape(@Nullable Output shape) { - $.shape = shape; - return this; - } - - /** - * @param shape When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value. - * - * @return builder - * - */ - public Builder shape(String shape) { - return shape(Output.of(shape)); - } - - /** - * @param value Configuration block for the current value of the slot. See `value`. - * - * @return builder - * - */ - public Builder value(@Nullable Output value) { - $.value = value; - return this; - } - - /** - * @param value Configuration block for the current value of the slot. See `value`. - * - * @return builder - * - */ - public Builder value(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs build() { - if ($.mapBlockKey == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotArgs", "mapBlockKey"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs.java deleted file mode 100644 index b3a4278e1c9..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs.java +++ /dev/null @@ -1,83 +0,0 @@ -// *** 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 java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs(); - - /** - * Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - @Import(name="interpretedValue") - private @Nullable Output interpretedValue; - - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional> interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs $) { - this.interpretedValue = $.interpretedValue; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(@Nullable Output interpretedValue) { - $.interpretedValue = interpretedValue; - return this; - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(String interpretedValue) { - return interpretedValue(Output.of(interpretedValue)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValueArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseArgs.java index 7b887dd2b05..bb8f5c73361 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingMessageGroupArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.Boolean; @@ -37,13 +37,13 @@ public Optional> allowInterrupt() { * */ @Import(name="messageGroups") - private @Nullable Output> messageGroups; + private @Nullable Output> messageGroups; /** * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - public Optional>> messageGroups() { + public Optional>> messageGroups() { return Optional.ofNullable(this.messageGroups); } @@ -99,7 +99,7 @@ public Builder allowInterrupt(Boolean allowInterrupt) { * @return builder * */ - public Builder messageGroups(@Nullable Output> messageGroups) { + public Builder messageGroups(@Nullable Output> messageGroups) { $.messageGroups = messageGroups; return this; } @@ -110,7 +110,7 @@ public Builder messageGroups(@Nullable Output messageGroups) { + public Builder messageGroups(List messageGroups) { return messageGroups(Output.of(messageGroups)); } @@ -120,7 +120,7 @@ public Builder messageGroups(List message; - - /** - * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - */ - public Output message() { - return this.message; - } - - /** - * Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - @Import(name="variations") - private @Nullable Output> variations; - - /** - * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - public Optional>> variations() { - return Optional.ofNullable(this.variations); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs $) { - this.message = $.message; - this.variations = $.variations; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param message Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - * @return builder - * - */ - public Builder message(Output message) { - $.message = message; - return this; - } - - /** - * @param message Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - * @return builder - * - */ - public Builder message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs message) { - return message(Output.of(message)); - } - - /** - * @param variations Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - * @return builder - * - */ - public Builder variations(@Nullable Output> variations) { - $.variations = variations; - return this; - } - - /** - * @param variations Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - * @return builder - * - */ - public Builder variations(List variations) { - return variations(Output.of(variations)); - } - - /** - * @param variations Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - * @return builder - * - */ - public Builder variations(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs... variations) { - return variations(List.of(variations)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs build() { - if ($.message == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupArgs", "message"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs.java deleted file mode 100644 index 2486d111258..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java deleted file mode 100644 index 6b763aae9d3..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java deleted file mode 100644 index 52731ad5444..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index 7caafaf4055..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java deleted file mode 100644 index 92b61cae2cc..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java deleted file mode 100644 index 167f66fbf54..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs.java deleted file mode 100644 index 5483b91841b..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java deleted file mode 100644 index 29b182a9f4c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java deleted file mode 100644 index 7089175a0a4..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index a0fd8c0a9d6..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index 9104dea7877..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java deleted file mode 100644 index bd8c773bb66..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArgs.java index a21f59071d8..35dd0e5a2cc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingValueArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -52,13 +52,13 @@ public Optional> shape() { * */ @Import(name="value") - private @Nullable Output value; + private @Nullable Output value; /** * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional> value() { + public Optional> value() { return Optional.ofNullable(this.value); } @@ -136,7 +136,7 @@ public Builder shape(String shape) { * @return builder * */ - public Builder value(@Nullable Output value) { + public Builder value(@Nullable Output value) { $.value = value; return this; } @@ -147,7 +147,7 @@ public Builder value(@Nullable Output interpretedValue; - - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional> interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs $) { - this.interpretedValue = $.interpretedValue; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(@Nullable Output interpretedValue) { - $.interpretedValue = interpretedValue; - return this; - } - - /** - * @param interpretedValue Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - * @return builder - * - */ - public Builder interpretedValue(String interpretedValue) { - return interpretedValue(Output.of(interpretedValue)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValueArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs.java index 2ff3c6c6485..b6957578219 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingMessageArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingVariationArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * */ @Import(name="message", required=true) - private Output message; + private Output message; /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public Output message() { + public Output message() { return this.message; } @@ -38,13 +38,13 @@ public Output> variations; + private @Nullable Output> variations; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public Optional>> variations() { + public Optional>> variations() { return Optional.ofNullable(this.variations); } @@ -79,7 +79,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica * @return builder * */ - public Builder message(Output message) { + public Builder message(Output message) { $.message = message; return this; } @@ -90,7 +90,7 @@ public Builder message(Output> variations) { + public Builder variations(@Nullable Output> variations) { $.variations = variations; return this; } @@ -111,7 +111,7 @@ public Builder variations(@Nullable Output variations) { + public Builder variations(List variations) { return variations(Output.of(variations)); } @@ -121,7 +121,7 @@ public Builder variations(List customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.java deleted file mode 100644 index 8b4a99c6e66..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java deleted file mode 100644 index c2e8b047d22..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index dd3432144b8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java deleted file mode 100644 index c5a3c82e88f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java deleted file mode 100644 index b4831911469..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs.java deleted file mode 100644 index 487cdcfb556..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs(); - - /** - * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - @Import(name="customPayload") - private @Nullable Output customPayload; - - /** - * @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); - } - - /** - * Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - */ - @Import(name="imageResponseCard") - private @Nullable Output imageResponseCard; - - /** - * @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); - } - - /** - * Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - @Import(name="plainTextMessage") - private @Nullable Output plainTextMessage; - - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - public Optional> plainTextMessage() { - return Optional.ofNullable(this.plainTextMessage); - } - - /** - * Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - @Import(name="ssmlMessage") - private @Nullable Output ssmlMessage; - - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - public Optional> ssmlMessage() { - return Optional.ofNullable(this.ssmlMessage); - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs $) { - this.customPayload = $.customPayload; - this.imageResponseCard = $.imageResponseCard; - this.plainTextMessage = $.plainTextMessage; - this.ssmlMessage = $.ssmlMessage; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(@Nullable Output customPayload) { - $.customPayload = customPayload; - return this; - } - - /** - * @param customPayload Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - * @return builder - * - */ - public Builder customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs customPayload) { - return customPayload(Output.of(customPayload)); - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { - $.imageResponseCard = imageResponseCard; - return this; - } - - /** - * @param imageResponseCard Configuration block for a message that defines a response card that the client application can show to the user. See `image_response_card`. - * - * @return builder - * - */ - public Builder imageResponseCard(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { - return imageResponseCard(Output.of(imageResponseCard)); - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(@Nullable Output plainTextMessage) { - $.plainTextMessage = plainTextMessage; - return this; - } - - /** - * @param plainTextMessage Configuration block for a message in plain text format. See `plain_text_message`. - * - * @return builder - * - */ - public Builder plainTextMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs plainTextMessage) { - return plainTextMessage(Output.of(plainTextMessage)); - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(@Nullable Output ssmlMessage) { - $.ssmlMessage = ssmlMessage; - return this; - } - - /** - * @param ssmlMessage Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - * @return builder - * - */ - public Builder ssmlMessage(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs ssmlMessage) { - return ssmlMessage(Output.of(ssmlMessage)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java deleted file mode 100644 index 74d9594516e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(); - - /** - * String that is sent to your application. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return String that is sent to your application. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value String that is sent to your application. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayloadArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java deleted file mode 100644 index a1ce47bf706..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs.java +++ /dev/null @@ -1,210 +0,0 @@ -// *** 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.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs; -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(); - - /** - * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - @Import(name="buttons") - private @Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index 2a059242b0e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index 75e091e2409..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java deleted file mode 100644 index 1fb7c32f51a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(); - - /** - * SSML text that defines the prompt. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return SSML text that defines the prompt. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value SSML text that defines the prompt. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs.java index 0445b0c43ec..9421ad75d51 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -23,13 +23,13 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -111,7 +111,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs(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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationArgs.java index 0799f3fdb0d..610fc67bd91 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationArgs.java @@ -4,9 +4,9 @@ package com.pulumi.aws.lex.inputs; import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs; import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessageArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingImageResponseCardArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingPlainTextMessageArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.util.Objects; @@ -38,13 +38,13 @@ public Optional imageResponseCard; + private @Nullable Output imageResponseCard; /** * @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() { + public Optional> imageResponseCard() { return Optional.ofNullable(this.imageResponseCard); } @@ -53,13 +53,13 @@ public Optional plainTextMessage; + private @Nullable Output plainTextMessage; /** * @return Configuration block for a message in plain text format. See `plain_text_message`. * */ - public Optional> plainTextMessage() { + public Optional> plainTextMessage() { return Optional.ofNullable(this.plainTextMessage); } @@ -132,7 +132,7 @@ public Builder customPayload(V2modelsIntentInitialResponseSettingCodeHookPostCod * @return builder * */ - public Builder imageResponseCard(@Nullable Output imageResponseCard) { + public Builder imageResponseCard(@Nullable Output imageResponseCard) { $.imageResponseCard = imageResponseCard; return this; } @@ -143,7 +143,7 @@ public Builder imageResponseCard(@Nullable Output plainTextMessage) { + public Builder plainTextMessage(@Nullable Output plainTextMessage) { $.plainTextMessage = plainTextMessage; return this; } @@ -164,7 +164,7 @@ public Builder plainTextMessage(@Nullable Output> buttons; - - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public Optional>> buttons() { - return Optional.ofNullable(this.buttons); - } - - /** - * URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - @Import(name="imageUrl") - private @Nullable Output imageUrl; - - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional> imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - - /** - * Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - @Import(name="subtitle") - private @Nullable Output subtitle; - - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional> subtitle() { - return Optional.ofNullable(this.subtitle); - } - - /** - * Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - @Import(name="title", required=true) - private Output title; - - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public Output title() { - return this.title; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs $) { - this.buttons = $.buttons; - this.imageUrl = $.imageUrl; - this.subtitle = $.subtitle; - this.title = $.title; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(@Nullable Output> buttons) { - $.buttons = buttons; - return this; - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(List buttons) { - return buttons(Output.of(buttons)); - } - - /** - * @param buttons Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - * @return builder - * - */ - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { - return buttons(List.of(buttons)); - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(@Nullable Output imageUrl) { - $.imageUrl = imageUrl; - return this; - } - - /** - * @param imageUrl URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - * @return builder - * - */ - public Builder imageUrl(String imageUrl) { - return imageUrl(Output.of(imageUrl)); - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(@Nullable Output subtitle) { - $.subtitle = subtitle; - return this; - } - - /** - * @param subtitle Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder subtitle(String subtitle) { - return subtitle(Output.of(subtitle)); - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(Output title) { - $.title = title; - return this; - } - - /** - * @param title Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - * @return builder - * - */ - public Builder title(String title) { - return title(Output.of(title)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs build() { - if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardArgs", "title"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index 0410261c0ac..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs(); - - /** - * 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs(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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs.java deleted file mode 100644 index c73dc54b4f3..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs(); - - /** - * Message to send to the user. - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return Message to send to the user. - * - */ - public Output value() { - return this.value; - } - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs() {} - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs $) { - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs $; - - public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs(); - } - - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value Message to send to the user. - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs build() { - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessageArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCustomPayloadArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCustomPayloadArgs.java new file mode 100644 index 00000000000..dee7fb82f45 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCustomPayloadArgs.java @@ -0,0 +1,85 @@ +// *** 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 V2modelsIntentInitialResponseSettingCustomPayloadArgs extends com.pulumi.resources.ResourceArgs { + + public static final V2modelsIntentInitialResponseSettingCustomPayloadArgs Empty = new V2modelsIntentInitialResponseSettingCustomPayloadArgs(); + + /** + * String that is sent to your application. + * + */ + @Import(name="value", required=true) + private Output value; + + /** + * @return String that is sent to your application. + * + */ + public Output value() { + return this.value; + } + + private V2modelsIntentInitialResponseSettingCustomPayloadArgs() {} + + private V2modelsIntentInitialResponseSettingCustomPayloadArgs(V2modelsIntentInitialResponseSettingCustomPayloadArgs $) { + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(V2modelsIntentInitialResponseSettingCustomPayloadArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private V2modelsIntentInitialResponseSettingCustomPayloadArgs $; + + public Builder() { + $ = new V2modelsIntentInitialResponseSettingCustomPayloadArgs(); + } + + public Builder(V2modelsIntentInitialResponseSettingCustomPayloadArgs defaults) { + $ = new V2modelsIntentInitialResponseSettingCustomPayloadArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param value String that is sent to your application. + * + * @return builder + * + */ + public Builder value(Output value) { + $.value = value; + return this; + } + + /** + * @param value String that is sent to your application. + * + * @return builder + * + */ + public Builder value(String value) { + return value(Output.of(value)); + } + + public V2modelsIntentInitialResponseSettingCustomPayloadArgs build() { + if ($.value == null) { + throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCustomPayloadArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingDialogActionArgs.java similarity index 70% rename from sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingDialogActionArgs.java index 8bb75c51622..b1b10387110 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingDialogActionArgs.java @@ -13,9 +13,9 @@ import javax.annotation.Nullable; -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs extends com.pulumi.resources.ResourceArgs { +public final class V2modelsIntentInitialResponseSettingDialogActionArgs extends com.pulumi.resources.ResourceArgs { - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs(); + public static final V2modelsIntentInitialResponseSettingDialogActionArgs Empty = new V2modelsIntentInitialResponseSettingDialogActionArgs(); /** * If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. @@ -62,9 +62,9 @@ public Output type() { return this.type; } - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs() {} + private V2modelsIntentInitialResponseSettingDialogActionArgs() {} - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs $) { + private V2modelsIntentInitialResponseSettingDialogActionArgs(V2modelsIntentInitialResponseSettingDialogActionArgs $) { this.slotToElicit = $.slotToElicit; this.suppressNextMessage = $.suppressNextMessage; this.type = $.type; @@ -73,19 +73,19 @@ private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuc public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs defaults) { + public static Builder builder(V2modelsIntentInitialResponseSettingDialogActionArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs $; + private V2modelsIntentInitialResponseSettingDialogActionArgs $; public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs(); + $ = new V2modelsIntentInitialResponseSettingDialogActionArgs(); } - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentInitialResponseSettingDialogActionArgs defaults) { + $ = new V2modelsIntentInitialResponseSettingDialogActionArgs(Objects.requireNonNull(defaults)); } /** @@ -151,9 +151,9 @@ public Builder type(String type) { return type(Output.of(type)); } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs build() { + public V2modelsIntentInitialResponseSettingDialogActionArgs build() { if ($.type == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogActionArgs", "type"); + throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingDialogActionArgs", "type"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingImageResponseCardArgs.java similarity index 71% rename from sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingImageResponseCardArgs.java index 1d392bcaa5a..9f81faad0ba 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -14,22 +14,22 @@ import javax.annotation.Nullable; -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { +public final class V2modelsIntentInitialResponseSettingImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs(); + public static final V2modelsIntentInitialResponseSettingImageResponseCardArgs Empty = new V2modelsIntentInitialResponseSettingImageResponseCardArgs(); /** * Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -78,9 +78,9 @@ public Output title() { return this.title; } - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs() {} + private V2modelsIntentInitialResponseSettingImageResponseCardArgs() {} - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs $) { + private V2modelsIntentInitialResponseSettingImageResponseCardArgs(V2modelsIntentInitialResponseSettingImageResponseCardArgs $) { this.buttons = $.buttons; this.imageUrl = $.imageUrl; this.subtitle = $.subtitle; @@ -90,19 +90,19 @@ private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFai public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs defaults) { + public static Builder builder(V2modelsIntentInitialResponseSettingImageResponseCardArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs $; + private V2modelsIntentInitialResponseSettingImageResponseCardArgs $; public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs(); + $ = new V2modelsIntentInitialResponseSettingImageResponseCardArgs(); } - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentInitialResponseSettingImageResponseCardArgs defaults) { + $ = new V2modelsIntentInitialResponseSettingImageResponseCardArgs(Objects.requireNonNull(defaults)); } /** @@ -111,7 +111,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica * @return builder * */ - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } @@ -122,7 +122,7 @@ public Builder buttons(@Nullable Output buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } @@ -132,7 +132,7 @@ public Builder buttons(List customPayload; + private @Nullable Output customPayload; /** * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. * */ - public Optional> customPayload() { + public Optional> customPayload() { return Optional.ofNullable(this.customPayload); } @@ -38,13 +38,13 @@ public Optional imageResponseCard; + private @Nullable Output imageResponseCard; /** * @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() { + public Optional> imageResponseCard() { return Optional.ofNullable(this.imageResponseCard); } @@ -53,13 +53,13 @@ public Optional plainTextMessage; + private @Nullable Output plainTextMessage; /** * @return Configuration block for a message in plain text format. See `plain_text_message`. * */ - public Optional> plainTextMessage() { + public Optional> plainTextMessage() { return Optional.ofNullable(this.plainTextMessage); } @@ -68,19 +68,19 @@ public Optional ssmlMessage; + private @Nullable Output ssmlMessage; /** * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. * */ - public Optional> ssmlMessage() { + public Optional> ssmlMessage() { return Optional.ofNullable(this.ssmlMessage); } - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs() {} + private V2modelsIntentInitialResponseSettingMessageArgs() {} - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs $) { + private V2modelsIntentInitialResponseSettingMessageArgs(V2modelsIntentInitialResponseSettingMessageArgs $) { this.customPayload = $.customPayload; this.imageResponseCard = $.imageResponseCard; this.plainTextMessage = $.plainTextMessage; @@ -90,19 +90,19 @@ private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuc public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs defaults) { + public static Builder builder(V2modelsIntentInitialResponseSettingMessageArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs $; + private V2modelsIntentInitialResponseSettingMessageArgs $; public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs(); + $ = new V2modelsIntentInitialResponseSettingMessageArgs(); } - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentInitialResponseSettingMessageArgs defaults) { + $ = new V2modelsIntentInitialResponseSettingMessageArgs(Objects.requireNonNull(defaults)); } /** @@ -111,7 +111,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica * @return builder * */ - public Builder customPayload(@Nullable Output customPayload) { + public Builder customPayload(@Nullable Output customPayload) { $.customPayload = customPayload; return this; } @@ -122,7 +122,7 @@ public Builder customPayload(@Nullable Output imageResponseCard) { + public Builder imageResponseCard(@Nullable Output imageResponseCard) { $.imageResponseCard = imageResponseCard; return this; } @@ -143,7 +143,7 @@ public Builder imageResponseCard(@Nullable Output plainTextMessage) { + public Builder plainTextMessage(@Nullable Output plainTextMessage) { $.plainTextMessage = plainTextMessage; return this; } @@ -164,7 +164,7 @@ public Builder plainTextMessage(@Nullable Output ssmlMessage) { + public Builder ssmlMessage(@Nullable Output ssmlMessage) { $.ssmlMessage = ssmlMessage; return this; } @@ -185,11 +185,11 @@ public Builder ssmlMessage(@Nullable Output message; + private Output message; /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public Output message() { + public Output message() { return this.message; } @@ -38,19 +38,19 @@ public Output> variations; + private @Nullable Output> variations; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public Optional>> variations() { + public Optional>> variations() { return Optional.ofNullable(this.variations); } - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs() {} + private V2modelsIntentInitialResponseSettingMessageGroupArgs() {} - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs $) { + private V2modelsIntentInitialResponseSettingMessageGroupArgs(V2modelsIntentInitialResponseSettingMessageGroupArgs $) { this.message = $.message; this.variations = $.variations; } @@ -58,19 +58,19 @@ private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuc public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs defaults) { + public static Builder builder(V2modelsIntentInitialResponseSettingMessageGroupArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs $; + private V2modelsIntentInitialResponseSettingMessageGroupArgs $; public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs(); + $ = new V2modelsIntentInitialResponseSettingMessageGroupArgs(); } - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentInitialResponseSettingMessageGroupArgs defaults) { + $ = new V2modelsIntentInitialResponseSettingMessageGroupArgs(Objects.requireNonNull(defaults)); } /** @@ -79,7 +79,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica * @return builder * */ - public Builder message(Output message) { + public Builder message(Output message) { $.message = message; return this; } @@ -90,7 +90,7 @@ public Builder message(Output> variations) { + public Builder variations(@Nullable Output> variations) { $.variations = variations; return this; } @@ -111,7 +111,7 @@ public Builder variations(@Nullable Output variations) { + public Builder variations(List variations) { return variations(Output.of(variations)); } @@ -121,13 +121,13 @@ public Builder variations(List value; + + /** + * @return Message to send to the user. + * + */ + public Output value() { + return this.value; + } + + private V2modelsIntentInitialResponseSettingPlainTextMessageArgs() {} + + private V2modelsIntentInitialResponseSettingPlainTextMessageArgs(V2modelsIntentInitialResponseSettingPlainTextMessageArgs $) { + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(V2modelsIntentInitialResponseSettingPlainTextMessageArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private V2modelsIntentInitialResponseSettingPlainTextMessageArgs $; + + public Builder() { + $ = new V2modelsIntentInitialResponseSettingPlainTextMessageArgs(); + } + + public Builder(V2modelsIntentInitialResponseSettingPlainTextMessageArgs defaults) { + $ = new V2modelsIntentInitialResponseSettingPlainTextMessageArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param value Message to send to the user. + * + * @return builder + * + */ + public Builder value(Output value) { + $.value = value; + return this; + } + + /** + * @param value Message to send to the user. + * + * @return builder + * + */ + public Builder value(String value) { + return value(Output.of(value)); + } + + public V2modelsIntentInitialResponseSettingPlainTextMessageArgs build() { + if ($.value == null) { + throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingPlainTextMessageArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingSlotArgs.java similarity index 62% rename from sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingSlotArgs.java index 51aef30e309..f7a2d73e242 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingSlotArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValueArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingValueArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -13,9 +13,9 @@ import javax.annotation.Nullable; -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs extends com.pulumi.resources.ResourceArgs { +public final class V2modelsIntentInitialResponseSettingSlotArgs extends com.pulumi.resources.ResourceArgs { - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs(); + public static final V2modelsIntentInitialResponseSettingSlotArgs Empty = new V2modelsIntentInitialResponseSettingSlotArgs(); /** * Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`. @@ -52,19 +52,19 @@ public Optional> shape() { * */ @Import(name="value") - private @Nullable Output value; + private @Nullable Output value; /** * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional> value() { + public Optional> value() { return Optional.ofNullable(this.value); } - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs() {} + private V2modelsIntentInitialResponseSettingSlotArgs() {} - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs $) { + private V2modelsIntentInitialResponseSettingSlotArgs(V2modelsIntentInitialResponseSettingSlotArgs $) { this.mapBlockKey = $.mapBlockKey; this.shape = $.shape; this.value = $.value; @@ -73,19 +73,19 @@ private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuc public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs defaults) { + public static Builder builder(V2modelsIntentInitialResponseSettingSlotArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs $; + private V2modelsIntentInitialResponseSettingSlotArgs $; public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs(); + $ = new V2modelsIntentInitialResponseSettingSlotArgs(); } - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentInitialResponseSettingSlotArgs defaults) { + $ = new V2modelsIntentInitialResponseSettingSlotArgs(Objects.requireNonNull(defaults)); } /** @@ -136,7 +136,7 @@ public Builder shape(String shape) { * @return builder * */ - public Builder value(@Nullable Output value) { + public Builder value(@Nullable Output value) { $.value = value; return this; } @@ -147,13 +147,13 @@ public Builder value(@Nullable Output value; + + /** + * @return SSML text that defines the prompt. + * + */ + public Output value() { + return this.value; + } + + private V2modelsIntentInitialResponseSettingSsmlMessageArgs() {} + + private V2modelsIntentInitialResponseSettingSsmlMessageArgs(V2modelsIntentInitialResponseSettingSsmlMessageArgs $) { + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(V2modelsIntentInitialResponseSettingSsmlMessageArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private V2modelsIntentInitialResponseSettingSsmlMessageArgs $; + + public Builder() { + $ = new V2modelsIntentInitialResponseSettingSsmlMessageArgs(); + } + + public Builder(V2modelsIntentInitialResponseSettingSsmlMessageArgs defaults) { + $ = new V2modelsIntentInitialResponseSettingSsmlMessageArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param value SSML text that defines the prompt. + * + * @return builder + * + */ + public Builder value(Output value) { + $.value = value; + return this; + } + + /** + * @param value SSML text that defines the prompt. + * + * @return builder + * + */ + public Builder value(String value) { + return value(Output.of(value)); + } + + public V2modelsIntentInitialResponseSettingSsmlMessageArgs build() { + if ($.value == null) { + throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingSsmlMessageArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingValueArgs.java similarity index 59% rename from sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingValueArgs.java index 86b4ef7bd70..515e858ddea 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingValueArgs.java @@ -11,9 +11,9 @@ import javax.annotation.Nullable; -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs extends com.pulumi.resources.ResourceArgs { +public final class V2modelsIntentInitialResponseSettingValueArgs extends com.pulumi.resources.ResourceArgs { - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs(); + public static final V2modelsIntentInitialResponseSettingValueArgs Empty = new V2modelsIntentInitialResponseSettingValueArgs(); /** * Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. @@ -30,28 +30,28 @@ public Optional> interpretedValue() { return Optional.ofNullable(this.interpretedValue); } - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs() {} + private V2modelsIntentInitialResponseSettingValueArgs() {} - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs $) { + private V2modelsIntentInitialResponseSettingValueArgs(V2modelsIntentInitialResponseSettingValueArgs $) { this.interpretedValue = $.interpretedValue; } public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs defaults) { + public static Builder builder(V2modelsIntentInitialResponseSettingValueArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs $; + private V2modelsIntentInitialResponseSettingValueArgs $; public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs(); + $ = new V2modelsIntentInitialResponseSettingValueArgs(); } - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentInitialResponseSettingValueArgs defaults) { + $ = new V2modelsIntentInitialResponseSettingValueArgs(Objects.requireNonNull(defaults)); } /** @@ -75,7 +75,7 @@ public Builder interpretedValue(String interpretedValue) { return interpretedValue(Output.of(interpretedValue)); } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValueArgs build() { + public V2modelsIntentInitialResponseSettingValueArgs build() { return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingVariationArgs.java similarity index 55% rename from sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingVariationArgs.java index afbd3332f0f..84032ed8882 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsIntentInitialResponseSettingVariationArgs.java @@ -3,10 +3,10 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessageArgs; -import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessageArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCustomPayloadArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingImageResponseCardArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingPlainTextMessageArgs; +import com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingSsmlMessageArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.util.Objects; @@ -14,22 +14,22 @@ import javax.annotation.Nullable; -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs extends com.pulumi.resources.ResourceArgs { +public final class V2modelsIntentInitialResponseSettingVariationArgs extends com.pulumi.resources.ResourceArgs { - public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs(); + public static final V2modelsIntentInitialResponseSettingVariationArgs Empty = new V2modelsIntentInitialResponseSettingVariationArgs(); /** * Configuration block for a message in a custom format defined by the client application. See `custom_payload`. * */ @Import(name="customPayload") - private @Nullable Output customPayload; + private @Nullable Output customPayload; /** * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. * */ - public Optional> customPayload() { + public Optional> customPayload() { return Optional.ofNullable(this.customPayload); } @@ -38,13 +38,13 @@ public Optional imageResponseCard; + private @Nullable Output imageResponseCard; /** * @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() { + public Optional> imageResponseCard() { return Optional.ofNullable(this.imageResponseCard); } @@ -53,13 +53,13 @@ public Optional plainTextMessage; + private @Nullable Output plainTextMessage; /** * @return Configuration block for a message in plain text format. See `plain_text_message`. * */ - public Optional> plainTextMessage() { + public Optional> plainTextMessage() { return Optional.ofNullable(this.plainTextMessage); } @@ -68,19 +68,19 @@ public Optional ssmlMessage; + private @Nullable Output ssmlMessage; /** * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. * */ - public Optional> ssmlMessage() { + public Optional> ssmlMessage() { return Optional.ofNullable(this.ssmlMessage); } - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs() {} + private V2modelsIntentInitialResponseSettingVariationArgs() {} - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs $) { + private V2modelsIntentInitialResponseSettingVariationArgs(V2modelsIntentInitialResponseSettingVariationArgs $) { this.customPayload = $.customPayload; this.imageResponseCard = $.imageResponseCard; this.plainTextMessage = $.plainTextMessage; @@ -90,19 +90,19 @@ private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFai public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs defaults) { + public static Builder builder(V2modelsIntentInitialResponseSettingVariationArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs $; + private V2modelsIntentInitialResponseSettingVariationArgs $; public Builder() { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs(); + $ = new V2modelsIntentInitialResponseSettingVariationArgs(); } - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs defaults) { - $ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsIntentInitialResponseSettingVariationArgs defaults) { + $ = new V2modelsIntentInitialResponseSettingVariationArgs(Objects.requireNonNull(defaults)); } /** @@ -111,7 +111,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica * @return builder * */ - public Builder customPayload(@Nullable Output customPayload) { + public Builder customPayload(@Nullable Output customPayload) { $.customPayload = customPayload; return this; } @@ -122,7 +122,7 @@ public Builder customPayload(@Nullable Output imageResponseCard) { + public Builder imageResponseCard(@Nullable Output imageResponseCard) { $.imageResponseCard = imageResponseCard; return this; } @@ -143,7 +143,7 @@ public Builder imageResponseCard(@Nullable Output plainTextMessage) { + public Builder plainTextMessage(@Nullable Output plainTextMessage) { $.plainTextMessage = plainTextMessage; return this; } @@ -164,7 +164,7 @@ public Builder plainTextMessage(@Nullable Output ssmlMessage) { + public Builder ssmlMessage(@Nullable Output ssmlMessage) { $.ssmlMessage = ssmlMessage; return this; } @@ -185,11 +185,11 @@ public Builder ssmlMessage(@Nullable Output endTimeoutMs; + + public Output endTimeoutMs() { + return this.endTimeoutMs; + } + + @Import(name="maxLengthMs", required=true) + private Output maxLengthMs; + + public Output maxLengthMs() { + return this.maxLengthMs; + } + + private V2modelsSlotValueElicitationSettingAudioSpecificationArgs() {} + + private V2modelsSlotValueElicitationSettingAudioSpecificationArgs(V2modelsSlotValueElicitationSettingAudioSpecificationArgs $) { + this.endTimeoutMs = $.endTimeoutMs; + this.maxLengthMs = $.maxLengthMs; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(V2modelsSlotValueElicitationSettingAudioSpecificationArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private V2modelsSlotValueElicitationSettingAudioSpecificationArgs $; + + public Builder() { + $ = new V2modelsSlotValueElicitationSettingAudioSpecificationArgs(); + } + + public Builder(V2modelsSlotValueElicitationSettingAudioSpecificationArgs defaults) { + $ = new V2modelsSlotValueElicitationSettingAudioSpecificationArgs(Objects.requireNonNull(defaults)); + } + + public Builder endTimeoutMs(Output endTimeoutMs) { + $.endTimeoutMs = endTimeoutMs; + return this; + } + + public Builder endTimeoutMs(Integer endTimeoutMs) { + return endTimeoutMs(Output.of(endTimeoutMs)); + } + + public Builder maxLengthMs(Output maxLengthMs) { + $.maxLengthMs = maxLengthMs; + return this; + } + + public Builder maxLengthMs(Integer maxLengthMs) { + return maxLengthMs(Output.of(maxLengthMs)); + } + + public V2modelsSlotValueElicitationSettingAudioSpecificationArgs build() { + if ($.endTimeoutMs == null) { + throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingAudioSpecificationArgs", "endTimeoutMs"); + } + if ($.maxLengthMs == null) { + throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingAudioSpecificationArgs", "maxLengthMs"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingButtonArgs.java new file mode 100644 index 00000000000..fe84c94ee18 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingButtonArgs.java @@ -0,0 +1,85 @@ +// *** 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 V2modelsSlotValueElicitationSettingButtonArgs extends com.pulumi.resources.ResourceArgs { + + public static final V2modelsSlotValueElicitationSettingButtonArgs Empty = new V2modelsSlotValueElicitationSettingButtonArgs(); + + @Import(name="text", required=true) + private Output text; + + public Output text() { + return this.text; + } + + @Import(name="value", required=true) + private Output value; + + public Output value() { + return this.value; + } + + private V2modelsSlotValueElicitationSettingButtonArgs() {} + + private V2modelsSlotValueElicitationSettingButtonArgs(V2modelsSlotValueElicitationSettingButtonArgs $) { + this.text = $.text; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(V2modelsSlotValueElicitationSettingButtonArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private V2modelsSlotValueElicitationSettingButtonArgs $; + + public Builder() { + $ = new V2modelsSlotValueElicitationSettingButtonArgs(); + } + + public Builder(V2modelsSlotValueElicitationSettingButtonArgs defaults) { + $ = new V2modelsSlotValueElicitationSettingButtonArgs(Objects.requireNonNull(defaults)); + } + + public Builder text(Output text) { + $.text = text; + return this; + } + + public Builder text(String text) { + return text(Output.of(text)); + } + + public Builder value(Output value) { + $.value = value; + return this; + } + + public Builder value(String value) { + return value(Output.of(value)); + } + + public V2modelsSlotValueElicitationSettingButtonArgs build() { + if ($.text == null) { + throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingButtonArgs", "text"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingButtonArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingDtmfSpecificationArgs.java similarity index 56% rename from sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingDtmfSpecificationArgs.java index c935345097f..95a86829496 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingDtmfSpecificationArgs.java @@ -11,9 +11,9 @@ import java.util.Objects; -public final class V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs extends com.pulumi.resources.ResourceArgs { +public final class V2modelsSlotValueElicitationSettingDtmfSpecificationArgs extends com.pulumi.resources.ResourceArgs { - public static final V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs Empty = new V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs(); + public static final V2modelsSlotValueElicitationSettingDtmfSpecificationArgs Empty = new V2modelsSlotValueElicitationSettingDtmfSpecificationArgs(); @Import(name="deletionCharacter", required=true) private Output deletionCharacter; @@ -43,9 +43,9 @@ public Output maxLength() { return this.maxLength; } - private V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs() {} + private V2modelsSlotValueElicitationSettingDtmfSpecificationArgs() {} - private V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs $) { + private V2modelsSlotValueElicitationSettingDtmfSpecificationArgs(V2modelsSlotValueElicitationSettingDtmfSpecificationArgs $) { this.deletionCharacter = $.deletionCharacter; this.endCharacter = $.endCharacter; this.endTimeoutMs = $.endTimeoutMs; @@ -55,19 +55,19 @@ private V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpec public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs defaults) { + public static Builder builder(V2modelsSlotValueElicitationSettingDtmfSpecificationArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs $; + private V2modelsSlotValueElicitationSettingDtmfSpecificationArgs $; public Builder() { - $ = new V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs(); + $ = new V2modelsSlotValueElicitationSettingDtmfSpecificationArgs(); } - public Builder(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs defaults) { - $ = new V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsSlotValueElicitationSettingDtmfSpecificationArgs defaults) { + $ = new V2modelsSlotValueElicitationSettingDtmfSpecificationArgs(Objects.requireNonNull(defaults)); } public Builder deletionCharacter(Output deletionCharacter) { @@ -106,18 +106,18 @@ public Builder maxLength(Integer maxLength) { return maxLength(Output.of(maxLength)); } - public V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs build() { + public V2modelsSlotValueElicitationSettingDtmfSpecificationArgs build() { if ($.deletionCharacter == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs", "deletionCharacter"); + throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingDtmfSpecificationArgs", "deletionCharacter"); } if ($.endCharacter == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs", "endCharacter"); + throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingDtmfSpecificationArgs", "endCharacter"); } if ($.endTimeoutMs == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs", "endTimeoutMs"); + throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingDtmfSpecificationArgs", "endTimeoutMs"); } if ($.maxLength == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs", "maxLength"); + throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingDtmfSpecificationArgs", "maxLength"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingImageResponseCardArgs.java similarity index 52% rename from sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingImageResponseCardArgs.java index 151665f8662..b4cfd56b9fc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -14,14 +14,14 @@ import javax.annotation.Nullable; -public final class V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { +public final class V2modelsSlotValueElicitationSettingImageResponseCardArgs extends com.pulumi.resources.ResourceArgs { - public static final V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardArgs(); + public static final V2modelsSlotValueElicitationSettingImageResponseCardArgs Empty = new V2modelsSlotValueElicitationSettingImageResponseCardArgs(); @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -46,9 +46,9 @@ public Output title() { return this.title; } - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardArgs() {} + private V2modelsSlotValueElicitationSettingImageResponseCardArgs() {} - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardArgs(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardArgs $) { + private V2modelsSlotValueElicitationSettingImageResponseCardArgs(V2modelsSlotValueElicitationSettingImageResponseCardArgs $) { this.buttons = $.buttons; this.imageUrl = $.imageUrl; this.subtitle = $.subtitle; @@ -58,31 +58,31 @@ private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWait public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardArgs defaults) { + public static Builder builder(V2modelsSlotValueElicitationSettingImageResponseCardArgs defaults) { return new Builder(defaults); } public static final class Builder { - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardArgs $; + private V2modelsSlotValueElicitationSettingImageResponseCardArgs $; public Builder() { - $ = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardArgs(); + $ = new V2modelsSlotValueElicitationSettingImageResponseCardArgs(); } - public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardArgs defaults) { - $ = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); + public Builder(V2modelsSlotValueElicitationSettingImageResponseCardArgs defaults) { + $ = new V2modelsSlotValueElicitationSettingImageResponseCardArgs(Objects.requireNonNull(defaults)); } - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } - public Builder buttons(List buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } - public Builder buttons(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { + public Builder buttons(V2modelsSlotValueElicitationSettingButtonArgs... buttons) { return buttons(List.of(buttons)); } @@ -113,9 +113,9 @@ public Builder title(String title) { return title(Output.of(title)); } - public V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardArgs build() { + public V2modelsSlotValueElicitationSettingImageResponseCardArgs build() { if ($.title == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardArgs", "title"); + throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingImageResponseCardArgs", "title"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs.java index 61e8ad17e41..692528d0610 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs; -import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs; +import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingAudioSpecificationArgs; +import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingDtmfSpecificationArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -19,16 +19,16 @@ public final class V2modelsSlotValueElicitationSettingPromptSpecificationPromptA public static final V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs Empty = new V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs(); @Import(name="audioSpecification") - private @Nullable Output audioSpecification; + private @Nullable Output audioSpecification; - public Optional> audioSpecification() { + public Optional> audioSpecification() { return Optional.ofNullable(this.audioSpecification); } @Import(name="dtmfSpecification") - private @Nullable Output dtmfSpecification; + private @Nullable Output dtmfSpecification; - public Optional> dtmfSpecification() { + public Optional> dtmfSpecification() { return Optional.ofNullable(this.dtmfSpecification); } @@ -65,21 +65,21 @@ public Builder(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttem $ = new V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationArgs(Objects.requireNonNull(defaults)); } - public Builder audioSpecification(@Nullable Output audioSpecification) { + public Builder audioSpecification(@Nullable Output audioSpecification) { $.audioSpecification = audioSpecification; return this; } - public Builder audioSpecification(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs audioSpecification) { + public Builder audioSpecification(V2modelsSlotValueElicitationSettingAudioSpecificationArgs audioSpecification) { return audioSpecification(Output.of(audioSpecification)); } - public Builder dtmfSpecification(@Nullable Output dtmfSpecification) { + public Builder dtmfSpecification(@Nullable Output dtmfSpecification) { $.dtmfSpecification = dtmfSpecification; return this; } - public Builder dtmfSpecification(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecificationArgs dtmfSpecification) { + public Builder dtmfSpecification(V2modelsSlotValueElicitationSettingDtmfSpecificationArgs dtmfSpecification) { return dtmfSpecification(Output.of(dtmfSpecification)); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs.java deleted file mode 100644 index 24f380809fc..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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.Integer; -import java.util.Objects; - - -public final class V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs Empty = new V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs(); - - @Import(name="endTimeoutMs", required=true) - private Output endTimeoutMs; - - public Output endTimeoutMs() { - return this.endTimeoutMs; - } - - @Import(name="maxLengthMs", required=true) - private Output maxLengthMs; - - public Output maxLengthMs() { - return this.maxLengthMs; - } - - private V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs() {} - - private V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs $) { - this.endTimeoutMs = $.endTimeoutMs; - this.maxLengthMs = $.maxLengthMs; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs $; - - public Builder() { - $ = new V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs(); - } - - public Builder(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs defaults) { - $ = new V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs(Objects.requireNonNull(defaults)); - } - - public Builder endTimeoutMs(Output endTimeoutMs) { - $.endTimeoutMs = endTimeoutMs; - return this; - } - - public Builder endTimeoutMs(Integer endTimeoutMs) { - return endTimeoutMs(Output.of(endTimeoutMs)); - } - - public Builder maxLengthMs(Output maxLengthMs) { - $.maxLengthMs = maxLengthMs; - return this; - } - - public Builder maxLengthMs(Integer maxLengthMs) { - return maxLengthMs(Output.of(maxLengthMs)); - } - - public V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs build() { - if ($.endTimeoutMs == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs", "endTimeoutMs"); - } - if ($.maxLengthMs == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecificationArgs", "maxLengthMs"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardArgs.java index 4ba692bda3e..146c925a635 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -19,9 +19,9 @@ public final class V2modelsSlotValueElicitationSettingWaitAndContinueSpecificati public static final V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardArgs(); @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -73,16 +73,16 @@ public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationCo $ = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); } - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } - public Builder buttons(List buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } - public Builder buttons(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) { + public Builder buttons(V2modelsSlotValueElicitationSettingButtonArgs... buttons) { return buttons(List.of(buttons)); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index 0aee7dc9477..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs(); - - @Import(name="text", required=true) - private Output text; - - public Output text() { - return this.text; - } - - @Import(name="value", required=true) - private Output value; - - public Output value() { - return this.value; - } - - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs(Objects.requireNonNull(defaults)); - } - - public Builder text(Output text) { - $.text = text; - return this; - } - - public Builder text(String text) { - return text(Output.of(text)); - } - - public Builder value(Output value) { - $.value = value; - return this; - } - - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardArgs.java index c129fe48df7..23d82616014 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -19,9 +19,9 @@ public final class V2modelsSlotValueElicitationSettingWaitAndContinueSpecificati public static final V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardArgs(); @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -73,16 +73,16 @@ public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationCo $ = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); } - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } - public Builder buttons(List buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } - public Builder buttons(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { + public Builder buttons(V2modelsSlotValueElicitationSettingButtonArgs... buttons) { return buttons(List.of(buttons)); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index 0d0aacd7a15..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs(); - - @Import(name="text", required=true) - private Output text; - - public Output text() { - return this.text; - } - - @Import(name="value", required=true) - private Output value; - - public Output value() { - return this.value; - } - - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs(Objects.requireNonNull(defaults)); - } - - public Builder text(Output text) { - $.text = text; - return this; - } - - public Builder text(String text) { - return text(Output.of(text)); - } - - public Builder value(Output value) { - $.value = value; - return this; - } - - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardArgs.java index 5be3a467c35..3a40292cc16 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -19,9 +19,9 @@ public final class V2modelsSlotValueElicitationSettingWaitAndContinueSpecificati public static final V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardArgs Empty = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardArgs(); @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -73,16 +73,16 @@ public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationSt $ = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardArgs(Objects.requireNonNull(defaults)); } - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } - public Builder buttons(List buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } - public Builder buttons(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs... buttons) { + public Builder buttons(V2modelsSlotValueElicitationSettingButtonArgs... buttons) { return buttons(List.of(buttons)); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs.java deleted file mode 100644 index 0c0916f8973..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs Empty = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs(); - - @Import(name="text", required=true) - private Output text; - - public Output text() { - return this.text; - } - - @Import(name="value", required=true) - private Output value; - - public Output value() { - return this.value; - } - - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs() {} - - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs(); - } - - public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs defaults) { - $ = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs(Objects.requireNonNull(defaults)); - } - - public Builder text(Output text) { - $.text = text; - return this; - } - - public Builder text(String text) { - return text(Output.of(text)); - } - - public Builder value(Output value) { - $.value = value; - return this; - } - - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationArgs.java index b7aa214333c..74f233c40d5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.inputs; +import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingImageResponseCardArgs; import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationCustomPayloadArgs; -import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardArgs; import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationPlainTextMessageArgs; import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationSsmlMessageArgs; import com.pulumi.core.Output; @@ -27,9 +27,9 @@ public Optional imageResponseCard; + private @Nullable Output imageResponseCard; - public Optional> imageResponseCard() { + public Optional> imageResponseCard() { return Optional.ofNullable(this.imageResponseCard); } @@ -87,12 +87,12 @@ public Builder customPayloads(V2modelsSlotValueElicitationSettingWaitAndContinue return customPayloads(List.of(customPayloads)); } - public Builder imageResponseCard(@Nullable Output imageResponseCard) { + public Builder imageResponseCard(@Nullable Output imageResponseCard) { $.imageResponseCard = imageResponseCard; return this; } - public Builder imageResponseCard(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardArgs imageResponseCard) { + public Builder imageResponseCard(V2modelsSlotValueElicitationSettingImageResponseCardArgs imageResponseCard) { return imageResponseCard(Output.of(imageResponseCard)); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index 675e2a4c231..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs(); - - @Import(name="text", required=true) - private Output text; - - public Output text() { - return this.text; - } - - @Import(name="value", required=true) - private Output value; - - public Output value() { - return this.value; - } - - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs(Objects.requireNonNull(defaults)); - } - - public Builder text(Output text) { - $.text = text; - return this; - } - - public Builder text(String text) { - return text(Output.of(text)); - } - - public Builder value(Output value) { - $.value = value; - return this; - } - - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardArgs.java index 813695e201e..75d1c8c534b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.inputs; -import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs; +import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingButtonArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -19,9 +19,9 @@ public final class V2modelsSlotValueElicitationSettingWaitAndContinueSpecificati public static final V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardArgs Empty = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardArgs(); @Import(name="buttons") - private @Nullable Output> buttons; + private @Nullable Output> buttons; - public Optional>> buttons() { + public Optional>> buttons() { return Optional.ofNullable(this.buttons); } @@ -73,16 +73,16 @@ public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWa $ = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardArgs(Objects.requireNonNull(defaults)); } - public Builder buttons(@Nullable Output> buttons) { + public Builder buttons(@Nullable Output> buttons) { $.buttons = buttons; return this; } - public Builder buttons(List buttons) { + public Builder buttons(List buttons) { return buttons(Output.of(buttons)); } - public Builder buttons(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs... buttons) { + public Builder buttons(V2modelsSlotValueElicitationSettingButtonArgs... buttons) { return buttons(List.of(buttons)); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs.java deleted file mode 100644 index 7e96c0512c8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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 V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs extends com.pulumi.resources.ResourceArgs { - - public static final V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs Empty = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs(); - - @Import(name="text", required=true) - private Output text; - - public Output text() { - return this.text; - } - - @Import(name="value", required=true) - private Output value; - - public Output value() { - return this.value; - } - - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs() {} - - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs $) { - this.text = $.text; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs $; - - public Builder() { - $ = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs(); - } - - public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs defaults) { - $ = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs(Objects.requireNonNull(defaults)); - } - - public Builder text(Output text) { - $.text = text; - return this; - } - - public Builder text(String text) { - return text(Output.of(text)); - } - - public Builder value(Output value) { - $.value = value; - return this; - } - - public Builder value(String value) { - return value(Output.of(value)); - } - - public V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs", "text"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButtonArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingAudioSpecification.java similarity index 68% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingAudioSpecification.java index 61662dab14f..744ca6925ec 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingAudioSpecification.java @@ -9,7 +9,7 @@ import java.util.Objects; @CustomType -public final class V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification { +public final class V2modelsIntentConfirmationSettingAudioSpecification { /** * @return Time for which a bot waits after the customer stops speaking to assume the utterance is finished. * @@ -21,7 +21,7 @@ public final class V2modelsIntentConfirmationSettingPromptSpecificationPromptAtt */ private Integer maxLengthMs; - private V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification() {} + private V2modelsIntentConfirmationSettingAudioSpecification() {} /** * @return Time for which a bot waits after the customer stops speaking to assume the utterance is finished. * @@ -41,7 +41,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingAudioSpecification defaults) { return new Builder(defaults); } @CustomType.Builder @@ -49,7 +49,7 @@ public static final class Builder { private Integer endTimeoutMs; private Integer maxLengthMs; public Builder() {} - public Builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification defaults) { + public Builder(V2modelsIntentConfirmationSettingAudioSpecification defaults) { Objects.requireNonNull(defaults); this.endTimeoutMs = defaults.endTimeoutMs; this.maxLengthMs = defaults.maxLengthMs; @@ -58,7 +58,7 @@ public Builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttempt @CustomType.Setter public Builder endTimeoutMs(Integer endTimeoutMs) { if (endTimeoutMs == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification", "endTimeoutMs"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingAudioSpecification", "endTimeoutMs"); } this.endTimeoutMs = endTimeoutMs; return this; @@ -66,13 +66,13 @@ public Builder endTimeoutMs(Integer endTimeoutMs) { @CustomType.Setter public Builder maxLengthMs(Integer maxLengthMs) { if (maxLengthMs == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification", "maxLengthMs"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingAudioSpecification", "maxLengthMs"); } this.maxLengthMs = maxLengthMs; return this; } - public V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification build() { - final var _resultValue = new V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification(); + public V2modelsIntentConfirmationSettingAudioSpecification build() { + final var _resultValue = new V2modelsIntentConfirmationSettingAudioSpecification(); _resultValue.endTimeoutMs = endTimeoutMs; _resultValue.maxLengthMs = maxLengthMs; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingButton.java similarity index 68% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingButton.java index 14cf4c0d1b5..67a7a6db69f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingButton.java @@ -9,7 +9,7 @@ import java.util.Objects; @CustomType -public final class V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton { +public final class V2modelsIntentConfirmationSettingButton { /** * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. * @@ -21,7 +21,7 @@ public final class V2modelsIntentConfirmationSettingConfirmationConditionalDefau */ private String value; - private V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton() {} + private V2modelsIntentConfirmationSettingButton() {} /** * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. * @@ -41,7 +41,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingButton defaults) { return new Builder(defaults); } @CustomType.Builder @@ -49,7 +49,7 @@ public static final class Builder { private String text; private String value; public Builder() {} - public Builder(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { + public Builder(V2modelsIntentConfirmationSettingButton defaults) { Objects.requireNonNull(defaults); this.text = defaults.text; this.value = defaults.value; @@ -58,7 +58,7 @@ public Builder(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBr @CustomType.Setter public Builder text(String text) { if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "text"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingButton", "text"); } this.text = text; return this; @@ -66,13 +66,13 @@ public Builder text(String text) { @CustomType.Setter public Builder value(String value) { if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "value"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingButton", "value"); } this.value = value; return this; } - public V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton(); + public V2modelsIntentConfirmationSettingButton build() { + final var _resultValue = new V2modelsIntentConfirmationSettingButton(); _resultValue.text = text; _resultValue.value = value; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStep.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStep.java index b9ebdcfd83b..248983699d4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStep.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStep.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction; import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntent; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingDialogAction; import com.pulumi.core.annotations.CustomType; import java.lang.String; import java.util.Map; @@ -18,7 +18,7 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction dialogAction; + private @Nullable V2modelsIntentConfirmationSettingDialogAction dialogAction; /** * @return Configuration block for override settings to configure the intent state. See `intent`. * @@ -35,7 +35,7 @@ private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailur * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - public Optional dialogAction() { + public Optional dialogAction() { return Optional.ofNullable(this.dialogAction); } /** @@ -62,7 +62,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeH } @CustomType.Builder public static final class Builder { - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction dialogAction; + private @Nullable V2modelsIntentConfirmationSettingDialogAction dialogAction; private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntent intent; private @Nullable Map sessionAttributes; public Builder() {} @@ -74,7 +74,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio } @CustomType.Setter - public Builder dialogAction(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction dialogAction) { + public Builder dialogAction(@Nullable V2modelsIntentConfirmationSettingDialogAction dialogAction) { this.dialogAction = dialogAction; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction.java deleted file mode 100644 index f38fd104462..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction.java +++ /dev/null @@ -1,103 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Boolean; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction { - /** - * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - */ - private @Nullable String slotToElicit; - /** - * @return Whether the next message for the intent is _not_ used. - * - */ - private @Nullable Boolean suppressNextMessage; - /** - * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - private String type; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction() {} - /** - * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - */ - public Optional slotToElicit() { - return Optional.ofNullable(this.slotToElicit); - } - /** - * @return Whether the next message for the intent is _not_ used. - * - */ - public Optional suppressNextMessage() { - return Optional.ofNullable(this.suppressNextMessage); - } - /** - * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String slotToElicit; - private @Nullable Boolean suppressNextMessage; - private String type; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction defaults) { - Objects.requireNonNull(defaults); - this.slotToElicit = defaults.slotToElicit; - this.suppressNextMessage = defaults.suppressNextMessage; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder slotToElicit(@Nullable String slotToElicit) { - - this.slotToElicit = slotToElicit; - return this; - } - @CustomType.Setter - public Builder suppressNextMessage(@Nullable Boolean suppressNextMessage) { - - this.suppressNextMessage = suppressNextMessage; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction", "type"); - } - this.type = type; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction(); - _resultValue.slotToElicit = slotToElicit; - _resultValue.suppressNextMessage = suppressNextMessage; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot.java index 4eb91acf51e..d815233af50 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingValue; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -27,7 +27,7 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * @return Configuration block for the current value of the slot. See `value`. * */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentConfirmationSettingValue value; private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot() {} /** @@ -48,7 +48,7 @@ public Optional shape() { * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional value() { + public Optional value() { return Optional.ofNullable(this.value); } @@ -63,7 +63,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeH public static final class Builder { private String mapBlockKey; private @Nullable String shape; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentConfirmationSettingValue value; public Builder() {} public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot defaults) { Objects.requireNonNull(defaults); @@ -87,7 +87,7 @@ public Builder shape(@Nullable String shape) { return this; } @CustomType.Setter - public Builder value(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue value) { + public Builder value(@Nullable V2modelsIntentConfirmationSettingValue value) { this.value = value; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue.java deleted file mode 100644 index 94071b45912..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue.java +++ /dev/null @@ -1,57 +0,0 @@ -// *** 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.core.annotations.CustomType; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue { - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - private @Nullable String interpretedValue; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue() {} - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String interpretedValue; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue defaults) { - Objects.requireNonNull(defaults); - this.interpretedValue = defaults.interpretedValue; - } - - @CustomType.Setter - public Builder interpretedValue(@Nullable String interpretedValue) { - - this.interpretedValue = interpretedValue; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue(); - _resultValue.interpretedValue = interpretedValue; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse.java index 74a040eea6a..1aab21e5baf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingMessageGroup; import com.pulumi.core.annotations.CustomType; import java.lang.Boolean; import java.util.List; @@ -22,7 +22,7 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - private @Nullable List messageGroups; + private @Nullable List messageGroups; private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse() {} /** @@ -36,7 +36,7 @@ public Optional allowInterrupt() { * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - public List messageGroups() { + public List messageGroups() { return this.messageGroups == null ? List.of() : this.messageGroups; } @@ -50,7 +50,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeH @CustomType.Builder public static final class Builder { private @Nullable Boolean allowInterrupt; - private @Nullable List messageGroups; + private @Nullable List messageGroups; public Builder() {} public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse defaults) { Objects.requireNonNull(defaults); @@ -65,12 +65,12 @@ public Builder allowInterrupt(@Nullable Boolean allowInterrupt) { return this; } @CustomType.Setter - public Builder messageGroups(@Nullable List messageGroups) { + public Builder messageGroups(@Nullable List messageGroups) { this.messageGroups = messageGroups; return this; } - public Builder messageGroups(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup... messageGroups) { + public Builder messageGroups(V2modelsIntentConfirmationSettingMessageGroup... messageGroups) { return messageGroups(List.of(messageGroups)); } public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup.java deleted file mode 100644 index 9147891bed8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.util.List; -import java.util.Objects; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup { - /** - * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - */ - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage message; - /** - * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - private @Nullable List variations; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup() {} - /** - * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - */ - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage message() { - return this.message; - } - /** - * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - public List variations() { - return this.variations == null ? List.of() : this.variations; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage message; - private @Nullable List variations; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup defaults) { - Objects.requireNonNull(defaults); - this.message = defaults.message; - this.variations = defaults.variations; - } - - @CustomType.Setter - public Builder message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage message) { - if (message == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup", "message"); - } - this.message = message; - return this; - } - @CustomType.Setter - public Builder variations(@Nullable List variations) { - - this.variations = variations; - return this; - } - public Builder variations(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation... variations) { - return variations(List.of(variations)); - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup(); - _resultValue.message = message; - _resultValue.variations = variations; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage.java deleted file mode 100644 index 448d9c44e6f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage() {} - /** - * @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(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload customPayload; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java deleted file mode 100644 index ba6c62c7d71..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java deleted file mode 100644 index 261234faa3d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 9c6e3dea9fe..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java deleted file mode 100644 index bea255f8691..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java deleted file mode 100644 index b4c365fa2a8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation.java deleted file mode 100644 index 24cb5734f92..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation() {} - /** - * @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(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java deleted file mode 100644 index 5fd3ccbc9d9..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index 1837c936c86..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 1f756d507a6..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index 5687e613a1d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java deleted file mode 100644 index 5c3a78066df..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup.java index 0f338b5c083..59ddd898dfa 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingVariation; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; @@ -17,26 +17,26 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage message; + private V2modelsIntentConfirmationSettingMessage message; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - private @Nullable List variations; + private @Nullable List variations; private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup() {} /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage message() { + public V2modelsIntentConfirmationSettingMessage message() { return this.message; } /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public List variations() { + public List variations() { return this.variations == null ? List.of() : this.variations; } @@ -49,8 +49,8 @@ public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeH } @CustomType.Builder public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage message; - private @Nullable List variations; + private V2modelsIntentConfirmationSettingMessage message; + private @Nullable List variations; public Builder() {} public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup defaults) { Objects.requireNonNull(defaults); @@ -59,7 +59,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio } @CustomType.Setter - public Builder message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage message) { + public Builder message(V2modelsIntentConfirmationSettingMessage message) { if (message == null) { throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup", "message"); } @@ -67,12 +67,12 @@ public Builder message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpec return this; } @CustomType.Setter - public Builder variations(@Nullable List variations) { + public Builder variations(@Nullable List variations) { this.variations = variations; return this; } - public Builder variations(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation... variations) { + public Builder variations(V2modelsIntentConfirmationSettingVariation... variations) { return variations(List.of(variations)); } public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage.java deleted file mode 100644 index 9b009eaf53d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage() {} - /** - * @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(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java deleted file mode 100644 index ee566610c95..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java deleted file mode 100644 index de19e5ac54b..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 8eb01f3082b..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java deleted file mode 100644 index 7dea620d53b..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java deleted file mode 100644 index d0903b7a27e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation.java deleted file mode 100644 index ce96edda245..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation() {} - /** - * @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(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java deleted file mode 100644 index d259bed0dd7..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index 32889032c2a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 4721bda03da..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index 62457a66f0e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java deleted file mode 100644 index ef39470be53..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCard.java index 152d3aadd4f..c654371fdaa 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailur * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeH } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentConfirmationSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 275bce6d8f6..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard.java index 04020a1b244..67a77956059 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailur * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeH } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentConfirmationSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 8d78cb1b661..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStep.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStep.java index 838e7e7054f..cad0eecee0a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStep.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStep.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction; import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingDialogAction; import com.pulumi.core.annotations.CustomType; import java.lang.String; import java.util.Map; @@ -18,7 +18,7 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction dialogAction; + private @Nullable V2modelsIntentConfirmationSettingDialogAction dialogAction; /** * @return Configuration block for override settings to configure the intent state. See `intent`. * @@ -35,7 +35,7 @@ private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSucces * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - public Optional dialogAction() { + public Optional dialogAction() { return Optional.ofNullable(this.dialogAction); } /** @@ -62,7 +62,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeH } @CustomType.Builder public static final class Builder { - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction dialogAction; + private @Nullable V2modelsIntentConfirmationSettingDialogAction dialogAction; private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent intent; private @Nullable Map sessionAttributes; public Builder() {} @@ -74,7 +74,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio } @CustomType.Setter - public Builder dialogAction(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction dialogAction) { + public Builder dialogAction(@Nullable V2modelsIntentConfirmationSettingDialogAction dialogAction) { this.dialogAction = dialogAction; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction.java deleted file mode 100644 index a8b00160982..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction.java +++ /dev/null @@ -1,103 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Boolean; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction { - /** - * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - */ - private @Nullable String slotToElicit; - /** - * @return Whether the next message for the intent is _not_ used. - * - */ - private @Nullable Boolean suppressNextMessage; - /** - * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - private String type; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction() {} - /** - * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - */ - public Optional slotToElicit() { - return Optional.ofNullable(this.slotToElicit); - } - /** - * @return Whether the next message for the intent is _not_ used. - * - */ - public Optional suppressNextMessage() { - return Optional.ofNullable(this.suppressNextMessage); - } - /** - * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String slotToElicit; - private @Nullable Boolean suppressNextMessage; - private String type; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction defaults) { - Objects.requireNonNull(defaults); - this.slotToElicit = defaults.slotToElicit; - this.suppressNextMessage = defaults.suppressNextMessage; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder slotToElicit(@Nullable String slotToElicit) { - - this.slotToElicit = slotToElicit; - return this; - } - @CustomType.Setter - public Builder suppressNextMessage(@Nullable Boolean suppressNextMessage) { - - this.suppressNextMessage = suppressNextMessage; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction", "type"); - } - this.type = type; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction(); - _resultValue.slotToElicit = slotToElicit; - _resultValue.suppressNextMessage = suppressNextMessage; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot.java index 2a3a5f48e95..d0b09430cc8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingValue; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -27,7 +27,7 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * @return Configuration block for the current value of the slot. See `value`. * */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentConfirmationSettingValue value; private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot() {} /** @@ -48,7 +48,7 @@ public Optional shape() { * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional value() { + public Optional value() { return Optional.ofNullable(this.value); } @@ -63,7 +63,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeH public static final class Builder { private String mapBlockKey; private @Nullable String shape; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentConfirmationSettingValue value; public Builder() {} public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot defaults) { Objects.requireNonNull(defaults); @@ -87,7 +87,7 @@ public Builder shape(@Nullable String shape) { return this; } @CustomType.Setter - public Builder value(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue value) { + public Builder value(@Nullable V2modelsIntentConfirmationSettingValue value) { this.value = value; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue.java deleted file mode 100644 index ccebf6befc3..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue.java +++ /dev/null @@ -1,57 +0,0 @@ -// *** 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.core.annotations.CustomType; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue { - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - private @Nullable String interpretedValue; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue() {} - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String interpretedValue; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue defaults) { - Objects.requireNonNull(defaults); - this.interpretedValue = defaults.interpretedValue; - } - - @CustomType.Setter - public Builder interpretedValue(@Nullable String interpretedValue) { - - this.interpretedValue = interpretedValue; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue(); - _resultValue.interpretedValue = interpretedValue; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse.java index 56298ecba1b..eaf5c3784d4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingMessageGroup; import com.pulumi.core.annotations.CustomType; import java.lang.Boolean; import java.util.List; @@ -22,7 +22,7 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - private @Nullable List messageGroups; + private @Nullable List messageGroups; private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse() {} /** @@ -36,7 +36,7 @@ public Optional allowInterrupt() { * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - public List messageGroups() { + public List messageGroups() { return this.messageGroups == null ? List.of() : this.messageGroups; } @@ -50,7 +50,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeH @CustomType.Builder public static final class Builder { private @Nullable Boolean allowInterrupt; - private @Nullable List messageGroups; + private @Nullable List messageGroups; public Builder() {} public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse defaults) { Objects.requireNonNull(defaults); @@ -65,12 +65,12 @@ public Builder allowInterrupt(@Nullable Boolean allowInterrupt) { return this; } @CustomType.Setter - public Builder messageGroups(@Nullable List messageGroups) { + public Builder messageGroups(@Nullable List messageGroups) { this.messageGroups = messageGroups; return this; } - public Builder messageGroups(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup... messageGroups) { + public Builder messageGroups(V2modelsIntentConfirmationSettingMessageGroup... messageGroups) { return messageGroups(List.of(messageGroups)); } public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup.java deleted file mode 100644 index 38e683bb267..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.util.List; -import java.util.Objects; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup { - /** - * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - */ - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage message; - /** - * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - private @Nullable List variations; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup() {} - /** - * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - */ - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage message() { - return this.message; - } - /** - * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - public List variations() { - return this.variations == null ? List.of() : this.variations; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage message; - private @Nullable List variations; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup defaults) { - Objects.requireNonNull(defaults); - this.message = defaults.message; - this.variations = defaults.variations; - } - - @CustomType.Setter - public Builder message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage message) { - if (message == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup", "message"); - } - this.message = message; - return this; - } - @CustomType.Setter - public Builder variations(@Nullable List variations) { - - this.variations = variations; - return this; - } - public Builder variations(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation... variations) { - return variations(List.of(variations)); - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup(); - _resultValue.message = message; - _resultValue.variations = variations; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage.java deleted file mode 100644 index 299d86f3613..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage() {} - /** - * @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(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload customPayload; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java deleted file mode 100644 index 85e8cd48c01..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java deleted file mode 100644 index b693757223a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 280b2d38d9e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java deleted file mode 100644 index 96b7c073dc9..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java deleted file mode 100644 index 15a6711762f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation.java deleted file mode 100644 index d8292a521a1..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation() {} - /** - * @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(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java deleted file mode 100644 index cc073208157..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index 15afc452ec0..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 9443ee273fc..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index bc6d8d95fd8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java deleted file mode 100644 index 0210c8325c5..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup.java index 8240bed8c32..b1db39e8846 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingVariation; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; @@ -17,26 +17,26 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage message; + private V2modelsIntentConfirmationSettingMessage message; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - private @Nullable List variations; + private @Nullable List variations; private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup() {} /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage message() { + public V2modelsIntentConfirmationSettingMessage message() { return this.message; } /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public List variations() { + public List variations() { return this.variations == null ? List.of() : this.variations; } @@ -49,8 +49,8 @@ public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeH } @CustomType.Builder public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage message; - private @Nullable List variations; + private V2modelsIntentConfirmationSettingMessage message; + private @Nullable List variations; public Builder() {} public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup defaults) { Objects.requireNonNull(defaults); @@ -59,7 +59,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio } @CustomType.Setter - public Builder message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage message) { + public Builder message(V2modelsIntentConfirmationSettingMessage message) { if (message == null) { throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup", "message"); } @@ -67,12 +67,12 @@ public Builder message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpec return this; } @CustomType.Setter - public Builder variations(@Nullable List variations) { + public Builder variations(@Nullable List variations) { this.variations = variations; return this; } - public Builder variations(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation... variations) { + public Builder variations(V2modelsIntentConfirmationSettingVariation... variations) { return variations(List.of(variations)); } public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage.java deleted file mode 100644 index 0dd56dc0f69..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage() {} - /** - * @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(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java deleted file mode 100644 index 19424dc926b..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 307c181f65a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java deleted file mode 100644 index b0c2d958cdc..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation.java deleted file mode 100644 index b30ade583c4..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation() {} - /** - * @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(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java deleted file mode 100644 index 4208f6fff3d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index f5dedc4b85b..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index efd5ec839ab..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index 32f51b97052..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java deleted file mode 100644 index e90d0ab56f5..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCard.java index 878bfaa7f75..0a66fe5c4d1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSucces * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeH } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentConfirmationSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 01dd84b0d9f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard.java index 9285fe10932..3cd9651d674 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSucces * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeH } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentConfirmationSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index f0478663686..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStep.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStep.java index 88fdd7bd05d..e90129e0d95 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStep.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStep.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction; import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingDialogAction; import com.pulumi.core.annotations.CustomType; import java.lang.String; import java.util.Map; @@ -18,7 +18,7 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction dialogAction; + private @Nullable V2modelsIntentConfirmationSettingDialogAction dialogAction; /** * @return Configuration block for override settings to configure the intent state. See `intent`. * @@ -35,7 +35,7 @@ private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeou * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - public Optional dialogAction() { + public Optional dialogAction() { return Optional.ofNullable(this.dialogAction); } /** @@ -62,7 +62,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeH } @CustomType.Builder public static final class Builder { - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction dialogAction; + private @Nullable V2modelsIntentConfirmationSettingDialogAction dialogAction; private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent intent; private @Nullable Map sessionAttributes; public Builder() {} @@ -74,7 +74,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio } @CustomType.Setter - public Builder dialogAction(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction dialogAction) { + public Builder dialogAction(@Nullable V2modelsIntentConfirmationSettingDialogAction dialogAction) { this.dialogAction = dialogAction; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot.java index 1b7aac3265f..127fd19e129 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingValue; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -27,7 +27,7 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * @return Configuration block for the current value of the slot. See `value`. * */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentConfirmationSettingValue value; private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot() {} /** @@ -48,7 +48,7 @@ public Optional shape() { * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional value() { + public Optional value() { return Optional.ofNullable(this.value); } @@ -63,7 +63,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeH public static final class Builder { private String mapBlockKey; private @Nullable String shape; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentConfirmationSettingValue value; public Builder() {} public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot defaults) { Objects.requireNonNull(defaults); @@ -87,7 +87,7 @@ public Builder shape(@Nullable String shape) { return this; } @CustomType.Setter - public Builder value(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue value) { + public Builder value(@Nullable V2modelsIntentConfirmationSettingValue value) { this.value = value; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse.java index 586f41089a3..059c143cf7f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingMessageGroup; import com.pulumi.core.annotations.CustomType; import java.lang.Boolean; import java.util.List; @@ -22,7 +22,7 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - private @Nullable List messageGroups; + private @Nullable List messageGroups; private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse() {} /** @@ -36,7 +36,7 @@ public Optional allowInterrupt() { * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - public List messageGroups() { + public List messageGroups() { return this.messageGroups == null ? List.of() : this.messageGroups; } @@ -50,7 +50,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeH @CustomType.Builder public static final class Builder { private @Nullable Boolean allowInterrupt; - private @Nullable List messageGroups; + private @Nullable List messageGroups; public Builder() {} public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse defaults) { Objects.requireNonNull(defaults); @@ -65,12 +65,12 @@ public Builder allowInterrupt(@Nullable Boolean allowInterrupt) { return this; } @CustomType.Setter - public Builder messageGroups(@Nullable List messageGroups) { + public Builder messageGroups(@Nullable List messageGroups) { this.messageGroups = messageGroups; return this; } - public Builder messageGroups(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup... messageGroups) { + public Builder messageGroups(V2modelsIntentConfirmationSettingMessageGroup... messageGroups) { return messageGroups(List.of(messageGroups)); } public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage.java deleted file mode 100644 index f2d34c30128..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage() {} - /** - * @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(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload customPayload; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java deleted file mode 100644 index 9fe36f343e1..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java deleted file mode 100644 index 69b32132955..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 5603b129f14..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java deleted file mode 100644 index b6d060d009f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java deleted file mode 100644 index da26ab35d80..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation.java deleted file mode 100644 index 7d7b1437445..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation() {} - /** - * @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(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java deleted file mode 100644 index fe123290fa0..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index 0076ff0490e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 0633e6a1951..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index da8c722a077..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java deleted file mode 100644 index ca58e5e5bb2..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup.java index 8924c39deae..f341d58d259 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingVariation; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; @@ -17,26 +17,26 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage message; + private V2modelsIntentConfirmationSettingMessage message; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - private @Nullable List variations; + private @Nullable List variations; private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup() {} /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage message() { + public V2modelsIntentConfirmationSettingMessage message() { return this.message; } /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public List variations() { + public List variations() { return this.variations == null ? List.of() : this.variations; } @@ -49,8 +49,8 @@ public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeH } @CustomType.Builder public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage message; - private @Nullable List variations; + private V2modelsIntentConfirmationSettingMessage message; + private @Nullable List variations; public Builder() {} public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup defaults) { Objects.requireNonNull(defaults); @@ -59,7 +59,7 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio } @CustomType.Setter - public Builder message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage message) { + public Builder message(V2modelsIntentConfirmationSettingMessage message) { if (message == null) { throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup", "message"); } @@ -67,12 +67,12 @@ public Builder message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpec return this; } @CustomType.Setter - public Builder variations(@Nullable List variations) { + public Builder variations(@Nullable List variations) { this.variations = variations; return this; } - public Builder variations(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation... variations) { + public Builder variations(V2modelsIntentConfirmationSettingVariation... variations) { return variations(List.of(variations)); } public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage.java deleted file mode 100644 index d8b09fcb319..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage() {} - /** - * @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(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java deleted file mode 100644 index 13db33472c8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index aeded428e68..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java deleted file mode 100644 index d344296b74d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation.java deleted file mode 100644 index 65e1d1442b0..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation() {} - /** - * @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(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation 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 V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java deleted file mode 100644 index 178beaab6eb..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index d9f01e5e4fe..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 7c64d7afb93..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index 9b148190ff1..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java deleted file mode 100644 index fd01073de6a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCard.java index 1768231af5a..952f5ba3b49 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeou * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeH } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentConfirmationSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 6f177fe4355..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard.java index edc056589bc..ab1c7d15a40 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeou * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeH } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentConfirmationSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index a131f060c18..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java index 016645ec2bf..ceae4774c0a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentConfirmationSettingConfirmationConditionalCondi * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranc * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingConfirmationCondi } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentConfirmationSettingConfirmationConditionalCondition } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentConfirmationSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index b870c66777f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java index 12ed3a9bafa..b01ddc17880 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentConfirmationSettingConfirmationConditionalCondi * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranc * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingConfirmationCondi } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentConfirmationSettingConfirmationConditionalCondition } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentConfirmationSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index df274a676ae..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java index f70a22b6e13..9663702dd36 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentConfirmationSettingConfirmationConditionalDefau * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchRes * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingConfirmationCondi } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBr } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentConfirmationSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCustomPayload.java similarity index 57% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCustomPayload.java index 0daafc0f42a..21325c1c2ae 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCustomPayload.java @@ -9,14 +9,14 @@ import java.util.Objects; @CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload { +public final class V2modelsIntentConfirmationSettingCustomPayload { /** * @return String that is sent to your application. * */ private String value; - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload() {} + private V2modelsIntentConfirmationSettingCustomPayload() {} /** * @return String that is sent to your application. * @@ -29,14 +29,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingCustomPayload defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String value; public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload defaults) { + public Builder(V2modelsIntentConfirmationSettingCustomPayload defaults) { Objects.requireNonNull(defaults); this.value = defaults.value; } @@ -44,13 +44,13 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio @CustomType.Setter public Builder value(String value) { if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", "value"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCustomPayload", "value"); } this.value = value; return this; } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload(); + public V2modelsIntentConfirmationSettingCustomPayload build() { + final var _resultValue = new V2modelsIntentConfirmationSettingCustomPayload(); _resultValue.value = value; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java index 09ff3be573e..3213e359e5c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentConfirmationSettingDeclinationConditionalCondit * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranch * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingDeclinationCondit } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentConfirmationSettingDeclinationConditionalConditiona } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentConfirmationSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 8848c2e0232..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java index 7edcba8cc97..574f4e900b4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentConfirmationSettingDeclinationConditionalCondit * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranch * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentConfirmationSettingDeclinationCondit } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentConfirmationSettingDeclinationConditionalConditiona } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentConfirmationSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index c820fa4ec00..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentConfirmationSettingDeclinationConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDialogAction.java similarity index 78% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDialogAction.java index 0d229ee084d..4dc5eee1e15 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDialogAction.java @@ -12,7 +12,7 @@ import javax.annotation.Nullable; @CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction { +public final class V2modelsIntentConfirmationSettingDialogAction { /** * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. * @@ -29,7 +29,7 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific */ private String type; - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction() {} + private V2modelsIntentConfirmationSettingDialogAction() {} /** * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. * @@ -56,7 +56,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingDialogAction defaults) { return new Builder(defaults); } @CustomType.Builder @@ -65,7 +65,7 @@ public static final class Builder { private @Nullable Boolean suppressNextMessage; private String type; public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction defaults) { + public Builder(V2modelsIntentConfirmationSettingDialogAction defaults) { Objects.requireNonNull(defaults); this.slotToElicit = defaults.slotToElicit; this.suppressNextMessage = defaults.suppressNextMessage; @@ -87,13 +87,13 @@ public Builder suppressNextMessage(@Nullable Boolean suppressNextMessage) { @CustomType.Setter public Builder type(String type) { if (type == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction", "type"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingDialogAction", "type"); } this.type = type; return this; } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction(); + public V2modelsIntentConfirmationSettingDialogAction build() { + final var _resultValue = new V2modelsIntentConfirmationSettingDialogAction(); _resultValue.slotToElicit = slotToElicit; _resultValue.suppressNextMessage = suppressNextMessage; _resultValue.type = type; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDtmfSpecification.java similarity index 74% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDtmfSpecification.java index 5ed99d66927..e3df93623fc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingDtmfSpecification.java @@ -10,7 +10,7 @@ import java.util.Objects; @CustomType -public final class V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification { +public final class V2modelsIntentConfirmationSettingDtmfSpecification { /** * @return DTMF character that clears the accumulated DTMF digits and immediately ends the input. * @@ -32,7 +32,7 @@ public final class V2modelsIntentConfirmationSettingPromptSpecificationPromptAtt */ private Integer maxLength; - private V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification() {} + private V2modelsIntentConfirmationSettingDtmfSpecification() {} /** * @return DTMF character that clears the accumulated DTMF digits and immediately ends the input. * @@ -66,7 +66,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingDtmfSpecification defaults) { return new Builder(defaults); } @CustomType.Builder @@ -76,7 +76,7 @@ public static final class Builder { private Integer endTimeoutMs; private Integer maxLength; public Builder() {} - public Builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification defaults) { + public Builder(V2modelsIntentConfirmationSettingDtmfSpecification defaults) { Objects.requireNonNull(defaults); this.deletionCharacter = defaults.deletionCharacter; this.endCharacter = defaults.endCharacter; @@ -87,7 +87,7 @@ public Builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttempt @CustomType.Setter public Builder deletionCharacter(String deletionCharacter) { if (deletionCharacter == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification", "deletionCharacter"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingDtmfSpecification", "deletionCharacter"); } this.deletionCharacter = deletionCharacter; return this; @@ -95,7 +95,7 @@ public Builder deletionCharacter(String deletionCharacter) { @CustomType.Setter public Builder endCharacter(String endCharacter) { if (endCharacter == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification", "endCharacter"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingDtmfSpecification", "endCharacter"); } this.endCharacter = endCharacter; return this; @@ -103,7 +103,7 @@ public Builder endCharacter(String endCharacter) { @CustomType.Setter public Builder endTimeoutMs(Integer endTimeoutMs) { if (endTimeoutMs == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification", "endTimeoutMs"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingDtmfSpecification", "endTimeoutMs"); } this.endTimeoutMs = endTimeoutMs; return this; @@ -111,13 +111,13 @@ public Builder endTimeoutMs(Integer endTimeoutMs) { @CustomType.Setter public Builder maxLength(Integer maxLength) { if (maxLength == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification", "maxLength"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingDtmfSpecification", "maxLength"); } this.maxLength = maxLength; return this; } - public V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification build() { - final var _resultValue = new V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification(); + public V2modelsIntentConfirmationSettingDtmfSpecification build() { + final var _resultValue = new V2modelsIntentConfirmationSettingDtmfSpecification(); _resultValue.deletionCharacter = deletionCharacter; _resultValue.endCharacter = endCharacter; _resultValue.endTimeoutMs = endTimeoutMs; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingImageResponseCard.java similarity index 68% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingImageResponseCard.java index ae6b6aa54fa..fa8cbc5abf3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -13,12 +13,12 @@ import javax.annotation.Nullable; @CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard { +public final class V2modelsIntentConfirmationSettingImageResponseCard { /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -35,12 +35,12 @@ public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecific */ private String title; - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard() {} + private V2modelsIntentConfirmationSettingImageResponseCard() {} /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -69,17 +69,17 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingImageResponseCard defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard defaults) { + public Builder(V2modelsIntentConfirmationSettingImageResponseCard defaults) { Objects.requireNonNull(defaults); this.buttons = defaults.buttons; this.imageUrl = defaults.imageUrl; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentConfirmationSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter @@ -111,13 +111,13 @@ public Builder subtitle(@Nullable String subtitle) { @CustomType.Setter public Builder title(String title) { if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", "title"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingImageResponseCard", "title"); } this.title = title; return this; } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard(); + public V2modelsIntentConfirmationSettingImageResponseCard build() { + final var _resultValue = new V2modelsIntentConfirmationSettingImageResponseCard(); _resultValue.buttons = buttons; _resultValue.imageUrl = imageUrl; _resultValue.subtitle = subtitle; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingMessage.java new file mode 100644 index 00000000000..3acd7773a28 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingMessage.java @@ -0,0 +1,123 @@ +// *** 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.V2modelsIntentConfirmationSettingCustomPayload; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingImageResponseCard; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingPlainTextMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingSsmlMessage; +import com.pulumi.core.annotations.CustomType; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class V2modelsIntentConfirmationSettingMessage { + /** + * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. + * + */ + private @Nullable V2modelsIntentConfirmationSettingCustomPayload 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 V2modelsIntentConfirmationSettingImageResponseCard imageResponseCard; + /** + * @return Configuration block for a message in plain text format. See `plain_text_message`. + * + */ + private @Nullable V2modelsIntentConfirmationSettingPlainTextMessage plainTextMessage; + /** + * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. + * + */ + private @Nullable V2modelsIntentConfirmationSettingSsmlMessage ssmlMessage; + + private V2modelsIntentConfirmationSettingMessage() {} + /** + * @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(V2modelsIntentConfirmationSettingMessage defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable V2modelsIntentConfirmationSettingCustomPayload customPayload; + private @Nullable V2modelsIntentConfirmationSettingImageResponseCard imageResponseCard; + private @Nullable V2modelsIntentConfirmationSettingPlainTextMessage plainTextMessage; + private @Nullable V2modelsIntentConfirmationSettingSsmlMessage ssmlMessage; + public Builder() {} + public Builder(V2modelsIntentConfirmationSettingMessage 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 V2modelsIntentConfirmationSettingCustomPayload customPayload) { + + this.customPayload = customPayload; + return this; + } + @CustomType.Setter + public Builder imageResponseCard(@Nullable V2modelsIntentConfirmationSettingImageResponseCard imageResponseCard) { + + this.imageResponseCard = imageResponseCard; + return this; + } + @CustomType.Setter + public Builder plainTextMessage(@Nullable V2modelsIntentConfirmationSettingPlainTextMessage plainTextMessage) { + + this.plainTextMessage = plainTextMessage; + return this; + } + @CustomType.Setter + public Builder ssmlMessage(@Nullable V2modelsIntentConfirmationSettingSsmlMessage ssmlMessage) { + + this.ssmlMessage = ssmlMessage; + return this; + } + public V2modelsIntentConfirmationSettingMessage build() { + final var _resultValue = new V2modelsIntentConfirmationSettingMessage(); + _resultValue.customPayload = customPayload; + _resultValue.imageResponseCard = imageResponseCard; + _resultValue.plainTextMessage = plainTextMessage; + _resultValue.ssmlMessage = ssmlMessage; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingMessageGroup.java similarity index 52% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingMessageGroup.java index c8abdbec3c8..d32bb81c746 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingMessageGroup.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingVariation; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; @@ -12,31 +12,31 @@ import javax.annotation.Nullable; @CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup { +public final class V2modelsIntentConfirmationSettingMessageGroup { /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage message; + private V2modelsIntentConfirmationSettingMessage message; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - private @Nullable List variations; + private @Nullable List variations; - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup() {} + private V2modelsIntentConfirmationSettingMessageGroup() {} /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage message() { + public V2modelsIntentConfirmationSettingMessage message() { return this.message; } /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public List variations() { + public List variations() { return this.variations == null ? List.of() : this.variations; } @@ -44,39 +44,39 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingMessageGroup defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage message; - private @Nullable List variations; + private V2modelsIntentConfirmationSettingMessage message; + private @Nullable List variations; public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup defaults) { + public Builder(V2modelsIntentConfirmationSettingMessageGroup defaults) { Objects.requireNonNull(defaults); this.message = defaults.message; this.variations = defaults.variations; } @CustomType.Setter - public Builder message(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage message) { + public Builder message(V2modelsIntentConfirmationSettingMessage message) { if (message == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup", "message"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingMessageGroup", "message"); } this.message = message; return this; } @CustomType.Setter - public Builder variations(@Nullable List variations) { + public Builder variations(@Nullable List variations) { this.variations = variations; return this; } - public Builder variations(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation... variations) { + public Builder variations(V2modelsIntentConfirmationSettingVariation... variations) { return variations(List.of(variations)); } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup(); + public V2modelsIntentConfirmationSettingMessageGroup build() { + final var _resultValue = new V2modelsIntentConfirmationSettingMessageGroup(); _resultValue.message = message; _resultValue.variations = variations; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingPlainTextMessage.java similarity index 56% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingPlainTextMessage.java index f964ea08788..b23d6542f1f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingPlainTextMessage.java @@ -9,14 +9,14 @@ import java.util.Objects; @CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage { +public final class V2modelsIntentConfirmationSettingPlainTextMessage { /** * @return Message to send to the user. * */ private String value; - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage() {} + private V2modelsIntentConfirmationSettingPlainTextMessage() {} /** * @return Message to send to the user. * @@ -29,14 +29,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingPlainTextMessage defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String value; public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage defaults) { + public Builder(V2modelsIntentConfirmationSettingPlainTextMessage defaults) { Objects.requireNonNull(defaults); this.value = defaults.value; } @@ -44,13 +44,13 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio @CustomType.Setter public Builder value(String value) { if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", "value"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPlainTextMessage", "value"); } this.value = value; return this; } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage(); + public V2modelsIntentConfirmationSettingPlainTextMessage build() { + final var _resultValue = new V2modelsIntentConfirmationSettingPlainTextMessage(); _resultValue.value = value; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification.java index a60a96e1ae0..ffa9d3249b8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification; -import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingAudioSpecification; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingDtmfSpecification; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; @@ -18,12 +18,12 @@ public final class V2modelsIntentConfirmationSettingPromptSpecificationPromptAtt * @return Configuration block for the settings on audio input. See `audio_specification`. * */ - private @Nullable V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification audioSpecification; + private @Nullable V2modelsIntentConfirmationSettingAudioSpecification audioSpecification; /** * @return Configuration block for the settings on DTMF input. See `dtmf_specification`. * */ - private @Nullable V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification dtmfSpecification; + private @Nullable V2modelsIntentConfirmationSettingDtmfSpecification dtmfSpecification; /** * @return Time for which a bot waits before assuming that the customer isn't going to speak or press a key. This timeout is shared between Audio and DTMF inputs. * @@ -35,14 +35,14 @@ private V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecif * @return Configuration block for the settings on audio input. See `audio_specification`. * */ - public Optional audioSpecification() { + public Optional audioSpecification() { return Optional.ofNullable(this.audioSpecification); } /** * @return Configuration block for the settings on DTMF input. See `dtmf_specification`. * */ - public Optional dtmfSpecification() { + public Optional dtmfSpecification() { return Optional.ofNullable(this.dtmfSpecification); } /** @@ -62,8 +62,8 @@ public static Builder builder(V2modelsIntentConfirmationSettingPromptSpecificati } @CustomType.Builder public static final class Builder { - private @Nullable V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification audioSpecification; - private @Nullable V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification dtmfSpecification; + private @Nullable V2modelsIntentConfirmationSettingAudioSpecification audioSpecification; + private @Nullable V2modelsIntentConfirmationSettingDtmfSpecification dtmfSpecification; private Integer startTimeoutMs; public Builder() {} public Builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification defaults) { @@ -74,13 +74,13 @@ public Builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttempt } @CustomType.Setter - public Builder audioSpecification(@Nullable V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification audioSpecification) { + public Builder audioSpecification(@Nullable V2modelsIntentConfirmationSettingAudioSpecification audioSpecification) { this.audioSpecification = audioSpecification; return this; } @CustomType.Setter - public Builder dtmfSpecification(@Nullable V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification dtmfSpecification) { + public Builder dtmfSpecification(@Nullable V2modelsIntentConfirmationSettingDtmfSpecification dtmfSpecification) { this.dtmfSpecification = dtmfSpecification; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingSsmlMessage.java similarity index 57% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingSsmlMessage.java index 26027acfd59..488fc02e31e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingSsmlMessage.java @@ -9,14 +9,14 @@ import java.util.Objects; @CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage { +public final class V2modelsIntentConfirmationSettingSsmlMessage { /** * @return SSML text that defines the prompt. * */ private String value; - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage() {} + private V2modelsIntentConfirmationSettingSsmlMessage() {} /** * @return SSML text that defines the prompt. * @@ -29,14 +29,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingSsmlMessage defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String value; public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage defaults) { + public Builder(V2modelsIntentConfirmationSettingSsmlMessage defaults) { Objects.requireNonNull(defaults); this.value = defaults.value; } @@ -44,13 +44,13 @@ public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificatio @CustomType.Setter public Builder value(String value) { if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", "value"); + throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingSsmlMessage", "value"); } this.value = value; return this; } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage(); + public V2modelsIntentConfirmationSettingSsmlMessage build() { + final var _resultValue = new V2modelsIntentConfirmationSettingSsmlMessage(); _resultValue.value = value; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingValue.java similarity index 70% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingValue.java index 53e28c8752e..458b0a5dc28 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingValue.java @@ -10,14 +10,14 @@ import javax.annotation.Nullable; @CustomType -public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue { +public final class V2modelsIntentConfirmationSettingValue { /** * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. * */ private @Nullable String interpretedValue; - private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue() {} + private V2modelsIntentConfirmationSettingValue() {} /** * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. * @@ -30,14 +30,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue defaults) { + public static Builder builder(V2modelsIntentConfirmationSettingValue defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private @Nullable String interpretedValue; public Builder() {} - public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue defaults) { + public Builder(V2modelsIntentConfirmationSettingValue defaults) { Objects.requireNonNull(defaults); this.interpretedValue = defaults.interpretedValue; } @@ -48,8 +48,8 @@ public Builder interpretedValue(@Nullable String interpretedValue) { this.interpretedValue = interpretedValue; return this; } - public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue build() { - final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue(); + public V2modelsIntentConfirmationSettingValue build() { + final var _resultValue = new V2modelsIntentConfirmationSettingValue(); _resultValue.interpretedValue = interpretedValue; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingVariation.java new file mode 100644 index 00000000000..45f358123b0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentConfirmationSettingVariation.java @@ -0,0 +1,123 @@ +// *** 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.V2modelsIntentConfirmationSettingCustomPayload; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingImageResponseCard; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingPlainTextMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingSsmlMessage; +import com.pulumi.core.annotations.CustomType; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class V2modelsIntentConfirmationSettingVariation { + /** + * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. + * + */ + private @Nullable V2modelsIntentConfirmationSettingCustomPayload 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 V2modelsIntentConfirmationSettingImageResponseCard imageResponseCard; + /** + * @return Configuration block for a message in plain text format. See `plain_text_message`. + * + */ + private @Nullable V2modelsIntentConfirmationSettingPlainTextMessage plainTextMessage; + /** + * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. + * + */ + private @Nullable V2modelsIntentConfirmationSettingSsmlMessage ssmlMessage; + + private V2modelsIntentConfirmationSettingVariation() {} + /** + * @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(V2modelsIntentConfirmationSettingVariation defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable V2modelsIntentConfirmationSettingCustomPayload customPayload; + private @Nullable V2modelsIntentConfirmationSettingImageResponseCard imageResponseCard; + private @Nullable V2modelsIntentConfirmationSettingPlainTextMessage plainTextMessage; + private @Nullable V2modelsIntentConfirmationSettingSsmlMessage ssmlMessage; + public Builder() {} + public Builder(V2modelsIntentConfirmationSettingVariation 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 V2modelsIntentConfirmationSettingCustomPayload customPayload) { + + this.customPayload = customPayload; + return this; + } + @CustomType.Setter + public Builder imageResponseCard(@Nullable V2modelsIntentConfirmationSettingImageResponseCard imageResponseCard) { + + this.imageResponseCard = imageResponseCard; + return this; + } + @CustomType.Setter + public Builder plainTextMessage(@Nullable V2modelsIntentConfirmationSettingPlainTextMessage plainTextMessage) { + + this.plainTextMessage = plainTextMessage; + return this; + } + @CustomType.Setter + public Builder ssmlMessage(@Nullable V2modelsIntentConfirmationSettingSsmlMessage ssmlMessage) { + + this.ssmlMessage = ssmlMessage; + return this; + } + public V2modelsIntentConfirmationSettingVariation build() { + final var _resultValue = new V2modelsIntentConfirmationSettingVariation(); + _resultValue.customPayload = customPayload; + _resultValue.imageResponseCard = imageResponseCard; + _resultValue.plainTextMessage = plainTextMessage; + _resultValue.ssmlMessage = ssmlMessage; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookButton.java similarity index 68% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButton.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookButton.java index 59dc36e1048..f7fd1bfe36c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButton.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookButton.java @@ -9,7 +9,7 @@ import java.util.Objects; @CustomType -public final class V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButton { +public final class V2modelsIntentFulfillmentCodeHookButton { /** * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. * @@ -21,7 +21,7 @@ public final class V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificat */ private String value; - private V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButton() {} + private V2modelsIntentFulfillmentCodeHookButton() {} /** * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. * @@ -41,7 +41,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButton defaults) { + public static Builder builder(V2modelsIntentFulfillmentCodeHookButton defaults) { return new Builder(defaults); } @CustomType.Builder @@ -49,7 +49,7 @@ public static final class Builder { private String text; private String value; public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButton defaults) { + public Builder(V2modelsIntentFulfillmentCodeHookButton defaults) { Objects.requireNonNull(defaults); this.text = defaults.text; this.value = defaults.value; @@ -58,7 +58,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationS @CustomType.Setter public Builder text(String text) { if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButton", "text"); + throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookButton", "text"); } this.text = text; return this; @@ -66,13 +66,13 @@ public Builder text(String text) { @CustomType.Setter public Builder value(String value) { if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButton", "value"); + throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookButton", "value"); } this.value = value; return this; } - public V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButton(); + public V2modelsIntentFulfillmentCodeHookButton build() { + final var _resultValue = new V2modelsIntentFulfillmentCodeHookButton(); _resultValue.text = text; _resultValue.value = value; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookCustomPayload.java similarity index 57% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookCustomPayload.java index 7777dd99887..3b22da6c2be 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookCustomPayload.java @@ -9,14 +9,14 @@ import java.util.Objects; @CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload { +public final class V2modelsIntentFulfillmentCodeHookCustomPayload { /** * @return String that is sent to your application. * */ private String value; - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload() {} + private V2modelsIntentFulfillmentCodeHookCustomPayload() {} /** * @return String that is sent to your application. * @@ -29,14 +29,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload defaults) { + public static Builder builder(V2modelsIntentFulfillmentCodeHookCustomPayload defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String value; public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload defaults) { + public Builder(V2modelsIntentFulfillmentCodeHookCustomPayload defaults) { Objects.requireNonNull(defaults); this.value = defaults.value; } @@ -44,13 +44,13 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati @CustomType.Setter public Builder value(String value) { if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", "value"); + throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookCustomPayload", "value"); } this.value = value; return this; } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload(); + public V2modelsIntentFulfillmentCodeHookCustomPayload build() { + final var _resultValue = new V2modelsIntentFulfillmentCodeHookCustomPayload(); _resultValue.value = value; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogAction.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookDialogAction.java similarity index 78% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogAction.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookDialogAction.java index e33e99ee767..dd15493bea1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogAction.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookDialogAction.java @@ -12,7 +12,7 @@ import javax.annotation.Nullable; @CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogAction { +public final class V2modelsIntentFulfillmentCodeHookDialogAction { /** * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. * @@ -29,7 +29,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi */ private String type; - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogAction() {} + private V2modelsIntentFulfillmentCodeHookDialogAction() {} /** * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. * @@ -56,7 +56,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogAction defaults) { + public static Builder builder(V2modelsIntentFulfillmentCodeHookDialogAction defaults) { return new Builder(defaults); } @CustomType.Builder @@ -65,7 +65,7 @@ public static final class Builder { private @Nullable Boolean suppressNextMessage; private String type; public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogAction defaults) { + public Builder(V2modelsIntentFulfillmentCodeHookDialogAction defaults) { Objects.requireNonNull(defaults); this.slotToElicit = defaults.slotToElicit; this.suppressNextMessage = defaults.suppressNextMessage; @@ -87,13 +87,13 @@ public Builder suppressNextMessage(@Nullable Boolean suppressNextMessage) { @CustomType.Setter public Builder type(String type) { if (type == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogAction", "type"); + throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookDialogAction", "type"); } this.type = type; return this; } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogAction build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogAction(); + public V2modelsIntentFulfillmentCodeHookDialogAction build() { + final var _resultValue = new V2modelsIntentFulfillmentCodeHookDialogAction(); _resultValue.slotToElicit = slotToElicit; _resultValue.suppressNextMessage = suppressNextMessage; _resultValue.type = type; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCard.java index f3844ed4fc6..65e1e7f68b5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificat * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartRes * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookFulfillmentUpdate } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationS } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentFulfillmentCodeHookButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCard.java index ae4f519d351..7d22eaa16df 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificat * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateRe * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookFulfillmentUpdate } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationU } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentFulfillmentCodeHookButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 37ad773221d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookImageResponseCard.java similarity index 68% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookImageResponseCard.java index a9e2e32cd0f..99d7f9febef 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -13,12 +13,12 @@ import javax.annotation.Nullable; @CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard { +public final class V2modelsIntentFulfillmentCodeHookImageResponseCard { /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -35,12 +35,12 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi */ private String title; - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard() {} + private V2modelsIntentFulfillmentCodeHookImageResponseCard() {} /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -69,17 +69,17 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard defaults) { + public static Builder builder(V2modelsIntentFulfillmentCodeHookImageResponseCard defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard defaults) { + public Builder(V2modelsIntentFulfillmentCodeHookImageResponseCard defaults) { Objects.requireNonNull(defaults); this.buttons = defaults.buttons; this.imageUrl = defaults.imageUrl; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentFulfillmentCodeHookButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter @@ -111,13 +111,13 @@ public Builder subtitle(@Nullable String subtitle) { @CustomType.Setter public Builder title(String title) { if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", "title"); + throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookImageResponseCard", "title"); } this.title = title; return this; } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard(); + public V2modelsIntentFulfillmentCodeHookImageResponseCard build() { + final var _resultValue = new V2modelsIntentFulfillmentCodeHookImageResponseCard(); _resultValue.buttons = buttons; _resultValue.imageUrl = imageUrl; _resultValue.subtitle = subtitle; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookMessage.java new file mode 100644 index 00000000000..95ba375f954 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookMessage.java @@ -0,0 +1,123 @@ +// *** 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.V2modelsIntentFulfillmentCodeHookCustomPayload; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookImageResponseCard; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPlainTextMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookSsmlMessage; +import com.pulumi.core.annotations.CustomType; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class V2modelsIntentFulfillmentCodeHookMessage { + /** + * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. + * + */ + private @Nullable V2modelsIntentFulfillmentCodeHookCustomPayload 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 V2modelsIntentFulfillmentCodeHookImageResponseCard imageResponseCard; + /** + * @return Configuration block for a message in plain text format. See `plain_text_message`. + * + */ + private @Nullable V2modelsIntentFulfillmentCodeHookPlainTextMessage plainTextMessage; + /** + * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. + * + */ + private @Nullable V2modelsIntentFulfillmentCodeHookSsmlMessage ssmlMessage; + + private V2modelsIntentFulfillmentCodeHookMessage() {} + /** + * @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(V2modelsIntentFulfillmentCodeHookMessage defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable V2modelsIntentFulfillmentCodeHookCustomPayload customPayload; + private @Nullable V2modelsIntentFulfillmentCodeHookImageResponseCard imageResponseCard; + private @Nullable V2modelsIntentFulfillmentCodeHookPlainTextMessage plainTextMessage; + private @Nullable V2modelsIntentFulfillmentCodeHookSsmlMessage ssmlMessage; + public Builder() {} + public Builder(V2modelsIntentFulfillmentCodeHookMessage 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 V2modelsIntentFulfillmentCodeHookCustomPayload customPayload) { + + this.customPayload = customPayload; + return this; + } + @CustomType.Setter + public Builder imageResponseCard(@Nullable V2modelsIntentFulfillmentCodeHookImageResponseCard imageResponseCard) { + + this.imageResponseCard = imageResponseCard; + return this; + } + @CustomType.Setter + public Builder plainTextMessage(@Nullable V2modelsIntentFulfillmentCodeHookPlainTextMessage plainTextMessage) { + + this.plainTextMessage = plainTextMessage; + return this; + } + @CustomType.Setter + public Builder ssmlMessage(@Nullable V2modelsIntentFulfillmentCodeHookSsmlMessage ssmlMessage) { + + this.ssmlMessage = ssmlMessage; + return this; + } + public V2modelsIntentFulfillmentCodeHookMessage build() { + final var _resultValue = new V2modelsIntentFulfillmentCodeHookMessage(); + _resultValue.customPayload = customPayload; + _resultValue.imageResponseCard = imageResponseCard; + _resultValue.plainTextMessage = plainTextMessage; + _resultValue.ssmlMessage = ssmlMessage; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookMessageGroup.java similarity index 52% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroup.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookMessageGroup.java index 4ccda9b2a39..b9bed68e96e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookMessageGroup.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookVariation; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; @@ -12,31 +12,31 @@ import javax.annotation.Nullable; @CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroup { +public final class V2modelsIntentFulfillmentCodeHookMessageGroup { /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage message; + private V2modelsIntentFulfillmentCodeHookMessage message; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - private @Nullable List variations; + private @Nullable List variations; - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroup() {} + private V2modelsIntentFulfillmentCodeHookMessageGroup() {} /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage message() { + public V2modelsIntentFulfillmentCodeHookMessage message() { return this.message; } /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public List variations() { + public List variations() { return this.variations == null ? List.of() : this.variations; } @@ -44,39 +44,39 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroup defaults) { + public static Builder builder(V2modelsIntentFulfillmentCodeHookMessageGroup defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage message; - private @Nullable List variations; + private V2modelsIntentFulfillmentCodeHookMessage message; + private @Nullable List variations; public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroup defaults) { + public Builder(V2modelsIntentFulfillmentCodeHookMessageGroup defaults) { Objects.requireNonNull(defaults); this.message = defaults.message; this.variations = defaults.variations; } @CustomType.Setter - public Builder message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage message) { + public Builder message(V2modelsIntentFulfillmentCodeHookMessage message) { if (message == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroup", "message"); + throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookMessageGroup", "message"); } this.message = message; return this; } @CustomType.Setter - public Builder variations(@Nullable List variations) { + public Builder variations(@Nullable List variations) { this.variations = variations; return this; } - public Builder variations(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation... variations) { + public Builder variations(V2modelsIntentFulfillmentCodeHookVariation... variations) { return variations(List.of(variations)); } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroup build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroup(); + public V2modelsIntentFulfillmentCodeHookMessageGroup build() { + final var _resultValue = new V2modelsIntentFulfillmentCodeHookMessageGroup(); _resultValue.message = message; _resultValue.variations = variations; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPlainTextMessage.java similarity index 56% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPlainTextMessage.java index 6f4b0e274d3..84a5eefa1cd 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPlainTextMessage.java @@ -9,14 +9,14 @@ import java.util.Objects; @CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage { +public final class V2modelsIntentFulfillmentCodeHookPlainTextMessage { /** * @return Message to send to the user. * */ private String value; - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage() {} + private V2modelsIntentFulfillmentCodeHookPlainTextMessage() {} /** * @return Message to send to the user. * @@ -29,14 +29,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage defaults) { + public static Builder builder(V2modelsIntentFulfillmentCodeHookPlainTextMessage defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String value; public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage defaults) { + public Builder(V2modelsIntentFulfillmentCodeHookPlainTextMessage defaults) { Objects.requireNonNull(defaults); this.value = defaults.value; } @@ -44,13 +44,13 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati @CustomType.Setter public Builder value(String value) { if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", "value"); + throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPlainTextMessage", "value"); } this.value = value; return this; } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage(); + public V2modelsIntentFulfillmentCodeHookPlainTextMessage build() { + final var _resultValue = new V2modelsIntentFulfillmentCodeHookPlainTextMessage(); _resultValue.value = value; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStep.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStep.java index 8a77ce1103b..da905f3cd09 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStep.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStep.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogAction; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookDialogAction; import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntent; import com.pulumi.core.annotations.CustomType; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogAction dialogAction; + private @Nullable V2modelsIntentFulfillmentCodeHookDialogAction dialogAction; /** * @return Configuration block for override settings to configure the intent state. See `intent`. * @@ -35,7 +35,7 @@ private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailu * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - public Optional dialogAction() { + public Optional dialogAction() { return Optional.ofNullable(this.dialogAction); } /** @@ -62,7 +62,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt } @CustomType.Builder public static final class Builder { - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogAction dialogAction; + private @Nullable V2modelsIntentFulfillmentCodeHookDialogAction dialogAction; private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntent intent; private @Nullable Map sessionAttributes; public Builder() {} @@ -74,7 +74,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati } @CustomType.Setter - public Builder dialogAction(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogAction dialogAction) { + public Builder dialogAction(@Nullable V2modelsIntentFulfillmentCodeHookDialogAction dialogAction) { this.dialogAction = dialogAction; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogAction.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogAction.java deleted file mode 100644 index b7fd2827104..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogAction.java +++ /dev/null @@ -1,103 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Boolean; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogAction { - /** - * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - */ - private @Nullable String slotToElicit; - /** - * @return Whether the next message for the intent is _not_ used. - * - */ - private @Nullable Boolean suppressNextMessage; - /** - * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - private String type; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogAction() {} - /** - * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - */ - public Optional slotToElicit() { - return Optional.ofNullable(this.slotToElicit); - } - /** - * @return Whether the next message for the intent is _not_ used. - * - */ - public Optional suppressNextMessage() { - return Optional.ofNullable(this.suppressNextMessage); - } - /** - * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogAction defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String slotToElicit; - private @Nullable Boolean suppressNextMessage; - private String type; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogAction defaults) { - Objects.requireNonNull(defaults); - this.slotToElicit = defaults.slotToElicit; - this.suppressNextMessage = defaults.suppressNextMessage; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder slotToElicit(@Nullable String slotToElicit) { - - this.slotToElicit = slotToElicit; - return this; - } - @CustomType.Setter - public Builder suppressNextMessage(@Nullable Boolean suppressNextMessage) { - - this.suppressNextMessage = suppressNextMessage; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogAction", "type"); - } - this.type = type; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogAction build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepDialogAction(); - _resultValue.slotToElicit = slotToElicit; - _resultValue.suppressNextMessage = suppressNextMessage; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlot.java index 0a0e3d26564..c50a1b977a2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlot.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookValue; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -27,7 +27,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration block for the current value of the slot. See `value`. * */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentFulfillmentCodeHookValue value; private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlot() {} /** @@ -48,7 +48,7 @@ public Optional shape() { * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional value() { + public Optional value() { return Optional.ofNullable(this.value); } @@ -63,7 +63,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt public static final class Builder { private String mapBlockKey; private @Nullable String shape; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentFulfillmentCodeHookValue value; public Builder() {} public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlot defaults) { Objects.requireNonNull(defaults); @@ -87,7 +87,7 @@ public Builder shape(@Nullable String shape) { return this; } @CustomType.Setter - public Builder value(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue value) { + public Builder value(@Nullable V2modelsIntentFulfillmentCodeHookValue value) { this.value = value; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue.java deleted file mode 100644 index f2aae64acc1..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue.java +++ /dev/null @@ -1,57 +0,0 @@ -// *** 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.core.annotations.CustomType; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue { - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - private @Nullable String interpretedValue; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue() {} - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String interpretedValue; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue defaults) { - Objects.requireNonNull(defaults); - this.interpretedValue = defaults.interpretedValue; - } - - @CustomType.Setter - public Builder interpretedValue(@Nullable String interpretedValue) { - - this.interpretedValue = interpretedValue; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue(); - _resultValue.interpretedValue = interpretedValue; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponse.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponse.java index 312d7657f39..b0d29cfe596 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponse.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponse.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroup; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookMessageGroup; import com.pulumi.core.annotations.CustomType; import java.lang.Boolean; import java.util.List; @@ -22,7 +22,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - private @Nullable List messageGroups; + private @Nullable List messageGroups; private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponse() {} /** @@ -36,7 +36,7 @@ public Optional allowInterrupt() { * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - public List messageGroups() { + public List messageGroups() { return this.messageGroups == null ? List.of() : this.messageGroups; } @@ -50,7 +50,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt @CustomType.Builder public static final class Builder { private @Nullable Boolean allowInterrupt; - private @Nullable List messageGroups; + private @Nullable List messageGroups; public Builder() {} public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponse defaults) { Objects.requireNonNull(defaults); @@ -65,12 +65,12 @@ public Builder allowInterrupt(@Nullable Boolean allowInterrupt) { return this; } @CustomType.Setter - public Builder messageGroups(@Nullable List messageGroups) { + public Builder messageGroups(@Nullable List messageGroups) { this.messageGroups = messageGroups; return this; } - public Builder messageGroups(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroup... messageGroups) { + public Builder messageGroups(V2modelsIntentFulfillmentCodeHookMessageGroup... messageGroups) { return messageGroups(List.of(messageGroups)); } public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponse build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroup.java deleted file mode 100644 index 75b090399c1..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroup.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.util.List; -import java.util.Objects; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroup { - /** - * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - */ - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage message; - /** - * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - private @Nullable List variations; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroup() {} - /** - * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - */ - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage message() { - return this.message; - } - /** - * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - public List variations() { - return this.variations == null ? List.of() : this.variations; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroup defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage message; - private @Nullable List variations; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroup defaults) { - Objects.requireNonNull(defaults); - this.message = defaults.message; - this.variations = defaults.variations; - } - - @CustomType.Setter - public Builder message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage message) { - if (message == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroup", "message"); - } - this.message = message; - return this; - } - @CustomType.Setter - public Builder variations(@Nullable List variations) { - - this.variations = variations; - return this; - } - public Builder variations(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation... variations) { - return variations(List.of(variations)); - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroup build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroup(); - _resultValue.message = message; - _resultValue.variations = variations; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage.java deleted file mode 100644 index ffbcd6ea2a5..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage() {} - /** - * @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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload customPayload; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java deleted file mode 100644 index 7377e68759d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java deleted file mode 100644 index 3f02b203d60..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 6147d31627a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java deleted file mode 100644 index 11b0af44488..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java deleted file mode 100644 index d6e366af4dc..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation.java deleted file mode 100644 index 4d66fb6443d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation() {} - /** - * @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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java deleted file mode 100644 index 3b2d406614b..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index 41126e21593..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 49f2a05e7ef..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index 9f2659cf577..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java deleted file mode 100644 index 927ac8aeafe..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlot.java index 7733b477a3f..5b4c94dfad9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlot.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookValue; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -27,7 +27,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration block for the current value of the slot. See `value`. * */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentFulfillmentCodeHookValue value; private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlot() {} /** @@ -48,7 +48,7 @@ public Optional shape() { * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional value() { + public Optional value() { return Optional.ofNullable(this.value); } @@ -63,7 +63,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt public static final class Builder { private String mapBlockKey; private @Nullable String shape; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentFulfillmentCodeHookValue value; public Builder() {} public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlot defaults) { Objects.requireNonNull(defaults); @@ -87,7 +87,7 @@ public Builder shape(@Nullable String shape) { return this; } @CustomType.Setter - public Builder value(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue value) { + public Builder value(@Nullable V2modelsIntentFulfillmentCodeHookValue value) { this.value = value; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroup.java index 7bf178fe278..c710d683fb7 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroup.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookVariation; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; @@ -17,26 +17,26 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage message; + private V2modelsIntentFulfillmentCodeHookMessage message; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - private @Nullable List variations; + private @Nullable List variations; private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroup() {} /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage message() { + public V2modelsIntentFulfillmentCodeHookMessage message() { return this.message; } /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public List variations() { + public List variations() { return this.variations == null ? List.of() : this.variations; } @@ -49,8 +49,8 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt } @CustomType.Builder public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage message; - private @Nullable List variations; + private V2modelsIntentFulfillmentCodeHookMessage message; + private @Nullable List variations; public Builder() {} public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroup defaults) { Objects.requireNonNull(defaults); @@ -59,7 +59,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati } @CustomType.Setter - public Builder message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage message) { + public Builder message(V2modelsIntentFulfillmentCodeHookMessage message) { if (message == null) { throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroup", "message"); } @@ -67,12 +67,12 @@ public Builder message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpe return this; } @CustomType.Setter - public Builder variations(@Nullable List variations) { + public Builder variations(@Nullable List variations) { this.variations = variations; return this; } - public Builder variations(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation... variations) { + public Builder variations(V2modelsIntentFulfillmentCodeHookVariation... variations) { return variations(List.of(variations)); } public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroup build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage.java deleted file mode 100644 index 0d05121c289..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage() {} - /** - * @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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java deleted file mode 100644 index c9c96d8da62..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java deleted file mode 100644 index c38495d0422..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 8dfc092f476..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java deleted file mode 100644 index 3c4a5cb8fb0..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java deleted file mode 100644 index 8d74cb7472d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation.java deleted file mode 100644 index 73784754e13..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation() {} - /** - * @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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java deleted file mode 100644 index 9983e94a968..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index 1145c0d946a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index d7b0b5c82bb..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index 9db7ea6d9c1..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java deleted file mode 100644 index d1c408cde8e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCard.java index 2eb9e60d1f1..da0c2acc542 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailu * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentFulfillmentCodeHookButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 6a5440c4f1b..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCard.java index ee384969d0b..706b70f6859 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailu * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentFulfillmentCodeHookButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 43cc1b7298c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStep.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStep.java index bd38a1d9e37..0616af93ee3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStep.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStep.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogAction; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookDialogAction; import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntent; import com.pulumi.core.annotations.CustomType; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogAction dialogAction; + private @Nullable V2modelsIntentFulfillmentCodeHookDialogAction dialogAction; /** * @return Configuration block for override settings to configure the intent state. See `intent`. * @@ -35,7 +35,7 @@ private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSucce * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - public Optional dialogAction() { + public Optional dialogAction() { return Optional.ofNullable(this.dialogAction); } /** @@ -62,7 +62,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt } @CustomType.Builder public static final class Builder { - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogAction dialogAction; + private @Nullable V2modelsIntentFulfillmentCodeHookDialogAction dialogAction; private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntent intent; private @Nullable Map sessionAttributes; public Builder() {} @@ -74,7 +74,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati } @CustomType.Setter - public Builder dialogAction(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepDialogAction dialogAction) { + public Builder dialogAction(@Nullable V2modelsIntentFulfillmentCodeHookDialogAction dialogAction) { this.dialogAction = dialogAction; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot.java index 9b0f0357e10..7d86e7b1803 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookValue; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -27,7 +27,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration block for the current value of the slot. See `value`. * */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentFulfillmentCodeHookValue value; private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot() {} /** @@ -48,7 +48,7 @@ public Optional shape() { * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional value() { + public Optional value() { return Optional.ofNullable(this.value); } @@ -63,7 +63,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt public static final class Builder { private String mapBlockKey; private @Nullable String shape; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentFulfillmentCodeHookValue value; public Builder() {} public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot defaults) { Objects.requireNonNull(defaults); @@ -87,7 +87,7 @@ public Builder shape(@Nullable String shape) { return this; } @CustomType.Setter - public Builder value(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue value) { + public Builder value(@Nullable V2modelsIntentFulfillmentCodeHookValue value) { this.value = value; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue.java deleted file mode 100644 index 8e4ebad48e7..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue.java +++ /dev/null @@ -1,57 +0,0 @@ -// *** 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.core.annotations.CustomType; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue { - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - private @Nullable String interpretedValue; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue() {} - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String interpretedValue; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue defaults) { - Objects.requireNonNull(defaults); - this.interpretedValue = defaults.interpretedValue; - } - - @CustomType.Setter - public Builder interpretedValue(@Nullable String interpretedValue) { - - this.interpretedValue = interpretedValue; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue(); - _resultValue.interpretedValue = interpretedValue; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponse.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponse.java index e0d96e67627..aa64d32dc43 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponse.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponse.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroup; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookMessageGroup; import com.pulumi.core.annotations.CustomType; import java.lang.Boolean; import java.util.List; @@ -22,7 +22,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - private @Nullable List messageGroups; + private @Nullable List messageGroups; private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponse() {} /** @@ -36,7 +36,7 @@ public Optional allowInterrupt() { * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - public List messageGroups() { + public List messageGroups() { return this.messageGroups == null ? List.of() : this.messageGroups; } @@ -50,7 +50,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt @CustomType.Builder public static final class Builder { private @Nullable Boolean allowInterrupt; - private @Nullable List messageGroups; + private @Nullable List messageGroups; public Builder() {} public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponse defaults) { Objects.requireNonNull(defaults); @@ -65,12 +65,12 @@ public Builder allowInterrupt(@Nullable Boolean allowInterrupt) { return this; } @CustomType.Setter - public Builder messageGroups(@Nullable List messageGroups) { + public Builder messageGroups(@Nullable List messageGroups) { this.messageGroups = messageGroups; return this; } - public Builder messageGroups(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroup... messageGroups) { + public Builder messageGroups(V2modelsIntentFulfillmentCodeHookMessageGroup... messageGroups) { return messageGroups(List.of(messageGroups)); } public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponse build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage.java deleted file mode 100644 index d733c5cd28a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage() {} - /** - * @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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload customPayload; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java deleted file mode 100644 index b04ff98c814..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java deleted file mode 100644 index 222dee676b1..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index b29c7d6c6d5..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java deleted file mode 100644 index c30e1946b89..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java deleted file mode 100644 index 2cc6fac5893..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation.java deleted file mode 100644 index a688ed068d5..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation() {} - /** - * @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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java deleted file mode 100644 index 541d8f7d715..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index 867e5bc92d5..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 8fdae26781c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index a747610540e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java deleted file mode 100644 index 09b7aa67bbc..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot.java index 6daccf9a840..1e3fce86a26 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookValue; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -27,7 +27,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration block for the current value of the slot. See `value`. * */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentFulfillmentCodeHookValue value; private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot() {} /** @@ -48,7 +48,7 @@ public Optional shape() { * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional value() { + public Optional value() { return Optional.ofNullable(this.value); } @@ -63,7 +63,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt public static final class Builder { private String mapBlockKey; private @Nullable String shape; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentFulfillmentCodeHookValue value; public Builder() {} public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot defaults) { Objects.requireNonNull(defaults); @@ -87,7 +87,7 @@ public Builder shape(@Nullable String shape) { return this; } @CustomType.Setter - public Builder value(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue value) { + public Builder value(@Nullable V2modelsIntentFulfillmentCodeHookValue value) { this.value = value; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue.java deleted file mode 100644 index 925278f3412..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue.java +++ /dev/null @@ -1,57 +0,0 @@ -// *** 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.core.annotations.CustomType; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue { - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - private @Nullable String interpretedValue; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue() {} - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String interpretedValue; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue defaults) { - Objects.requireNonNull(defaults); - this.interpretedValue = defaults.interpretedValue; - } - - @CustomType.Setter - public Builder interpretedValue(@Nullable String interpretedValue) { - - this.interpretedValue = interpretedValue; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue(); - _resultValue.interpretedValue = interpretedValue; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroup.java index a1076e52dbf..3a0ce6c476a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroup.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookVariation; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; @@ -17,26 +17,26 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage message; + private V2modelsIntentFulfillmentCodeHookMessage message; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - private @Nullable List variations; + private @Nullable List variations; private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroup() {} /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage message() { + public V2modelsIntentFulfillmentCodeHookMessage message() { return this.message; } /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public List variations() { + public List variations() { return this.variations == null ? List.of() : this.variations; } @@ -49,8 +49,8 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt } @CustomType.Builder public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage message; - private @Nullable List variations; + private V2modelsIntentFulfillmentCodeHookMessage message; + private @Nullable List variations; public Builder() {} public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroup defaults) { Objects.requireNonNull(defaults); @@ -59,7 +59,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati } @CustomType.Setter - public Builder message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage message) { + public Builder message(V2modelsIntentFulfillmentCodeHookMessage message) { if (message == null) { throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroup", "message"); } @@ -67,12 +67,12 @@ public Builder message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpe return this; } @CustomType.Setter - public Builder variations(@Nullable List variations) { + public Builder variations(@Nullable List variations) { this.variations = variations; return this; } - public Builder variations(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation... variations) { + public Builder variations(V2modelsIntentFulfillmentCodeHookVariation... variations) { return variations(List.of(variations)); } public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroup build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage.java deleted file mode 100644 index 3ddd6a51a43..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage() {} - /** - * @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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 1a4617885ec..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation.java deleted file mode 100644 index 9529e96eaf1..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation() {} - /** - * @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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java deleted file mode 100644 index affac618d12..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index c40c7152fc8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index faff789676b..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index 0643a29c2cf..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java deleted file mode 100644 index f670dc5cbb8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCard.java index 0c31527b79f..6d44d15665a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSucce * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentFulfillmentCodeHookButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 632b11bbdfb..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCard.java index fe73643e40f..7b7b96469af 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSucce * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentFulfillmentCodeHookButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 5c1ebcb2185..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStep.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStep.java index 70a7edea11c..bbd96944973 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStep.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStep.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookDialogAction; import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntent; import com.pulumi.core.annotations.CustomType; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction dialogAction; + private @Nullable V2modelsIntentFulfillmentCodeHookDialogAction dialogAction; /** * @return Configuration block for override settings to configure the intent state. See `intent`. * @@ -35,7 +35,7 @@ private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeo * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - public Optional dialogAction() { + public Optional dialogAction() { return Optional.ofNullable(this.dialogAction); } /** @@ -62,7 +62,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt } @CustomType.Builder public static final class Builder { - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction dialogAction; + private @Nullable V2modelsIntentFulfillmentCodeHookDialogAction dialogAction; private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntent intent; private @Nullable Map sessionAttributes; public Builder() {} @@ -74,7 +74,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati } @CustomType.Setter - public Builder dialogAction(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction dialogAction) { + public Builder dialogAction(@Nullable V2modelsIntentFulfillmentCodeHookDialogAction dialogAction) { this.dialogAction = dialogAction; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction.java deleted file mode 100644 index 434dce51f9f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction.java +++ /dev/null @@ -1,103 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Boolean; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction { - /** - * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - */ - private @Nullable String slotToElicit; - /** - * @return Whether the next message for the intent is _not_ used. - * - */ - private @Nullable Boolean suppressNextMessage; - /** - * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - private String type; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction() {} - /** - * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - */ - public Optional slotToElicit() { - return Optional.ofNullable(this.slotToElicit); - } - /** - * @return Whether the next message for the intent is _not_ used. - * - */ - public Optional suppressNextMessage() { - return Optional.ofNullable(this.suppressNextMessage); - } - /** - * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String slotToElicit; - private @Nullable Boolean suppressNextMessage; - private String type; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction defaults) { - Objects.requireNonNull(defaults); - this.slotToElicit = defaults.slotToElicit; - this.suppressNextMessage = defaults.suppressNextMessage; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder slotToElicit(@Nullable String slotToElicit) { - - this.slotToElicit = slotToElicit; - return this; - } - @CustomType.Setter - public Builder suppressNextMessage(@Nullable Boolean suppressNextMessage) { - - this.suppressNextMessage = suppressNextMessage; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction", "type"); - } - this.type = type; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction(); - _resultValue.slotToElicit = slotToElicit; - _resultValue.suppressNextMessage = suppressNextMessage; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot.java index f763e52a0a3..4ecca7af2b0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookValue; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -27,7 +27,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration block for the current value of the slot. See `value`. * */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentFulfillmentCodeHookValue value; private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot() {} /** @@ -48,7 +48,7 @@ public Optional shape() { * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional value() { + public Optional value() { return Optional.ofNullable(this.value); } @@ -63,7 +63,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt public static final class Builder { private String mapBlockKey; private @Nullable String shape; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentFulfillmentCodeHookValue value; public Builder() {} public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot defaults) { Objects.requireNonNull(defaults); @@ -87,7 +87,7 @@ public Builder shape(@Nullable String shape) { return this; } @CustomType.Setter - public Builder value(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue value) { + public Builder value(@Nullable V2modelsIntentFulfillmentCodeHookValue value) { this.value = value; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue.java deleted file mode 100644 index 0fdd4def83e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue.java +++ /dev/null @@ -1,57 +0,0 @@ -// *** 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.core.annotations.CustomType; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue { - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - private @Nullable String interpretedValue; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue() {} - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String interpretedValue; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue defaults) { - Objects.requireNonNull(defaults); - this.interpretedValue = defaults.interpretedValue; - } - - @CustomType.Setter - public Builder interpretedValue(@Nullable String interpretedValue) { - - this.interpretedValue = interpretedValue; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue(); - _resultValue.interpretedValue = interpretedValue; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponse.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponse.java index 2847796fc19..dcc2f78074b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponse.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponse.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookMessageGroup; import com.pulumi.core.annotations.CustomType; import java.lang.Boolean; import java.util.List; @@ -22,7 +22,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - private @Nullable List messageGroups; + private @Nullable List messageGroups; private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponse() {} /** @@ -36,7 +36,7 @@ public Optional allowInterrupt() { * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - public List messageGroups() { + public List messageGroups() { return this.messageGroups == null ? List.of() : this.messageGroups; } @@ -50,7 +50,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt @CustomType.Builder public static final class Builder { private @Nullable Boolean allowInterrupt; - private @Nullable List messageGroups; + private @Nullable List messageGroups; public Builder() {} public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponse defaults) { Objects.requireNonNull(defaults); @@ -65,12 +65,12 @@ public Builder allowInterrupt(@Nullable Boolean allowInterrupt) { return this; } @CustomType.Setter - public Builder messageGroups(@Nullable List messageGroups) { + public Builder messageGroups(@Nullable List messageGroups) { this.messageGroups = messageGroups; return this; } - public Builder messageGroups(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup... messageGroups) { + public Builder messageGroups(V2modelsIntentFulfillmentCodeHookMessageGroup... messageGroups) { return messageGroups(List.of(messageGroups)); } public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponse build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup.java deleted file mode 100644 index 6d1f476fe21..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.util.List; -import java.util.Objects; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup { - /** - * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - */ - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage message; - /** - * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - private @Nullable List variations; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup() {} - /** - * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - */ - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage message() { - return this.message; - } - /** - * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - public List variations() { - return this.variations == null ? List.of() : this.variations; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage message; - private @Nullable List variations; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup defaults) { - Objects.requireNonNull(defaults); - this.message = defaults.message; - this.variations = defaults.variations; - } - - @CustomType.Setter - public Builder message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage message) { - if (message == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup", "message"); - } - this.message = message; - return this; - } - @CustomType.Setter - public Builder variations(@Nullable List variations) { - - this.variations = variations; - return this; - } - public Builder variations(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation... variations) { - return variations(List.of(variations)); - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup(); - _resultValue.message = message; - _resultValue.variations = variations; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage.java deleted file mode 100644 index b3499c72fdd..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage() {} - /** - * @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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload customPayload; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java deleted file mode 100644 index 1ee8f5cb0a5..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java deleted file mode 100644 index 183191c029e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 0313a1772ba..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java deleted file mode 100644 index 6e6803c6264..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java deleted file mode 100644 index 999b84b089c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation.java deleted file mode 100644 index ff69e306c40..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation() {} - /** - * @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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java deleted file mode 100644 index 143e1bcfbc9..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index a9f80dc7df0..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 91a8cf3f841..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index b71223b2bc8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java deleted file mode 100644 index 0021cab5241..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot.java index e7de53c9829..fae5a4df852 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookValue; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -27,7 +27,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration block for the current value of the slot. See `value`. * */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentFulfillmentCodeHookValue value; private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot() {} /** @@ -48,7 +48,7 @@ public Optional shape() { * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional value() { + public Optional value() { return Optional.ofNullable(this.value); } @@ -63,7 +63,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt public static final class Builder { private String mapBlockKey; private @Nullable String shape; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentFulfillmentCodeHookValue value; public Builder() {} public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot defaults) { Objects.requireNonNull(defaults); @@ -87,7 +87,7 @@ public Builder shape(@Nullable String shape) { return this; } @CustomType.Setter - public Builder value(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue value) { + public Builder value(@Nullable V2modelsIntentFulfillmentCodeHookValue value) { this.value = value; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue.java deleted file mode 100644 index 6cff174b19b..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue.java +++ /dev/null @@ -1,57 +0,0 @@ -// *** 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.core.annotations.CustomType; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue { - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - private @Nullable String interpretedValue; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue() {} - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String interpretedValue; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue defaults) { - Objects.requireNonNull(defaults); - this.interpretedValue = defaults.interpretedValue; - } - - @CustomType.Setter - public Builder interpretedValue(@Nullable String interpretedValue) { - - this.interpretedValue = interpretedValue; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue(); - _resultValue.interpretedValue = interpretedValue; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup.java index f0b5be19df1..f77e4375c3f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookVariation; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; @@ -17,26 +17,26 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage message; + private V2modelsIntentFulfillmentCodeHookMessage message; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - private @Nullable List variations; + private @Nullable List variations; private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup() {} /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage message() { + public V2modelsIntentFulfillmentCodeHookMessage message() { return this.message; } /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public List variations() { + public List variations() { return this.variations == null ? List.of() : this.variations; } @@ -49,8 +49,8 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt } @CustomType.Builder public static final class Builder { - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage message; - private @Nullable List variations; + private V2modelsIntentFulfillmentCodeHookMessage message; + private @Nullable List variations; public Builder() {} public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup defaults) { Objects.requireNonNull(defaults); @@ -59,7 +59,7 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati } @CustomType.Setter - public Builder message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage message) { + public Builder message(V2modelsIntentFulfillmentCodeHookMessage message) { if (message == null) { throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup", "message"); } @@ -67,12 +67,12 @@ public Builder message(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpe return this; } @CustomType.Setter - public Builder variations(@Nullable List variations) { + public Builder variations(@Nullable List variations) { this.variations = variations; return this; } - public Builder variations(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation... variations) { + public Builder variations(V2modelsIntentFulfillmentCodeHookVariation... variations) { return variations(List.of(variations)); } public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage.java deleted file mode 100644 index fe654ce740b..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage() {} - /** - * @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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java deleted file mode 100644 index 8fc075a2094..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java deleted file mode 100644 index 7597d1c6a40..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 3beceb61392..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java deleted file mode 100644 index 69d91041dd2..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java deleted file mode 100644 index c17a73218d8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation.java deleted file mode 100644 index 720eadde5c0..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation() {} - /** - * @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(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation 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 V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java deleted file mode 100644 index 3581b906720..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index 778a264fb89..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index ad43bd63e93..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index aef2b538aa1..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java deleted file mode 100644 index 26648f8380a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCard.java index 9d9c2adbfa6..b50a2f7c2bb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeo * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentFulfillmentCodeHookButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index a7ac11a840e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCard.java index f95e97ad71f..cbabb383ef4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecifi * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeo * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentSt } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentFulfillmentCodeHookButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 3d4eb500117..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookSsmlMessage.java similarity index 57% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookSsmlMessage.java index 3f181d9b7c8..c51b7fee1e5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookSsmlMessage.java @@ -9,14 +9,14 @@ import java.util.Objects; @CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage { +public final class V2modelsIntentFulfillmentCodeHookSsmlMessage { /** * @return SSML text that defines the prompt. * */ private String value; - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage() {} + private V2modelsIntentFulfillmentCodeHookSsmlMessage() {} /** * @return SSML text that defines the prompt. * @@ -29,14 +29,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage defaults) { + public static Builder builder(V2modelsIntentFulfillmentCodeHookSsmlMessage defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String value; public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage defaults) { + public Builder(V2modelsIntentFulfillmentCodeHookSsmlMessage defaults) { Objects.requireNonNull(defaults); this.value = defaults.value; } @@ -44,13 +44,13 @@ public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificati @CustomType.Setter public Builder value(String value) { if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", "value"); + throw new MissingRequiredPropertyException("V2modelsIntentFulfillmentCodeHookSsmlMessage", "value"); } this.value = value; return this; } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage(); + public V2modelsIntentFulfillmentCodeHookSsmlMessage build() { + final var _resultValue = new V2modelsIntentFulfillmentCodeHookSsmlMessage(); _resultValue.value = value; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookValue.java similarity index 70% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookValue.java index 74424e1626e..6b188eb1def 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookValue.java @@ -10,14 +10,14 @@ import javax.annotation.Nullable; @CustomType -public final class V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue { +public final class V2modelsIntentFulfillmentCodeHookValue { /** * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. * */ private @Nullable String interpretedValue; - private V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue() {} + private V2modelsIntentFulfillmentCodeHookValue() {} /** * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. * @@ -30,14 +30,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue defaults) { + public static Builder builder(V2modelsIntentFulfillmentCodeHookValue defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private @Nullable String interpretedValue; public Builder() {} - public Builder(V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue defaults) { + public Builder(V2modelsIntentFulfillmentCodeHookValue defaults) { Objects.requireNonNull(defaults); this.interpretedValue = defaults.interpretedValue; } @@ -48,8 +48,8 @@ public Builder interpretedValue(@Nullable String interpretedValue) { this.interpretedValue = interpretedValue; return this; } - public V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue build() { - final var _resultValue = new V2modelsIntentFulfillmentCodeHookPostFulfillmentStatusSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue(); + public V2modelsIntentFulfillmentCodeHookValue build() { + final var _resultValue = new V2modelsIntentFulfillmentCodeHookValue(); _resultValue.interpretedValue = interpretedValue; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookVariation.java new file mode 100644 index 00000000000..ca960a2d188 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentFulfillmentCodeHookVariation.java @@ -0,0 +1,123 @@ +// *** 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.V2modelsIntentFulfillmentCodeHookCustomPayload; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookImageResponseCard; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookPlainTextMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentFulfillmentCodeHookSsmlMessage; +import com.pulumi.core.annotations.CustomType; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class V2modelsIntentFulfillmentCodeHookVariation { + /** + * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. + * + */ + private @Nullable V2modelsIntentFulfillmentCodeHookCustomPayload 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 V2modelsIntentFulfillmentCodeHookImageResponseCard imageResponseCard; + /** + * @return Configuration block for a message in plain text format. See `plain_text_message`. + * + */ + private @Nullable V2modelsIntentFulfillmentCodeHookPlainTextMessage plainTextMessage; + /** + * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. + * + */ + private @Nullable V2modelsIntentFulfillmentCodeHookSsmlMessage ssmlMessage; + + private V2modelsIntentFulfillmentCodeHookVariation() {} + /** + * @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(V2modelsIntentFulfillmentCodeHookVariation defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable V2modelsIntentFulfillmentCodeHookCustomPayload customPayload; + private @Nullable V2modelsIntentFulfillmentCodeHookImageResponseCard imageResponseCard; + private @Nullable V2modelsIntentFulfillmentCodeHookPlainTextMessage plainTextMessage; + private @Nullable V2modelsIntentFulfillmentCodeHookSsmlMessage ssmlMessage; + public Builder() {} + public Builder(V2modelsIntentFulfillmentCodeHookVariation 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 V2modelsIntentFulfillmentCodeHookCustomPayload customPayload) { + + this.customPayload = customPayload; + return this; + } + @CustomType.Setter + public Builder imageResponseCard(@Nullable V2modelsIntentFulfillmentCodeHookImageResponseCard imageResponseCard) { + + this.imageResponseCard = imageResponseCard; + return this; + } + @CustomType.Setter + public Builder plainTextMessage(@Nullable V2modelsIntentFulfillmentCodeHookPlainTextMessage plainTextMessage) { + + this.plainTextMessage = plainTextMessage; + return this; + } + @CustomType.Setter + public Builder ssmlMessage(@Nullable V2modelsIntentFulfillmentCodeHookSsmlMessage ssmlMessage) { + + this.ssmlMessage = ssmlMessage; + return this; + } + public V2modelsIntentFulfillmentCodeHookVariation build() { + final var _resultValue = new V2modelsIntentFulfillmentCodeHookVariation(); + _resultValue.customPayload = customPayload; + _resultValue.imageResponseCard = imageResponseCard; + _resultValue.plainTextMessage = plainTextMessage; + _resultValue.ssmlMessage = ssmlMessage; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingButton.java similarity index 68% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingButton.java index ebeae711140..dd445092996 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingButton.java @@ -9,7 +9,7 @@ import java.util.Objects; @CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton { +public final class V2modelsIntentInitialResponseSettingButton { /** * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. * @@ -21,7 +21,7 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci */ private String value; - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton() {} + private V2modelsIntentInitialResponseSettingButton() {} /** * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. * @@ -41,7 +41,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton defaults) { + public static Builder builder(V2modelsIntentInitialResponseSettingButton defaults) { return new Builder(defaults); } @CustomType.Builder @@ -49,7 +49,7 @@ public static final class Builder { private String text; private String value; public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton defaults) { + public Builder(V2modelsIntentInitialResponseSettingButton defaults) { Objects.requireNonNull(defaults); this.text = defaults.text; this.value = defaults.value; @@ -58,7 +58,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica @CustomType.Setter public Builder text(String text) { if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton", "text"); + throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingButton", "text"); } this.text = text; return this; @@ -66,13 +66,13 @@ public Builder text(String text) { @CustomType.Setter public Builder value(String value) { if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton", "value"); + throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingButton", "value"); } this.value = value; return this; } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton(); + public V2modelsIntentInitialResponseSettingButton build() { + final var _resultValue = new V2modelsIntentInitialResponseSettingButton(); _resultValue.text = text; _resultValue.value = value; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStep.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStep.java index ec381531612..6a6599491c1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStep.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStep.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction; import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntent; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingDialogAction; import com.pulumi.core.annotations.CustomType; import java.lang.String; import java.util.Map; @@ -18,7 +18,7 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction dialogAction; + private @Nullable V2modelsIntentInitialResponseSettingDialogAction dialogAction; /** * @return Configuration block for override settings to configure the intent state. See `intent`. * @@ -35,7 +35,7 @@ private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFai * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - public Optional dialogAction() { + public Optional dialogAction() { return Optional.ofNullable(this.dialogAction); } /** @@ -62,7 +62,7 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo } @CustomType.Builder public static final class Builder { - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction dialogAction; + private @Nullable V2modelsIntentInitialResponseSettingDialogAction dialogAction; private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntent intent; private @Nullable Map sessionAttributes; public Builder() {} @@ -74,7 +74,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica } @CustomType.Setter - public Builder dialogAction(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction dialogAction) { + public Builder dialogAction(@Nullable V2modelsIntentInitialResponseSettingDialogAction dialogAction) { this.dialogAction = dialogAction; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction.java deleted file mode 100644 index 8450d952ca0..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction.java +++ /dev/null @@ -1,103 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Boolean; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction { - /** - * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - */ - private @Nullable String slotToElicit; - /** - * @return Whether the next message for the intent is _not_ used. - * - */ - private @Nullable Boolean suppressNextMessage; - /** - * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - private String type; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction() {} - /** - * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - */ - public Optional slotToElicit() { - return Optional.ofNullable(this.slotToElicit); - } - /** - * @return Whether the next message for the intent is _not_ used. - * - */ - public Optional suppressNextMessage() { - return Optional.ofNullable(this.suppressNextMessage); - } - /** - * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String slotToElicit; - private @Nullable Boolean suppressNextMessage; - private String type; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction defaults) { - Objects.requireNonNull(defaults); - this.slotToElicit = defaults.slotToElicit; - this.suppressNextMessage = defaults.suppressNextMessage; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder slotToElicit(@Nullable String slotToElicit) { - - this.slotToElicit = slotToElicit; - return this; - } - @CustomType.Setter - public Builder suppressNextMessage(@Nullable Boolean suppressNextMessage) { - - this.suppressNextMessage = suppressNextMessage; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction", "type"); - } - this.type = type; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepDialogAction(); - _resultValue.slotToElicit = slotToElicit; - _resultValue.suppressNextMessage = suppressNextMessage; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntent.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntent.java index fdb1dd276dc..ec60a4c7211 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntent.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntent.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingSlot; import com.pulumi.core.annotations.CustomType; import java.lang.String; import java.util.List; @@ -22,7 +22,7 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`. * */ - private @Nullable List slots; + private @Nullable List slots; private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntent() {} /** @@ -36,7 +36,7 @@ public Optional name() { * @return Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`. * */ - public List slots() { + public List slots() { return this.slots == null ? List.of() : this.slots; } @@ -50,7 +50,7 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo @CustomType.Builder public static final class Builder { private @Nullable String name; - private @Nullable List slots; + private @Nullable List slots; public Builder() {} public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntent defaults) { Objects.requireNonNull(defaults); @@ -65,12 +65,12 @@ public Builder name(@Nullable String name) { return this; } @CustomType.Setter - public Builder slots(@Nullable List slots) { + public Builder slots(@Nullable List slots) { this.slots = slots; return this; } - public Builder slots(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot... slots) { + public Builder slots(V2modelsIntentInitialResponseSettingSlot... slots) { return slots(List.of(slots)); } public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntent build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot.java deleted file mode 100644 index 9c45d9923cc..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot.java +++ /dev/null @@ -1,103 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot { - /** - * @return Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`. - * - */ - private String mapBlockKey; - /** - * @return When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value. - * - */ - private @Nullable String shape; - /** - * @return Configuration block for the current value of the slot. See `value`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot() {} - /** - * @return Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`. - * - */ - public String mapBlockKey() { - return this.mapBlockKey; - } - /** - * @return When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value. - * - */ - public Optional shape() { - return Optional.ofNullable(this.shape); - } - /** - * @return Configuration block for the current value of the slot. See `value`. - * - */ - public Optional value() { - return Optional.ofNullable(this.value); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String mapBlockKey; - private @Nullable String shape; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot defaults) { - Objects.requireNonNull(defaults); - this.mapBlockKey = defaults.mapBlockKey; - this.shape = defaults.shape; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder mapBlockKey(String mapBlockKey) { - if (mapBlockKey == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot", "mapBlockKey"); - } - this.mapBlockKey = mapBlockKey; - return this; - } - @CustomType.Setter - public Builder shape(@Nullable String shape) { - - this.shape = shape; - return this; - } - @CustomType.Setter - public Builder value(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue value) { - - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlot(); - _resultValue.mapBlockKey = mapBlockKey; - _resultValue.shape = shape; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue.java deleted file mode 100644 index fc687d10ec8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue.java +++ /dev/null @@ -1,57 +0,0 @@ -// *** 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.core.annotations.CustomType; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue { - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - private @Nullable String interpretedValue; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue() {} - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String interpretedValue; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue defaults) { - Objects.requireNonNull(defaults); - this.interpretedValue = defaults.interpretedValue; - } - - @CustomType.Setter - public Builder interpretedValue(@Nullable String interpretedValue) { - - this.interpretedValue = interpretedValue; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchNextStepIntentSlotValue(); - _resultValue.interpretedValue = interpretedValue; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse.java index 34a6ea453d6..9e1b289de35 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingMessageGroup; import com.pulumi.core.annotations.CustomType; import java.lang.Boolean; import java.util.List; @@ -22,7 +22,7 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - private @Nullable List messageGroups; + private @Nullable List messageGroups; private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse() {} /** @@ -36,7 +36,7 @@ public Optional allowInterrupt() { * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - public List messageGroups() { + public List messageGroups() { return this.messageGroups == null ? List.of() : this.messageGroups; } @@ -50,7 +50,7 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo @CustomType.Builder public static final class Builder { private @Nullable Boolean allowInterrupt; - private @Nullable List messageGroups; + private @Nullable List messageGroups; public Builder() {} public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse defaults) { Objects.requireNonNull(defaults); @@ -65,12 +65,12 @@ public Builder allowInterrupt(@Nullable Boolean allowInterrupt) { return this; } @CustomType.Setter - public Builder messageGroups(@Nullable List messageGroups) { + public Builder messageGroups(@Nullable List messageGroups) { this.messageGroups = messageGroups; return this; } - public Builder messageGroups(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup... messageGroups) { + public Builder messageGroups(V2modelsIntentInitialResponseSettingMessageGroup... messageGroups) { return messageGroups(List.of(messageGroups)); } public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponse build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup.java deleted file mode 100644 index 6370d2ca76f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.util.List; -import java.util.Objects; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup { - /** - * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - */ - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage message; - /** - * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - private @Nullable List variations; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup() {} - /** - * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - */ - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage message() { - return this.message; - } - /** - * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - public List variations() { - return this.variations == null ? List.of() : this.variations; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage message; - private @Nullable List variations; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup defaults) { - Objects.requireNonNull(defaults); - this.message = defaults.message; - this.variations = defaults.variations; - } - - @CustomType.Setter - public Builder message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage message) { - if (message == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup", "message"); - } - this.message = message; - return this; - } - @CustomType.Setter - public Builder variations(@Nullable List variations) { - - this.variations = variations; - return this; - } - public Builder variations(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation... variations) { - return variations(List.of(variations)); - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroup(); - _resultValue.message = message; - _resultValue.variations = variations; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage.java deleted file mode 100644 index dc6c42a7345..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage() {} - /** - * @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(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload customPayload; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessage(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java deleted file mode 100644 index 81bab26b162..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java deleted file mode 100644 index d6c77ab9ff5..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 244bfded65a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java deleted file mode 100644 index 7723623d87a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java deleted file mode 100644 index 51c0b74c25c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation.java deleted file mode 100644 index 62bf8df31e7..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation() {} - /** - * @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(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariation(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java deleted file mode 100644 index 26fafccc3aa..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index 240f7a2fff1..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 0b3f92b41a3..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index 1b760268049..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java deleted file mode 100644 index 382d7cf77db..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlot.java index 1d0b56cdaaa..da2f8ecbaeb 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlot.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingValue; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -27,7 +27,7 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration block for the current value of the slot. See `value`. * */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentInitialResponseSettingValue value; private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlot() {} /** @@ -48,7 +48,7 @@ public Optional shape() { * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional value() { + public Optional value() { return Optional.ofNullable(this.value); } @@ -63,7 +63,7 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo public static final class Builder { private String mapBlockKey; private @Nullable String shape; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentInitialResponseSettingValue value; public Builder() {} public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlot defaults) { Objects.requireNonNull(defaults); @@ -87,7 +87,7 @@ public Builder shape(@Nullable String shape) { return this; } @CustomType.Setter - public Builder value(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue value) { + public Builder value(@Nullable V2modelsIntentInitialResponseSettingValue value) { this.value = value; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup.java index c2263734b30..938f5614820 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingVariation; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; @@ -17,26 +17,26 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage message; + private V2modelsIntentInitialResponseSettingMessage message; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - private @Nullable List variations; + private @Nullable List variations; private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup() {} /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage message() { + public V2modelsIntentInitialResponseSettingMessage message() { return this.message; } /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public List variations() { + public List variations() { return this.variations == null ? List.of() : this.variations; } @@ -49,8 +49,8 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo } @CustomType.Builder public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage message; - private @Nullable List variations; + private V2modelsIntentInitialResponseSettingMessage message; + private @Nullable List variations; public Builder() {} public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup defaults) { Objects.requireNonNull(defaults); @@ -59,7 +59,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica } @CustomType.Setter - public Builder message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage message) { + public Builder message(V2modelsIntentInitialResponseSettingMessage message) { if (message == null) { throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup", "message"); } @@ -67,12 +67,12 @@ public Builder message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookS return this; } @CustomType.Setter - public Builder variations(@Nullable List variations) { + public Builder variations(@Nullable List variations) { this.variations = variations; return this; } - public Builder variations(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation... variations) { + public Builder variations(V2modelsIntentInitialResponseSettingVariation... variations) { return variations(List.of(variations)); } public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroup build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage.java deleted file mode 100644 index 1d9d6b05cf3..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage() {} - /** - * @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(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessage(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java deleted file mode 100644 index 1600a80f937..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java deleted file mode 100644 index 65b2efb609c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index e9e3bb12d49..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java deleted file mode 100644 index b2f41823f86..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java deleted file mode 100644 index 45533470ce5..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation.java deleted file mode 100644 index dd05c4fc6fc..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation() {} - /** - * @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(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariation(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java deleted file mode 100644 index a125a5661b6..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index a66f2b81873..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 6ae6bcdb404..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index cf4d5d3268a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java deleted file mode 100644 index c40b171a763..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCard.java index 26192d60af7..5d6f6bc8d8d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFai * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentInitialResponseSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 65b1b9a3f53..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariation.java index fe79a9e3e34..8d5da60523c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariation.java @@ -4,9 +4,9 @@ package com.pulumi.aws.lex.outputs; import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage; import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingImageResponseCard; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingPlainTextMessage; import com.pulumi.core.annotations.CustomType; import java.util.Objects; import java.util.Optional; @@ -23,12 +23,12 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard imageResponseCard; + private @Nullable V2modelsIntentInitialResponseSettingImageResponseCard imageResponseCard; /** * @return Configuration block for a message in plain text format. See `plain_text_message`. * */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage plainTextMessage; + private @Nullable V2modelsIntentInitialResponseSettingPlainTextMessage plainTextMessage; /** * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. * @@ -47,14 +47,14 @@ public Optional imageResponseCard() { + 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() { + public Optional plainTextMessage() { return Optional.ofNullable(this.plainTextMessage); } /** @@ -75,8 +75,8 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo @CustomType.Builder public static final class Builder { private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage plainTextMessage; + private @Nullable V2modelsIntentInitialResponseSettingImageResponseCard imageResponseCard; + private @Nullable V2modelsIntentInitialResponseSettingPlainTextMessage plainTextMessage; private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationSsmlMessage ssmlMessage; public Builder() {} public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariation defaults) { @@ -94,13 +94,13 @@ public Builder customPayload(@Nullable V2modelsIntentInitialResponseSettingCodeH return this; } @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard imageResponseCard) { + public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingImageResponseCard imageResponseCard) { this.imageResponseCard = imageResponseCard; return this; } @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage plainTextMessage) { + public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingPlainTextMessage plainTextMessage) { this.plainTextMessage = plainTextMessage; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index d5fe7a87c41..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index 8223aaaef06..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStep.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStep.java index 014567e4a40..8c31e95e243 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStep.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStep.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction; import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingDialogAction; import com.pulumi.core.annotations.CustomType; import java.lang.String; import java.util.Map; @@ -18,7 +18,7 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction dialogAction; + private @Nullable V2modelsIntentInitialResponseSettingDialogAction dialogAction; /** * @return Configuration block for override settings to configure the intent state. See `intent`. * @@ -35,7 +35,7 @@ private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuc * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - public Optional dialogAction() { + public Optional dialogAction() { return Optional.ofNullable(this.dialogAction); } /** @@ -62,7 +62,7 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo } @CustomType.Builder public static final class Builder { - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction dialogAction; + private @Nullable V2modelsIntentInitialResponseSettingDialogAction dialogAction; private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent intent; private @Nullable Map sessionAttributes; public Builder() {} @@ -74,7 +74,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica } @CustomType.Setter - public Builder dialogAction(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction dialogAction) { + public Builder dialogAction(@Nullable V2modelsIntentInitialResponseSettingDialogAction dialogAction) { this.dialogAction = dialogAction; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent.java index 47b20076152..cfb13be4ec6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingSlot; import com.pulumi.core.annotations.CustomType; import java.lang.String; import java.util.List; @@ -22,7 +22,7 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`. * */ - private @Nullable List slots; + private @Nullable List slots; private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent() {} /** @@ -36,7 +36,7 @@ public Optional name() { * @return Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`. * */ - public List slots() { + public List slots() { return this.slots == null ? List.of() : this.slots; } @@ -50,7 +50,7 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo @CustomType.Builder public static final class Builder { private @Nullable String name; - private @Nullable List slots; + private @Nullable List slots; public Builder() {} public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent defaults) { Objects.requireNonNull(defaults); @@ -65,12 +65,12 @@ public Builder name(@Nullable String name) { return this; } @CustomType.Setter - public Builder slots(@Nullable List slots) { + public Builder slots(@Nullable List slots) { this.slots = slots; return this; } - public Builder slots(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot... slots) { + public Builder slots(V2modelsIntentInitialResponseSettingSlot... slots) { return slots(List.of(slots)); } public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntent build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue.java deleted file mode 100644 index bd3d640044b..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue.java +++ /dev/null @@ -1,57 +0,0 @@ -// *** 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.core.annotations.CustomType; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue { - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - private @Nullable String interpretedValue; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue() {} - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String interpretedValue; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue defaults) { - Objects.requireNonNull(defaults); - this.interpretedValue = defaults.interpretedValue; - } - - @CustomType.Setter - public Builder interpretedValue(@Nullable String interpretedValue) { - - this.interpretedValue = interpretedValue; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue(); - _resultValue.interpretedValue = interpretedValue; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse.java index 85d3aa571f5..14320cd1ac6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingMessageGroup; import com.pulumi.core.annotations.CustomType; import java.lang.Boolean; import java.util.List; @@ -22,7 +22,7 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - private @Nullable List messageGroups; + private @Nullable List messageGroups; private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse() {} /** @@ -36,7 +36,7 @@ public Optional allowInterrupt() { * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - public List messageGroups() { + public List messageGroups() { return this.messageGroups == null ? List.of() : this.messageGroups; } @@ -50,7 +50,7 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo @CustomType.Builder public static final class Builder { private @Nullable Boolean allowInterrupt; - private @Nullable List messageGroups; + private @Nullable List messageGroups; public Builder() {} public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse defaults) { Objects.requireNonNull(defaults); @@ -65,12 +65,12 @@ public Builder allowInterrupt(@Nullable Boolean allowInterrupt) { return this; } @CustomType.Setter - public Builder messageGroups(@Nullable List messageGroups) { + public Builder messageGroups(@Nullable List messageGroups) { this.messageGroups = messageGroups; return this; } - public Builder messageGroups(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup... messageGroups) { + public Builder messageGroups(V2modelsIntentInitialResponseSettingMessageGroup... messageGroups) { return messageGroups(List.of(messageGroups)); } public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponse build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage.java deleted file mode 100644 index c698116a300..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage() {} - /** - * @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(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload customPayload; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java deleted file mode 100644 index eb6e8e3fe43..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java deleted file mode 100644 index 3216a236366..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 5bd68a3a605..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java deleted file mode 100644 index 58315ee10fa..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java deleted file mode 100644 index 2a1c8e193e0..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation.java deleted file mode 100644 index ef23ad11f82..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation() {} - /** - * @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(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java deleted file mode 100644 index f6e023a161e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index fb154484819..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index afad4ebe2db..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index 8f1ca1316fe..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java deleted file mode 100644 index 4ac786d08df..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot.java index 95ae8f95f88..b449af33b8c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingValue; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -27,7 +27,7 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration block for the current value of the slot. See `value`. * */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentInitialResponseSettingValue value; private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot() {} /** @@ -48,7 +48,7 @@ public Optional shape() { * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional value() { + public Optional value() { return Optional.ofNullable(this.value); } @@ -63,7 +63,7 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo public static final class Builder { private String mapBlockKey; private @Nullable String shape; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentInitialResponseSettingValue value; public Builder() {} public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlot defaults) { Objects.requireNonNull(defaults); @@ -87,7 +87,7 @@ public Builder shape(@Nullable String shape) { return this; } @CustomType.Setter - public Builder value(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue value) { + public Builder value(@Nullable V2modelsIntentInitialResponseSettingValue value) { this.value = value; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue.java deleted file mode 100644 index ec473cf1b38..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue.java +++ /dev/null @@ -1,57 +0,0 @@ -// *** 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.core.annotations.CustomType; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue { - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - private @Nullable String interpretedValue; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue() {} - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String interpretedValue; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue defaults) { - Objects.requireNonNull(defaults); - this.interpretedValue = defaults.interpretedValue; - } - - @CustomType.Setter - public Builder interpretedValue(@Nullable String interpretedValue) { - - this.interpretedValue = interpretedValue; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchNextStepIntentSlotValue(); - _resultValue.interpretedValue = interpretedValue; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup.java index 40b291b27de..853210c924a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingVariation; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; @@ -17,26 +17,26 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage message; + private V2modelsIntentInitialResponseSettingMessage message; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - private @Nullable List variations; + private @Nullable List variations; private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup() {} /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage message() { + public V2modelsIntentInitialResponseSettingMessage message() { return this.message; } /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public List variations() { + public List variations() { return this.variations == null ? List.of() : this.variations; } @@ -49,8 +49,8 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo } @CustomType.Builder public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage message; - private @Nullable List variations; + private V2modelsIntentInitialResponseSettingMessage message; + private @Nullable List variations; public Builder() {} public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup defaults) { Objects.requireNonNull(defaults); @@ -59,7 +59,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica } @CustomType.Setter - public Builder message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage message) { + public Builder message(V2modelsIntentInitialResponseSettingMessage message) { if (message == null) { throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup", "message"); } @@ -67,12 +67,12 @@ public Builder message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookS return this; } @CustomType.Setter - public Builder variations(@Nullable List variations) { + public Builder variations(@Nullable List variations) { this.variations = variations; return this; } - public Builder variations(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation... variations) { + public Builder variations(V2modelsIntentInitialResponseSettingVariation... variations) { return variations(List.of(variations)); } public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroup build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage.java deleted file mode 100644 index ce619b2ba86..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessage.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java deleted file mode 100644 index 2d3c37fd027..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java deleted file mode 100644 index 92e11881cab..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 754765b40fa..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java deleted file mode 100644 index 8dac150056d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation.java deleted file mode 100644 index 73cc6aeff85..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation() {} - /** - * @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(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariation(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java deleted file mode 100644 index d5afbf56b80..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index 840e0b97ab2..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 7f92606d4cc..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index 78d358a74ee..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java deleted file mode 100644 index 7723c00f84c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCard.java index b0397f0910d..8428488fc92 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuc * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupMessageImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentInitialResponseSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariation.java index a97e54a3a4c..c5a23c72a28 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariation.java @@ -4,9 +4,9 @@ package com.pulumi.aws.lex.outputs; import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage; import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationSsmlMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingImageResponseCard; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingPlainTextMessage; import com.pulumi.core.annotations.CustomType; import java.util.Objects; import java.util.Optional; @@ -23,12 +23,12 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard imageResponseCard; + private @Nullable V2modelsIntentInitialResponseSettingImageResponseCard imageResponseCard; /** * @return Configuration block for a message in plain text format. See `plain_text_message`. * */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage plainTextMessage; + private @Nullable V2modelsIntentInitialResponseSettingPlainTextMessage plainTextMessage; /** * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. * @@ -47,14 +47,14 @@ public Optional imageResponseCard() { + 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() { + public Optional plainTextMessage() { return Optional.ofNullable(this.plainTextMessage); } /** @@ -75,8 +75,8 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo @CustomType.Builder public static final class Builder { private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage plainTextMessage; + private @Nullable V2modelsIntentInitialResponseSettingImageResponseCard imageResponseCard; + private @Nullable V2modelsIntentInitialResponseSettingPlainTextMessage plainTextMessage; private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationSsmlMessage ssmlMessage; public Builder() {} public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariation defaults) { @@ -94,13 +94,13 @@ public Builder customPayload(@Nullable V2modelsIntentInitialResponseSettingCodeH return this; } @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard imageResponseCard) { + public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingImageResponseCard imageResponseCard) { this.imageResponseCard = imageResponseCard; return this; } @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage plainTextMessage) { + public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingPlainTextMessage plainTextMessage) { this.plainTextMessage = plainTextMessage; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index 3b6759c8775..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 6f9da9b374f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index 35d4138b675..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStep.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStep.java index 17014bcf96f..0c86368e191 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStep.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStep.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction; import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingDialogAction; import com.pulumi.core.annotations.CustomType; import java.lang.String; import java.util.Map; @@ -18,7 +18,7 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction dialogAction; + private @Nullable V2modelsIntentInitialResponseSettingDialogAction dialogAction; /** * @return Configuration block for override settings to configure the intent state. See `intent`. * @@ -35,7 +35,7 @@ private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTim * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`. * */ - public Optional dialogAction() { + public Optional dialogAction() { return Optional.ofNullable(this.dialogAction); } /** @@ -62,7 +62,7 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo } @CustomType.Builder public static final class Builder { - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction dialogAction; + private @Nullable V2modelsIntentInitialResponseSettingDialogAction dialogAction; private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent intent; private @Nullable Map sessionAttributes; public Builder() {} @@ -74,7 +74,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica } @CustomType.Setter - public Builder dialogAction(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction dialogAction) { + public Builder dialogAction(@Nullable V2modelsIntentInitialResponseSettingDialogAction dialogAction) { this.dialogAction = dialogAction; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction.java deleted file mode 100644 index 4733fa1a80d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction.java +++ /dev/null @@ -1,103 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Boolean; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction { - /** - * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - */ - private @Nullable String slotToElicit; - /** - * @return Whether the next message for the intent is _not_ used. - * - */ - private @Nullable Boolean suppressNextMessage; - /** - * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - private String type; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction() {} - /** - * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. - * - */ - public Optional slotToElicit() { - return Optional.ofNullable(this.slotToElicit); - } - /** - * @return Whether the next message for the intent is _not_ used. - * - */ - public Optional suppressNextMessage() { - return Optional.ofNullable(this.suppressNextMessage); - } - /** - * @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`. - * - */ - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String slotToElicit; - private @Nullable Boolean suppressNextMessage; - private String type; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction defaults) { - Objects.requireNonNull(defaults); - this.slotToElicit = defaults.slotToElicit; - this.suppressNextMessage = defaults.suppressNextMessage; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder slotToElicit(@Nullable String slotToElicit) { - - this.slotToElicit = slotToElicit; - return this; - } - @CustomType.Setter - public Builder suppressNextMessage(@Nullable Boolean suppressNextMessage) { - - this.suppressNextMessage = suppressNextMessage; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction", "type"); - } - this.type = type; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogAction(); - _resultValue.slotToElicit = slotToElicit; - _resultValue.suppressNextMessage = suppressNextMessage; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent.java index eb6347022ee..5d71dd0e718 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingSlot; import com.pulumi.core.annotations.CustomType; import java.lang.String; import java.util.List; @@ -22,7 +22,7 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`. * */ - private @Nullable List slots; + private @Nullable List slots; private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent() {} /** @@ -36,7 +36,7 @@ public Optional name() { * @return Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`. * */ - public List slots() { + public List slots() { return this.slots == null ? List.of() : this.slots; } @@ -50,7 +50,7 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo @CustomType.Builder public static final class Builder { private @Nullable String name; - private @Nullable List slots; + private @Nullable List slots; public Builder() {} public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent defaults) { Objects.requireNonNull(defaults); @@ -65,12 +65,12 @@ public Builder name(@Nullable String name) { return this; } @CustomType.Setter - public Builder slots(@Nullable List slots) { + public Builder slots(@Nullable List slots) { this.slots = slots; return this; } - public Builder slots(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot... slots) { + public Builder slots(V2modelsIntentInitialResponseSettingSlot... slots) { return slots(List.of(slots)); } public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntent build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot.java deleted file mode 100644 index 33d4c9ca1b2..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot.java +++ /dev/null @@ -1,103 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot { - /** - * @return Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`. - * - */ - private String mapBlockKey; - /** - * @return When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value. - * - */ - private @Nullable String shape; - /** - * @return Configuration block for the current value of the slot. See `value`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot() {} - /** - * @return Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`. - * - */ - public String mapBlockKey() { - return this.mapBlockKey; - } - /** - * @return When the shape value is `List`, `values` contains a list of slot values. When the value is `Scalar`, `value` contains a single value. - * - */ - public Optional shape() { - return Optional.ofNullable(this.shape); - } - /** - * @return Configuration block for the current value of the slot. See `value`. - * - */ - public Optional value() { - return Optional.ofNullable(this.value); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String mapBlockKey; - private @Nullable String shape; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot defaults) { - Objects.requireNonNull(defaults); - this.mapBlockKey = defaults.mapBlockKey; - this.shape = defaults.shape; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder mapBlockKey(String mapBlockKey) { - if (mapBlockKey == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot", "mapBlockKey"); - } - this.mapBlockKey = mapBlockKey; - return this; - } - @CustomType.Setter - public Builder shape(@Nullable String shape) { - - this.shape = shape; - return this; - } - @CustomType.Setter - public Builder value(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue value) { - - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlot(); - _resultValue.mapBlockKey = mapBlockKey; - _resultValue.shape = shape; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue.java deleted file mode 100644 index 6c3d3ca4362..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue.java +++ /dev/null @@ -1,57 +0,0 @@ -// *** 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.core.annotations.CustomType; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue { - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - private @Nullable String interpretedValue; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue() {} - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String interpretedValue; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue defaults) { - Objects.requireNonNull(defaults); - this.interpretedValue = defaults.interpretedValue; - } - - @CustomType.Setter - public Builder interpretedValue(@Nullable String interpretedValue) { - - this.interpretedValue = interpretedValue; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepIntentSlotValue(); - _resultValue.interpretedValue = interpretedValue; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse.java index 302797b6ec1..3fa28951f02 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingMessageGroup; import com.pulumi.core.annotations.CustomType; import java.lang.Boolean; import java.util.List; @@ -22,7 +22,7 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - private @Nullable List messageGroups; + private @Nullable List messageGroups; private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse() {} /** @@ -36,7 +36,7 @@ public Optional allowInterrupt() { * @return Configuration blocks for responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. See `message_group`. * */ - public List messageGroups() { + public List messageGroups() { return this.messageGroups == null ? List.of() : this.messageGroups; } @@ -50,7 +50,7 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo @CustomType.Builder public static final class Builder { private @Nullable Boolean allowInterrupt; - private @Nullable List messageGroups; + private @Nullable List messageGroups; public Builder() {} public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse defaults) { Objects.requireNonNull(defaults); @@ -65,12 +65,12 @@ public Builder allowInterrupt(@Nullable Boolean allowInterrupt) { return this; } @CustomType.Setter - public Builder messageGroups(@Nullable List messageGroups) { + public Builder messageGroups(@Nullable List messageGroups) { this.messageGroups = messageGroups; return this; } - public Builder messageGroups(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup... messageGroups) { + public Builder messageGroups(V2modelsIntentInitialResponseSettingMessageGroup... messageGroups) { return messageGroups(List.of(messageGroups)); } public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponse build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup.java deleted file mode 100644 index a7a67f895c3..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.util.List; -import java.util.Objects; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup { - /** - * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - */ - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage message; - /** - * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - private @Nullable List variations; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup() {} - /** - * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. - * - */ - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage message() { - return this.message; - } - /** - * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. - * - */ - public List variations() { - return this.variations == null ? List.of() : this.variations; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage message; - private @Nullable List variations; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup defaults) { - Objects.requireNonNull(defaults); - this.message = defaults.message; - this.variations = defaults.variations; - } - - @CustomType.Setter - public Builder message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage message) { - if (message == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup", "message"); - } - this.message = message; - return this; - } - @CustomType.Setter - public Builder variations(@Nullable List variations) { - - this.variations = variations; - return this; - } - public Builder variations(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation... variations) { - return variations(List.of(variations)); - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroup(); - _resultValue.message = message; - _resultValue.variations = variations; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage.java deleted file mode 100644 index f6bb0a466cc..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage() {} - /** - * @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(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload customPayload; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessage(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java deleted file mode 100644 index 6c6d3e770a9..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java deleted file mode 100644 index 72c6f521e8f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 424185a1519..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java deleted file mode 100644 index efb4ee5c748..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessagePlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java deleted file mode 100644 index ac9983e7e2a..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupMessageSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation.java deleted file mode 100644 index 90382576281..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation() {} - /** - * @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(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariation(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java deleted file mode 100644 index 086e3ed3486..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index 391994250f2..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 8ef9782ac9b..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index 6800fd61c38..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java deleted file mode 100644 index bb47ea6ef21..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchResponseMessageGroupVariationSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot.java index ba49b6205ac..07b47375c92 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingValue; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -27,7 +27,7 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration block for the current value of the slot. See `value`. * */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentInitialResponseSettingValue value; private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot() {} /** @@ -48,7 +48,7 @@ public Optional shape() { * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional value() { + public Optional value() { return Optional.ofNullable(this.value); } @@ -63,7 +63,7 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo public static final class Builder { private String mapBlockKey; private @Nullable String shape; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentInitialResponseSettingValue value; public Builder() {} public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlot defaults) { Objects.requireNonNull(defaults); @@ -87,7 +87,7 @@ public Builder shape(@Nullable String shape) { return this; } @CustomType.Setter - public Builder value(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue value) { + public Builder value(@Nullable V2modelsIntentInitialResponseSettingValue value) { this.value = value; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue.java deleted file mode 100644 index ad5a37aa0fb..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue.java +++ /dev/null @@ -1,57 +0,0 @@ -// *** 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.core.annotations.CustomType; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue { - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - private @Nullable String interpretedValue; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue() {} - /** - * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. - * - */ - public Optional interpretedValue() { - return Optional.ofNullable(this.interpretedValue); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String interpretedValue; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue defaults) { - Objects.requireNonNull(defaults); - this.interpretedValue = defaults.interpretedValue; - } - - @CustomType.Setter - public Builder interpretedValue(@Nullable String interpretedValue) { - - this.interpretedValue = interpretedValue; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchNextStepIntentSlotValue(); - _resultValue.interpretedValue = interpretedValue; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup.java index f59d6b58e4e..f68925e9c84 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingVariation; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; @@ -17,26 +17,26 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage message; + private V2modelsIntentInitialResponseSettingMessage message; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - private @Nullable List variations; + private @Nullable List variations; private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup() {} /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage message() { + public V2modelsIntentInitialResponseSettingMessage message() { return this.message; } /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public List variations() { + public List variations() { return this.variations == null ? List.of() : this.variations; } @@ -49,8 +49,8 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo } @CustomType.Builder public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage message; - private @Nullable List variations; + private V2modelsIntentInitialResponseSettingMessage message; + private @Nullable List variations; public Builder() {} public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup defaults) { Objects.requireNonNull(defaults); @@ -59,7 +59,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica } @CustomType.Setter - public Builder message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage message) { + public Builder message(V2modelsIntentInitialResponseSettingMessage message) { if (message == null) { throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup", "message"); } @@ -67,12 +67,12 @@ public Builder message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookS return this; } @CustomType.Setter - public Builder variations(@Nullable List variations) { + public Builder variations(@Nullable List variations) { this.variations = variations; return this; } - public Builder variations(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation... variations) { + public Builder variations(V2modelsIntentInitialResponseSettingVariation... variations) { return variations(List.of(variations)); } public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroup build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage.java deleted file mode 100644 index c928c88794c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage() {} - /** - * @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(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessage(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java deleted file mode 100644 index 4b958a3f1ee..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index a8320f00bcb..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java deleted file mode 100644 index 4cdfe6ebe34..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessagePlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java deleted file mode 100644 index 9317f257c48..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation.java deleted file mode 100644 index d33f1b31378..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation.java +++ /dev/null @@ -1,123 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage; -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation { - /** - * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - /** - * @return Configuration block for a message in plain text format. See `plain_text_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - /** - * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. - * - */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation() {} - /** - * @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(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation 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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload customPayload) { - - this.customPayload = customPayload; - return this; - } - @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard imageResponseCard) { - - this.imageResponseCard = imageResponseCard; - return this; - } - @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage plainTextMessage) { - - this.plainTextMessage = plainTextMessage; - return this; - } - @CustomType.Setter - public Builder ssmlMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage ssmlMessage) { - - this.ssmlMessage = ssmlMessage; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariation(); - _resultValue.customPayload = customPayload; - _resultValue.imageResponseCard = imageResponseCard; - _resultValue.plainTextMessage = plainTextMessage; - _resultValue.ssmlMessage = ssmlMessage; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java deleted file mode 100644 index 2064b278898..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload { - /** - * @return String that is sent to your application. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload() {} - /** - * @return String that is sent to your application. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationCustomPayload(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index 117de96d66e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 59fdc0132d8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java deleted file mode 100644 index 079a1158569..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage { - /** - * @return Message to send to the user. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage() {} - /** - * @return Message to send to the user. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationPlainTextMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java deleted file mode 100644 index f75a9ba678d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage { - /** - * @return SSML text that defines the prompt. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage() {} - /** - * @return SSML text that defines the prompt. - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage defaults) { - Objects.requireNonNull(defaults); - this.value = defaults.value; - } - - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupVariationSsmlMessage(); - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCard.java index 8f3bb8504e4..6fe8a32881f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -18,7 +18,7 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -40,7 +40,7 @@ private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTim * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -74,7 +74,7 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentInitialResponseSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 6ce509264aa..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariation.java index 094b320a126..cf89402eb92 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariation.java @@ -4,9 +4,9 @@ package com.pulumi.aws.lex.outputs; import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage; import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingImageResponseCard; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingPlainTextMessage; import com.pulumi.core.annotations.CustomType; import java.util.Objects; import java.util.Optional; @@ -23,12 +23,12 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @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 V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard imageResponseCard; + private @Nullable V2modelsIntentInitialResponseSettingImageResponseCard imageResponseCard; /** * @return Configuration block for a message in plain text format. See `plain_text_message`. * */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage plainTextMessage; + private @Nullable V2modelsIntentInitialResponseSettingPlainTextMessage plainTextMessage; /** * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. * @@ -47,14 +47,14 @@ public Optional imageResponseCard() { + 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() { + public Optional plainTextMessage() { return Optional.ofNullable(this.plainTextMessage); } /** @@ -75,8 +75,8 @@ public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCo @CustomType.Builder public static final class Builder { private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationCustomPayload customPayload; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard imageResponseCard; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage plainTextMessage; + private @Nullable V2modelsIntentInitialResponseSettingImageResponseCard imageResponseCard; + private @Nullable V2modelsIntentInitialResponseSettingPlainTextMessage plainTextMessage; private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationSsmlMessage ssmlMessage; public Builder() {} public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariation defaults) { @@ -94,13 +94,13 @@ public Builder customPayload(@Nullable V2modelsIntentInitialResponseSettingCodeH return this; } @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard imageResponseCard) { + public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingImageResponseCard imageResponseCard) { this.imageResponseCard = imageResponseCard; return this; } @CustomType.Setter - public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage plainTextMessage) { + public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingPlainTextMessage plainTextMessage) { this.plainTextMessage = plainTextMessage; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard.java deleted file mode 100644 index 98d88abe9b5..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard.java +++ /dev/null @@ -1,128 +0,0 @@ -// *** 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.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton; -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard { - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - private @Nullable List buttons; - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - private @Nullable String imageUrl; - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - private @Nullable String subtitle; - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - private String title; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard() {} - /** - * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. - * - */ - public List buttons() { - return this.buttons == null ? List.of() : this.buttons; - } - /** - * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. - * - */ - public Optional imageUrl() { - return Optional.ofNullable(this.imageUrl); - } - /** - * @return Subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card. - * - */ - public Optional subtitle() { - return Optional.ofNullable(this.subtitle); - } - /** - * @return Title to display on the response card. The format of the title is determined by the platform displaying the response card. - * - */ - public String title() { - return this.title; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List buttons; - private @Nullable String imageUrl; - private @Nullable String subtitle; - private String title; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard defaults) { - Objects.requireNonNull(defaults); - this.buttons = defaults.buttons; - this.imageUrl = defaults.imageUrl; - this.subtitle = defaults.subtitle; - this.title = defaults.title; - } - - @CustomType.Setter - public Builder buttons(@Nullable List buttons) { - - this.buttons = buttons; - return this; - } - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton... buttons) { - return buttons(List.of(buttons)); - } - @CustomType.Setter - public Builder imageUrl(@Nullable String imageUrl) { - - this.imageUrl = imageUrl; - return this; - } - @CustomType.Setter - public Builder subtitle(@Nullable String subtitle) { - - this.subtitle = subtitle; - return this; - } - @CustomType.Setter - public Builder title(String title) { - if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard", "title"); - } - this.title = title; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCard(); - _resultValue.buttons = buttons; - _resultValue.imageUrl = imageUrl; - _resultValue.subtitle = subtitle; - _resultValue.title = title; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 11791409a5c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,81 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton { - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - private String text; - /** - * @return Value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - * - */ - private String value; - - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton() {} - /** - * @return Text that appears on the button. Use this to tell the user what value is returned when they choose this button. - * - */ - public String text() { - return this.text; - } - /** - * @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 String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCustomPayload.java similarity index 57% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCustomPayload.java index cd19a2c743f..20412c6fa8d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCustomPayload.java @@ -9,14 +9,14 @@ import java.util.Objects; @CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload { +public final class V2modelsIntentInitialResponseSettingCustomPayload { /** * @return String that is sent to your application. * */ private String value; - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload() {} + private V2modelsIntentInitialResponseSettingCustomPayload() {} /** * @return String that is sent to your application. * @@ -29,14 +29,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload defaults) { + public static Builder builder(V2modelsIntentInitialResponseSettingCustomPayload defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String value; public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload defaults) { + public Builder(V2modelsIntentInitialResponseSettingCustomPayload defaults) { Objects.requireNonNull(defaults); this.value = defaults.value; } @@ -44,13 +44,13 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica @CustomType.Setter public Builder value(String value) { if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload", "value"); + throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCustomPayload", "value"); } this.value = value; return this; } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalDefaultBranchResponseMessageGroupMessageCustomPayload(); + public V2modelsIntentInitialResponseSettingCustomPayload build() { + final var _resultValue = new V2modelsIntentInitialResponseSettingCustomPayload(); _resultValue.value = value; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingDialogAction.java similarity index 77% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingDialogAction.java index 46b0d69efb1..280fcbd5eec 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingDialogAction.java @@ -12,7 +12,7 @@ import javax.annotation.Nullable; @CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction { +public final class V2modelsIntentInitialResponseSettingDialogAction { /** * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. * @@ -29,7 +29,7 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci */ private String type; - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction() {} + private V2modelsIntentInitialResponseSettingDialogAction() {} /** * @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user. * @@ -56,7 +56,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction defaults) { + public static Builder builder(V2modelsIntentInitialResponseSettingDialogAction defaults) { return new Builder(defaults); } @CustomType.Builder @@ -65,7 +65,7 @@ public static final class Builder { private @Nullable Boolean suppressNextMessage; private String type; public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction defaults) { + public Builder(V2modelsIntentInitialResponseSettingDialogAction defaults) { Objects.requireNonNull(defaults); this.slotToElicit = defaults.slotToElicit; this.suppressNextMessage = defaults.suppressNextMessage; @@ -87,13 +87,13 @@ public Builder suppressNextMessage(@Nullable Boolean suppressNextMessage) { @CustomType.Setter public Builder type(String type) { if (type == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction", "type"); + throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingDialogAction", "type"); } this.type = type; return this; } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepDialogAction(); + public V2modelsIntentInitialResponseSettingDialogAction build() { + final var _resultValue = new V2modelsIntentInitialResponseSettingDialogAction(); _resultValue.slotToElicit = slotToElicit; _resultValue.suppressNextMessage = suppressNextMessage; _resultValue.type = type; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingImageResponseCard.java similarity index 71% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingImageResponseCard.java index 86df0688d79..e896f008741 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -13,12 +13,12 @@ import javax.annotation.Nullable; @CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard { +public final class V2modelsIntentInitialResponseSettingImageResponseCard { /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - private @Nullable List buttons; + private @Nullable List buttons; /** * @return URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image. * @@ -35,12 +35,12 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci */ private String title; - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard() {} + private V2modelsIntentInitialResponseSettingImageResponseCard() {} /** * @return Configuration blocks for buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button. See `button`. * */ - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } /** @@ -69,17 +69,17 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard defaults) { + public static Builder builder(V2modelsIntentInitialResponseSettingImageResponseCard defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard defaults) { + public Builder(V2modelsIntentInitialResponseSettingImageResponseCard defaults) { Objects.requireNonNull(defaults); this.buttons = defaults.buttons; this.imageUrl = defaults.imageUrl; @@ -88,12 +88,12 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCardButton... buttons) { + public Builder buttons(V2modelsIntentInitialResponseSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter @@ -111,13 +111,13 @@ public Builder subtitle(@Nullable String subtitle) { @CustomType.Setter public Builder title(String title) { if (title == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard", "title"); + throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingImageResponseCard", "title"); } this.title = title; return this; } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureResponseMessageGroupVariationImageResponseCard(); + public V2modelsIntentInitialResponseSettingImageResponseCard build() { + final var _resultValue = new V2modelsIntentInitialResponseSettingImageResponseCard(); _resultValue.buttons = buttons; _resultValue.imageUrl = imageUrl; _resultValue.subtitle = subtitle; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingMessage.java new file mode 100644 index 00000000000..9c035e29adc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingMessage.java @@ -0,0 +1,123 @@ +// *** 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.V2modelsIntentInitialResponseSettingCustomPayload; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingImageResponseCard; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingPlainTextMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingSsmlMessage; +import com.pulumi.core.annotations.CustomType; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class V2modelsIntentInitialResponseSettingMessage { + /** + * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. + * + */ + private @Nullable V2modelsIntentInitialResponseSettingCustomPayload 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 V2modelsIntentInitialResponseSettingImageResponseCard imageResponseCard; + /** + * @return Configuration block for a message in plain text format. See `plain_text_message`. + * + */ + private @Nullable V2modelsIntentInitialResponseSettingPlainTextMessage plainTextMessage; + /** + * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. + * + */ + private @Nullable V2modelsIntentInitialResponseSettingSsmlMessage ssmlMessage; + + private V2modelsIntentInitialResponseSettingMessage() {} + /** + * @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(V2modelsIntentInitialResponseSettingMessage defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable V2modelsIntentInitialResponseSettingCustomPayload customPayload; + private @Nullable V2modelsIntentInitialResponseSettingImageResponseCard imageResponseCard; + private @Nullable V2modelsIntentInitialResponseSettingPlainTextMessage plainTextMessage; + private @Nullable V2modelsIntentInitialResponseSettingSsmlMessage ssmlMessage; + public Builder() {} + public Builder(V2modelsIntentInitialResponseSettingMessage 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 V2modelsIntentInitialResponseSettingCustomPayload customPayload) { + + this.customPayload = customPayload; + return this; + } + @CustomType.Setter + public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingImageResponseCard imageResponseCard) { + + this.imageResponseCard = imageResponseCard; + return this; + } + @CustomType.Setter + public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingPlainTextMessage plainTextMessage) { + + this.plainTextMessage = plainTextMessage; + return this; + } + @CustomType.Setter + public Builder ssmlMessage(@Nullable V2modelsIntentInitialResponseSettingSsmlMessage ssmlMessage) { + + this.ssmlMessage = ssmlMessage; + return this; + } + public V2modelsIntentInitialResponseSettingMessage build() { + final var _resultValue = new V2modelsIntentInitialResponseSettingMessage(); + _resultValue.customPayload = customPayload; + _resultValue.imageResponseCard = imageResponseCard; + _resultValue.plainTextMessage = plainTextMessage; + _resultValue.ssmlMessage = ssmlMessage; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingMessageGroup.java similarity index 52% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingMessageGroup.java index 1ce75d845d5..bf1b6e02c69 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingMessageGroup.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingVariation; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; @@ -12,31 +12,31 @@ import javax.annotation.Nullable; @CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup { +public final class V2modelsIntentInitialResponseSettingMessageGroup { /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage message; + private V2modelsIntentInitialResponseSettingMessage message; /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - private @Nullable List variations; + private @Nullable List variations; - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup() {} + private V2modelsIntentInitialResponseSettingMessageGroup() {} /** * @return Configuration block for the primary message that Amazon Lex should send to the user. See `message`. * */ - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage message() { + public V2modelsIntentInitialResponseSettingMessage message() { return this.message; } /** * @return Configuration blocks for message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user. See `variation`. * */ - public List variations() { + public List variations() { return this.variations == null ? List.of() : this.variations; } @@ -44,39 +44,39 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup defaults) { + public static Builder builder(V2modelsIntentInitialResponseSettingMessageGroup defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage message; - private @Nullable List variations; + private V2modelsIntentInitialResponseSettingMessage message; + private @Nullable List variations; public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup defaults) { + public Builder(V2modelsIntentInitialResponseSettingMessageGroup defaults) { Objects.requireNonNull(defaults); this.message = defaults.message; this.variations = defaults.variations; } @CustomType.Setter - public Builder message(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupMessage message) { + public Builder message(V2modelsIntentInitialResponseSettingMessage message) { if (message == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup", "message"); + throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingMessageGroup", "message"); } this.message = message; return this; } @CustomType.Setter - public Builder variations(@Nullable List variations) { + public Builder variations(@Nullable List variations) { this.variations = variations; return this; } - public Builder variations(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroupVariation... variations) { + public Builder variations(V2modelsIntentInitialResponseSettingVariation... variations) { return variations(List.of(variations)); } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchResponseMessageGroup(); + public V2modelsIntentInitialResponseSettingMessageGroup build() { + final var _resultValue = new V2modelsIntentInitialResponseSettingMessageGroup(); _resultValue.message = message; _resultValue.variations = variations; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingPlainTextMessage.java similarity index 60% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingPlainTextMessage.java index 21084b77236..3667a8c5c7c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingPlainTextMessage.java @@ -9,14 +9,14 @@ import java.util.Objects; @CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage { +public final class V2modelsIntentInitialResponseSettingPlainTextMessage { /** * @return Message to send to the user. * */ private String value; - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage() {} + private V2modelsIntentInitialResponseSettingPlainTextMessage() {} /** * @return Message to send to the user. * @@ -29,14 +29,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage defaults) { + public static Builder builder(V2modelsIntentInitialResponseSettingPlainTextMessage defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String value; public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage defaults) { + public Builder(V2modelsIntentInitialResponseSettingPlainTextMessage defaults) { Objects.requireNonNull(defaults); this.value = defaults.value; } @@ -44,13 +44,13 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica @CustomType.Setter public Builder value(String value) { if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage", "value"); + throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingPlainTextMessage", "value"); } this.value = value; return this; } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutResponseMessageGroupVariationPlainTextMessage(); + public V2modelsIntentInitialResponseSettingPlainTextMessage build() { + final var _resultValue = new V2modelsIntentInitialResponseSettingPlainTextMessage(); _resultValue.value = value; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingSlot.java similarity index 64% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingSlot.java index c42154d867c..23b5d01db8a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingSlot.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingValue; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -12,7 +12,7 @@ import javax.annotation.Nullable; @CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot { +public final class V2modelsIntentInitialResponseSettingSlot { /** * @return Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`. * @@ -27,9 +27,9 @@ public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpeci * @return Configuration block for the current value of the slot. See `value`. * */ - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentInitialResponseSettingValue value; - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot() {} + private V2modelsIntentInitialResponseSettingSlot() {} /** * @return Which attempt to configure. Valid values are `Initial`, `Retry1`, `Retry2`, `Retry3`, `Retry4`, `Retry5`. * @@ -48,7 +48,7 @@ public Optional shape() { * @return Configuration block for the current value of the slot. See `value`. * */ - public Optional value() { + public Optional value() { return Optional.ofNullable(this.value); } @@ -56,16 +56,16 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot defaults) { + public static Builder builder(V2modelsIntentInitialResponseSettingSlot defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String mapBlockKey; private @Nullable String shape; - private @Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue value; + private @Nullable V2modelsIntentInitialResponseSettingValue value; public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot defaults) { + public Builder(V2modelsIntentInitialResponseSettingSlot defaults) { Objects.requireNonNull(defaults); this.mapBlockKey = defaults.mapBlockKey; this.shape = defaults.shape; @@ -75,7 +75,7 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica @CustomType.Setter public Builder mapBlockKey(String mapBlockKey) { if (mapBlockKey == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot", "mapBlockKey"); + throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingSlot", "mapBlockKey"); } this.mapBlockKey = mapBlockKey; return this; @@ -87,13 +87,13 @@ public Builder shape(@Nullable String shape) { return this; } @CustomType.Setter - public Builder value(@Nullable V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlotValue value) { + public Builder value(@Nullable V2modelsIntentInitialResponseSettingValue value) { this.value = value; return this; } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalConditionalBranchNextStepIntentSlot(); + public V2modelsIntentInitialResponseSettingSlot build() { + final var _resultValue = new V2modelsIntentInitialResponseSettingSlot(); _resultValue.mapBlockKey = mapBlockKey; _resultValue.shape = shape; _resultValue.value = value; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingSsmlMessage.java similarity index 57% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingSsmlMessage.java index b79d82a33a9..03614f26b47 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingSsmlMessage.java @@ -9,14 +9,14 @@ import java.util.Objects; @CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage { +public final class V2modelsIntentInitialResponseSettingSsmlMessage { /** * @return SSML text that defines the prompt. * */ private String value; - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage() {} + private V2modelsIntentInitialResponseSettingSsmlMessage() {} /** * @return SSML text that defines the prompt. * @@ -29,14 +29,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage defaults) { + public static Builder builder(V2modelsIntentInitialResponseSettingSsmlMessage defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String value; public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage defaults) { + public Builder(V2modelsIntentInitialResponseSettingSsmlMessage defaults) { Objects.requireNonNull(defaults); this.value = defaults.value; } @@ -44,13 +44,13 @@ public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecifica @CustomType.Setter public Builder value(String value) { if (value == null) { - throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage", "value"); + throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingSsmlMessage", "value"); } this.value = value; return this; } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationSuccessConditionalDefaultBranchResponseMessageGroupMessageSsmlMessage(); + public V2modelsIntentInitialResponseSettingSsmlMessage build() { + final var _resultValue = new V2modelsIntentInitialResponseSettingSsmlMessage(); _resultValue.value = value; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingValue.java similarity index 70% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingValue.java index 19a98b1afd3..7cf7d765384 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingValue.java @@ -10,14 +10,14 @@ import javax.annotation.Nullable; @CustomType -public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue { +public final class V2modelsIntentInitialResponseSettingValue { /** * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. * */ private @Nullable String interpretedValue; - private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue() {} + private V2modelsIntentInitialResponseSettingValue() {} /** * @return Value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list. * @@ -30,14 +30,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue defaults) { + public static Builder builder(V2modelsIntentInitialResponseSettingValue defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private @Nullable String interpretedValue; public Builder() {} - public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue defaults) { + public Builder(V2modelsIntentInitialResponseSettingValue defaults) { Objects.requireNonNull(defaults); this.interpretedValue = defaults.interpretedValue; } @@ -48,8 +48,8 @@ public Builder interpretedValue(@Nullable String interpretedValue) { this.interpretedValue = interpretedValue; return this; } - public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue build() { - final var _resultValue = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationFailureConditionalDefaultBranchNextStepIntentSlotValue(); + public V2modelsIntentInitialResponseSettingValue build() { + final var _resultValue = new V2modelsIntentInitialResponseSettingValue(); _resultValue.interpretedValue = interpretedValue; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingVariation.java new file mode 100644 index 00000000000..3dd654d8e80 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsIntentInitialResponseSettingVariation.java @@ -0,0 +1,123 @@ +// *** 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.V2modelsIntentInitialResponseSettingCustomPayload; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingImageResponseCard; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingPlainTextMessage; +import com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingSsmlMessage; +import com.pulumi.core.annotations.CustomType; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class V2modelsIntentInitialResponseSettingVariation { + /** + * @return Configuration block for a message in a custom format defined by the client application. See `custom_payload`. + * + */ + private @Nullable V2modelsIntentInitialResponseSettingCustomPayload 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 V2modelsIntentInitialResponseSettingImageResponseCard imageResponseCard; + /** + * @return Configuration block for a message in plain text format. See `plain_text_message`. + * + */ + private @Nullable V2modelsIntentInitialResponseSettingPlainTextMessage plainTextMessage; + /** + * @return Configuration block for a message in Speech Synthesis Markup Language (SSML). See `ssml_message`. + * + */ + private @Nullable V2modelsIntentInitialResponseSettingSsmlMessage ssmlMessage; + + private V2modelsIntentInitialResponseSettingVariation() {} + /** + * @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(V2modelsIntentInitialResponseSettingVariation defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable V2modelsIntentInitialResponseSettingCustomPayload customPayload; + private @Nullable V2modelsIntentInitialResponseSettingImageResponseCard imageResponseCard; + private @Nullable V2modelsIntentInitialResponseSettingPlainTextMessage plainTextMessage; + private @Nullable V2modelsIntentInitialResponseSettingSsmlMessage ssmlMessage; + public Builder() {} + public Builder(V2modelsIntentInitialResponseSettingVariation 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 V2modelsIntentInitialResponseSettingCustomPayload customPayload) { + + this.customPayload = customPayload; + return this; + } + @CustomType.Setter + public Builder imageResponseCard(@Nullable V2modelsIntentInitialResponseSettingImageResponseCard imageResponseCard) { + + this.imageResponseCard = imageResponseCard; + return this; + } + @CustomType.Setter + public Builder plainTextMessage(@Nullable V2modelsIntentInitialResponseSettingPlainTextMessage plainTextMessage) { + + this.plainTextMessage = plainTextMessage; + return this; + } + @CustomType.Setter + public Builder ssmlMessage(@Nullable V2modelsIntentInitialResponseSettingSsmlMessage ssmlMessage) { + + this.ssmlMessage = ssmlMessage; + return this; + } + public V2modelsIntentInitialResponseSettingVariation build() { + final var _resultValue = new V2modelsIntentInitialResponseSettingVariation(); + _resultValue.customPayload = customPayload; + _resultValue.imageResponseCard = imageResponseCard; + _resultValue.plainTextMessage = plainTextMessage; + _resultValue.ssmlMessage = ssmlMessage; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingAudioSpecification.java similarity index 62% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingAudioSpecification.java index bfdeb62540c..f94cdfa13c2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingAudioSpecification.java @@ -9,11 +9,11 @@ import java.util.Objects; @CustomType -public final class V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification { +public final class V2modelsSlotValueElicitationSettingAudioSpecification { private Integer endTimeoutMs; private Integer maxLengthMs; - private V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification() {} + private V2modelsSlotValueElicitationSettingAudioSpecification() {} public Integer endTimeoutMs() { return this.endTimeoutMs; } @@ -25,7 +25,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification defaults) { + public static Builder builder(V2modelsSlotValueElicitationSettingAudioSpecification defaults) { return new Builder(defaults); } @CustomType.Builder @@ -33,7 +33,7 @@ public static final class Builder { private Integer endTimeoutMs; private Integer maxLengthMs; public Builder() {} - public Builder(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification defaults) { + public Builder(V2modelsSlotValueElicitationSettingAudioSpecification defaults) { Objects.requireNonNull(defaults); this.endTimeoutMs = defaults.endTimeoutMs; this.maxLengthMs = defaults.maxLengthMs; @@ -42,7 +42,7 @@ public Builder(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttem @CustomType.Setter public Builder endTimeoutMs(Integer endTimeoutMs) { if (endTimeoutMs == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification", "endTimeoutMs"); + throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingAudioSpecification", "endTimeoutMs"); } this.endTimeoutMs = endTimeoutMs; return this; @@ -50,13 +50,13 @@ public Builder endTimeoutMs(Integer endTimeoutMs) { @CustomType.Setter public Builder maxLengthMs(Integer maxLengthMs) { if (maxLengthMs == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification", "maxLengthMs"); + throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingAudioSpecification", "maxLengthMs"); } this.maxLengthMs = maxLengthMs; return this; } - public V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification build() { - final var _resultValue = new V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification(); + public V2modelsSlotValueElicitationSettingAudioSpecification build() { + final var _resultValue = new V2modelsSlotValueElicitationSettingAudioSpecification(); _resultValue.endTimeoutMs = endTimeoutMs; _resultValue.maxLengthMs = maxLengthMs; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingButton.java similarity index 61% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButton.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingButton.java index 3d4c7a73583..408530d9f8c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButton.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingButton.java @@ -9,11 +9,11 @@ import java.util.Objects; @CustomType -public final class V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButton { +public final class V2modelsSlotValueElicitationSettingButton { private String text; private String value; - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButton() {} + private V2modelsSlotValueElicitationSettingButton() {} public String text() { return this.text; } @@ -25,7 +25,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButton defaults) { + public static Builder builder(V2modelsSlotValueElicitationSettingButton defaults) { return new Builder(defaults); } @CustomType.Builder @@ -33,7 +33,7 @@ public static final class Builder { private String text; private String value; public Builder() {} - public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButton defaults) { + public Builder(V2modelsSlotValueElicitationSettingButton defaults) { Objects.requireNonNull(defaults); this.text = defaults.text; this.value = defaults.value; @@ -42,7 +42,7 @@ public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationCo @CustomType.Setter public Builder text(String text) { if (text == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButton", "text"); + throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingButton", "text"); } this.text = text; return this; @@ -50,13 +50,13 @@ public Builder text(String text) { @CustomType.Setter public Builder value(String value) { if (value == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButton", "value"); + throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingButton", "value"); } this.value = value; return this; } - public V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButton(); + public V2modelsSlotValueElicitationSettingButton build() { + final var _resultValue = new V2modelsSlotValueElicitationSettingButton(); _resultValue.text = text; _resultValue.value = value; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingDtmfSpecification.java similarity index 68% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingDtmfSpecification.java index 3eabfdf9ee2..5fd0579ecba 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingDtmfSpecification.java @@ -10,13 +10,13 @@ import java.util.Objects; @CustomType -public final class V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification { +public final class V2modelsSlotValueElicitationSettingDtmfSpecification { private String deletionCharacter; private String endCharacter; private Integer endTimeoutMs; private Integer maxLength; - private V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification() {} + private V2modelsSlotValueElicitationSettingDtmfSpecification() {} public String deletionCharacter() { return this.deletionCharacter; } @@ -34,7 +34,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification defaults) { + public static Builder builder(V2modelsSlotValueElicitationSettingDtmfSpecification defaults) { return new Builder(defaults); } @CustomType.Builder @@ -44,7 +44,7 @@ public static final class Builder { private Integer endTimeoutMs; private Integer maxLength; public Builder() {} - public Builder(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification defaults) { + public Builder(V2modelsSlotValueElicitationSettingDtmfSpecification defaults) { Objects.requireNonNull(defaults); this.deletionCharacter = defaults.deletionCharacter; this.endCharacter = defaults.endCharacter; @@ -55,7 +55,7 @@ public Builder(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttem @CustomType.Setter public Builder deletionCharacter(String deletionCharacter) { if (deletionCharacter == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification", "deletionCharacter"); + throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingDtmfSpecification", "deletionCharacter"); } this.deletionCharacter = deletionCharacter; return this; @@ -63,7 +63,7 @@ public Builder deletionCharacter(String deletionCharacter) { @CustomType.Setter public Builder endCharacter(String endCharacter) { if (endCharacter == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification", "endCharacter"); + throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingDtmfSpecification", "endCharacter"); } this.endCharacter = endCharacter; return this; @@ -71,7 +71,7 @@ public Builder endCharacter(String endCharacter) { @CustomType.Setter public Builder endTimeoutMs(Integer endTimeoutMs) { if (endTimeoutMs == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification", "endTimeoutMs"); + throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingDtmfSpecification", "endTimeoutMs"); } this.endTimeoutMs = endTimeoutMs; return this; @@ -79,13 +79,13 @@ public Builder endTimeoutMs(Integer endTimeoutMs) { @CustomType.Setter public Builder maxLength(Integer maxLength) { if (maxLength == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification", "maxLength"); + throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingDtmfSpecification", "maxLength"); } this.maxLength = maxLength; return this; } - public V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification build() { - final var _resultValue = new V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification(); + public V2modelsSlotValueElicitationSettingDtmfSpecification build() { + final var _resultValue = new V2modelsSlotValueElicitationSettingDtmfSpecification(); _resultValue.deletionCharacter = deletionCharacter; _resultValue.endCharacter = endCharacter; _resultValue.endTimeoutMs = endTimeoutMs; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingImageResponseCard.java similarity index 62% rename from sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCard.java rename to sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingImageResponseCard.java index 6910decbb88..84e2fc544c3 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -13,14 +13,14 @@ import javax.annotation.Nullable; @CustomType -public final class V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCard { - private @Nullable List buttons; +public final class V2modelsSlotValueElicitationSettingImageResponseCard { + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCard() {} - public List buttons() { + private V2modelsSlotValueElicitationSettingImageResponseCard() {} + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } public Optional imageUrl() { @@ -37,17 +37,17 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCard defaults) { + public static Builder builder(V2modelsSlotValueElicitationSettingImageResponseCard defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; public Builder() {} - public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCard defaults) { + public Builder(V2modelsSlotValueElicitationSettingImageResponseCard defaults) { Objects.requireNonNull(defaults); this.buttons = defaults.buttons; this.imageUrl = defaults.imageUrl; @@ -56,12 +56,12 @@ public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationSt } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButton... buttons) { + public Builder buttons(V2modelsSlotValueElicitationSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter @@ -79,13 +79,13 @@ public Builder subtitle(@Nullable String subtitle) { @CustomType.Setter public Builder title(String title) { if (title == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCard", "title"); + throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingImageResponseCard", "title"); } this.title = title; return this; } - public V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCard build() { - final var _resultValue = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCard(); + public V2modelsSlotValueElicitationSettingImageResponseCard build() { + final var _resultValue = new V2modelsSlotValueElicitationSettingImageResponseCard(); _resultValue.buttons = buttons; _resultValue.imageUrl = imageUrl; _resultValue.subtitle = subtitle; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification.java index 3b6336fff77..10071314d4b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification; -import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification; +import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingAudioSpecification; +import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingDtmfSpecification; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; @@ -14,15 +14,15 @@ @CustomType public final class V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification { - private @Nullable V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification audioSpecification; - private @Nullable V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification dtmfSpecification; + private @Nullable V2modelsSlotValueElicitationSettingAudioSpecification audioSpecification; + private @Nullable V2modelsSlotValueElicitationSettingDtmfSpecification dtmfSpecification; private Integer startTimeoutMs; private V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification() {} - public Optional audioSpecification() { + public Optional audioSpecification() { return Optional.ofNullable(this.audioSpecification); } - public Optional dtmfSpecification() { + public Optional dtmfSpecification() { return Optional.ofNullable(this.dtmfSpecification); } public Integer startTimeoutMs() { @@ -38,8 +38,8 @@ public static Builder builder(V2modelsSlotValueElicitationSettingPromptSpecifica } @CustomType.Builder public static final class Builder { - private @Nullable V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification audioSpecification; - private @Nullable V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification dtmfSpecification; + private @Nullable V2modelsSlotValueElicitationSettingAudioSpecification audioSpecification; + private @Nullable V2modelsSlotValueElicitationSettingDtmfSpecification dtmfSpecification; private Integer startTimeoutMs; public Builder() {} public Builder(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification defaults) { @@ -50,13 +50,13 @@ public Builder(V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttem } @CustomType.Setter - public Builder audioSpecification(@Nullable V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification audioSpecification) { + public Builder audioSpecification(@Nullable V2modelsSlotValueElicitationSettingAudioSpecification audioSpecification) { this.audioSpecification = audioSpecification; return this; } @CustomType.Setter - public Builder dtmfSpecification(@Nullable V2modelsSlotValueElicitationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification dtmfSpecification) { + public Builder dtmfSpecification(@Nullable V2modelsSlotValueElicitationSettingDtmfSpecification dtmfSpecification) { this.dtmfSpecification = dtmfSpecification; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCard.java index c97c79575bd..1b2f5154d30 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -14,13 +14,13 @@ @CustomType public final class V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCard { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCard() {} - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } public Optional imageUrl() { @@ -42,7 +42,7 @@ public static Builder builder(V2modelsSlotValueElicitationSettingWaitAndContinue } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -56,12 +56,12 @@ public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationCo } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButton... buttons) { + public Builder buttons(V2modelsSlotValueElicitationSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCard.java index 6d2d25ed2e9..bbfb738b543 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -14,13 +14,13 @@ @CustomType public final class V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCard { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCard() {} - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } public Optional imageUrl() { @@ -42,7 +42,7 @@ public static Builder builder(V2modelsSlotValueElicitationSettingWaitAndContinue } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -56,12 +56,12 @@ public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationCo } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButton... buttons) { + public Builder buttons(V2modelsSlotValueElicitationSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 60219f01140..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButton { - private String text; - private String value; - - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButton() {} - public String text() { - return this.text; - } - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCard.java index 9c69ea75cc2..8010cd34a66 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -14,13 +14,13 @@ @CustomType public final class V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCard { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCard() {} - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } public Optional imageUrl() { @@ -42,7 +42,7 @@ public static Builder builder(V2modelsSlotValueElicitationSettingWaitAndContinue } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -56,12 +56,12 @@ public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationSt } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButton... buttons) { + public Builder buttons(V2modelsSlotValueElicitationSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButton.java deleted file mode 100644 index 0a9d0e7e0b9..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButton.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButton { - private String text; - private String value; - - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButton() {} - public String text() { - return this.text; - } - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButton build() { - final var _resultValue = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupMessageImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariation.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariation.java index 2792990a05a..e7d6cec3f98 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariation.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariation.java @@ -3,8 +3,8 @@ package com.pulumi.aws.lex.outputs; +import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingImageResponseCard; import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationCustomPayload; -import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCard; import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationPlainTextMessage; import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationSsmlMessage; import com.pulumi.core.annotations.CustomType; @@ -16,7 +16,7 @@ @CustomType public final class V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariation { private @Nullable List customPayloads; - private @Nullable V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCard imageResponseCard; + private @Nullable V2modelsSlotValueElicitationSettingImageResponseCard imageResponseCard; private @Nullable V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationPlainTextMessage plainTextMessage; private @Nullable V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationSsmlMessage ssmlMessage; @@ -24,7 +24,7 @@ private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWait public List customPayloads() { return this.customPayloads == null ? List.of() : this.customPayloads; } - public Optional imageResponseCard() { + public Optional imageResponseCard() { return Optional.ofNullable(this.imageResponseCard); } public Optional plainTextMessage() { @@ -44,7 +44,7 @@ public static Builder builder(V2modelsSlotValueElicitationSettingWaitAndContinue @CustomType.Builder public static final class Builder { private @Nullable List customPayloads; - private @Nullable V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCard imageResponseCard; + private @Nullable V2modelsSlotValueElicitationSettingImageResponseCard imageResponseCard; private @Nullable V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationPlainTextMessage plainTextMessage; private @Nullable V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationSsmlMessage ssmlMessage; public Builder() {} @@ -66,7 +66,7 @@ public Builder customPayloads(V2modelsSlotValueElicitationSettingWaitAndContinue return customPayloads(List.of(customPayloads)); } @CustomType.Setter - public Builder imageResponseCard(@Nullable V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCard imageResponseCard) { + public Builder imageResponseCard(@Nullable V2modelsSlotValueElicitationSettingImageResponseCard imageResponseCard) { this.imageResponseCard = imageResponseCard; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index 9fb579904bc..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButton { - private String text; - private String value; - - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButton() {} - public String text() { - return this.text; - } - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationStillWaitingResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCard.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCard.java index 88c051fbe84..9e429ede8e4 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCard.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCard.java @@ -3,7 +3,7 @@ package com.pulumi.aws.lex.outputs; -import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButton; +import com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingButton; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -14,13 +14,13 @@ @CustomType public final class V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCard { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCard() {} - public List buttons() { + public List buttons() { return this.buttons == null ? List.of() : this.buttons; } public Optional imageUrl() { @@ -42,7 +42,7 @@ public static Builder builder(V2modelsSlotValueElicitationSettingWaitAndContinue } @CustomType.Builder public static final class Builder { - private @Nullable List buttons; + private @Nullable List buttons; private @Nullable String imageUrl; private @Nullable String subtitle; private String title; @@ -56,12 +56,12 @@ public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWa } @CustomType.Setter - public Builder buttons(@Nullable List buttons) { + public Builder buttons(@Nullable List buttons) { this.buttons = buttons; return this; } - public Builder buttons(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButton... buttons) { + public Builder buttons(V2modelsSlotValueElicitationSettingButton... buttons) { return buttons(List.of(buttons)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButton.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButton.java deleted file mode 100644 index d17587c3e84..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButton.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButton { - private String text; - private String value; - - private V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButton() {} - public String text() { - return this.text; - } - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButton defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String text; - private String value; - public Builder() {} - public Builder(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButton defaults) { - Objects.requireNonNull(defaults); - this.text = defaults.text; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButton", "text"); - } - this.text = text; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButton", "value"); - } - this.value = value; - return this; - } - public V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButton build() { - final var _resultValue = new V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationImageResponseCardButton(); - _resultValue.text = text; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/medialive/inputs/ChannelEncoderSettingsFrameCaptureS3SettingsArgs.java b/sdk/java/src/main/java/com/pulumi/aws/medialive/inputs/ChannelEncoderSettingsFrameCaptureS3SettingsArgs.java new file mode 100644 index 00000000000..979d13f5cb8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/medialive/inputs/ChannelEncoderSettingsFrameCaptureS3SettingsArgs.java @@ -0,0 +1,83 @@ +// *** 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.medialive.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ChannelEncoderSettingsFrameCaptureS3SettingsArgs extends com.pulumi.resources.ResourceArgs { + + public static final ChannelEncoderSettingsFrameCaptureS3SettingsArgs Empty = new ChannelEncoderSettingsFrameCaptureS3SettingsArgs(); + + /** + * Specify the canned ACL to apply to each S3 request. + * + */ + @Import(name="cannedAcl") + private @Nullable Output cannedAcl; + + /** + * @return Specify the canned ACL to apply to each S3 request. + * + */ + public Optional> cannedAcl() { + return Optional.ofNullable(this.cannedAcl); + } + + private ChannelEncoderSettingsFrameCaptureS3SettingsArgs() {} + + private ChannelEncoderSettingsFrameCaptureS3SettingsArgs(ChannelEncoderSettingsFrameCaptureS3SettingsArgs $) { + this.cannedAcl = $.cannedAcl; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ChannelEncoderSettingsFrameCaptureS3SettingsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ChannelEncoderSettingsFrameCaptureS3SettingsArgs $; + + public Builder() { + $ = new ChannelEncoderSettingsFrameCaptureS3SettingsArgs(); + } + + public Builder(ChannelEncoderSettingsFrameCaptureS3SettingsArgs defaults) { + $ = new ChannelEncoderSettingsFrameCaptureS3SettingsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param cannedAcl Specify the canned ACL to apply to each S3 request. + * + * @return builder + * + */ + public Builder cannedAcl(@Nullable Output cannedAcl) { + $.cannedAcl = cannedAcl; + return this; + } + + /** + * @param cannedAcl Specify the canned ACL to apply to each S3 request. + * + * @return builder + * + */ + public Builder cannedAcl(String cannedAcl) { + return cannedAcl(Output.of(cannedAcl)); + } + + public ChannelEncoderSettingsFrameCaptureS3SettingsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/medialive/inputs/ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsArgs.java b/sdk/java/src/main/java/com/pulumi/aws/medialive/inputs/ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsArgs.java index 18fe7ef2bc0..8323be271e6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/medialive/inputs/ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/medialive/inputs/ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.medialive.inputs; -import com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3SettingsArgs; +import com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsFrameCaptureS3SettingsArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.util.Objects; @@ -16,9 +16,9 @@ public final class ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCapt public static final ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsArgs Empty = new ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsArgs(); @Import(name="frameCaptureS3Settings") - private @Nullable Output frameCaptureS3Settings; + private @Nullable Output frameCaptureS3Settings; - public Optional> frameCaptureS3Settings() { + public Optional> frameCaptureS3Settings() { return Optional.ofNullable(this.frameCaptureS3Settings); } @@ -46,12 +46,12 @@ public Builder(ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureG $ = new ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsArgs(Objects.requireNonNull(defaults)); } - public Builder frameCaptureS3Settings(@Nullable Output frameCaptureS3Settings) { + public Builder frameCaptureS3Settings(@Nullable Output frameCaptureS3Settings) { $.frameCaptureS3Settings = frameCaptureS3Settings; return this; } - public Builder frameCaptureS3Settings(ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3SettingsArgs frameCaptureS3Settings) { + public Builder frameCaptureS3Settings(ChannelEncoderSettingsFrameCaptureS3SettingsArgs frameCaptureS3Settings) { return frameCaptureS3Settings(Output.of(frameCaptureS3Settings)); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/medialive/inputs/ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3SettingsArgs.java b/sdk/java/src/main/java/com/pulumi/aws/medialive/inputs/ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3SettingsArgs.java deleted file mode 100644 index 6e0e71492c7..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/medialive/inputs/ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3SettingsArgs.java +++ /dev/null @@ -1,83 +0,0 @@ -// *** 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.medialive.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3SettingsArgs extends com.pulumi.resources.ResourceArgs { - - public static final ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3SettingsArgs Empty = new ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3SettingsArgs(); - - /** - * Specify the canned ACL to apply to each S3 request. - * - */ - @Import(name="cannedAcl") - private @Nullable Output cannedAcl; - - /** - * @return Specify the canned ACL to apply to each S3 request. - * - */ - public Optional> cannedAcl() { - return Optional.ofNullable(this.cannedAcl); - } - - private ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3SettingsArgs() {} - - private ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3SettingsArgs(ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3SettingsArgs $) { - this.cannedAcl = $.cannedAcl; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3SettingsArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3SettingsArgs $; - - public Builder() { - $ = new ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3SettingsArgs(); - } - - public Builder(ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3SettingsArgs defaults) { - $ = new ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3SettingsArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param cannedAcl Specify the canned ACL to apply to each S3 request. - * - * @return builder - * - */ - public Builder cannedAcl(@Nullable Output cannedAcl) { - $.cannedAcl = cannedAcl; - return this; - } - - /** - * @param cannedAcl Specify the canned ACL to apply to each S3 request. - * - * @return builder - * - */ - public Builder cannedAcl(String cannedAcl) { - return cannedAcl(Output.of(cannedAcl)); - } - - public ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3SettingsArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/medialive/outputs/ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3Settings.java b/sdk/java/src/main/java/com/pulumi/aws/medialive/outputs/ChannelEncoderSettingsFrameCaptureS3Settings.java similarity index 58% rename from sdk/java/src/main/java/com/pulumi/aws/medialive/outputs/ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3Settings.java rename to sdk/java/src/main/java/com/pulumi/aws/medialive/outputs/ChannelEncoderSettingsFrameCaptureS3Settings.java index df283ae28ce..924f93e222c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/medialive/outputs/ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3Settings.java +++ b/sdk/java/src/main/java/com/pulumi/aws/medialive/outputs/ChannelEncoderSettingsFrameCaptureS3Settings.java @@ -10,14 +10,14 @@ import javax.annotation.Nullable; @CustomType -public final class ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3Settings { +public final class ChannelEncoderSettingsFrameCaptureS3Settings { /** * @return Specify the canned ACL to apply to each S3 request. * */ private @Nullable String cannedAcl; - private ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3Settings() {} + private ChannelEncoderSettingsFrameCaptureS3Settings() {} /** * @return Specify the canned ACL to apply to each S3 request. * @@ -30,14 +30,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3Settings defaults) { + public static Builder builder(ChannelEncoderSettingsFrameCaptureS3Settings defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private @Nullable String cannedAcl; public Builder() {} - public Builder(ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3Settings defaults) { + public Builder(ChannelEncoderSettingsFrameCaptureS3Settings defaults) { Objects.requireNonNull(defaults); this.cannedAcl = defaults.cannedAcl; } @@ -48,8 +48,8 @@ public Builder cannedAcl(@Nullable String cannedAcl) { this.cannedAcl = cannedAcl; return this; } - public ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3Settings build() { - final var _resultValue = new ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3Settings(); + public ChannelEncoderSettingsFrameCaptureS3Settings build() { + final var _resultValue = new ChannelEncoderSettingsFrameCaptureS3Settings(); _resultValue.cannedAcl = cannedAcl; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/medialive/outputs/ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettings.java b/sdk/java/src/main/java/com/pulumi/aws/medialive/outputs/ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettings.java index 86a012d23f7..039c97f2f5d 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/medialive/outputs/ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettings.java +++ b/sdk/java/src/main/java/com/pulumi/aws/medialive/outputs/ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettings.java @@ -3,7 +3,7 @@ package com.pulumi.aws.medialive.outputs; -import com.pulumi.aws.medialive.outputs.ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3Settings; +import com.pulumi.aws.medialive.outputs.ChannelEncoderSettingsFrameCaptureS3Settings; import com.pulumi.core.annotations.CustomType; import java.util.Objects; import java.util.Optional; @@ -11,10 +11,10 @@ @CustomType public final class ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettings { - private @Nullable ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3Settings frameCaptureS3Settings; + private @Nullable ChannelEncoderSettingsFrameCaptureS3Settings frameCaptureS3Settings; private ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettings() {} - public Optional frameCaptureS3Settings() { + public Optional frameCaptureS3Settings() { return Optional.ofNullable(this.frameCaptureS3Settings); } @@ -27,7 +27,7 @@ public static Builder builder(ChannelEncoderSettingsOutputGroupOutputGroupSettin } @CustomType.Builder public static final class Builder { - private @Nullable ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3Settings frameCaptureS3Settings; + private @Nullable ChannelEncoderSettingsFrameCaptureS3Settings frameCaptureS3Settings; public Builder() {} public Builder(ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettings defaults) { Objects.requireNonNull(defaults); @@ -35,7 +35,7 @@ public Builder(ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureG } @CustomType.Setter - public Builder frameCaptureS3Settings(@Nullable ChannelEncoderSettingsOutputGroupOutputGroupSettingsFrameCaptureGroupSettingsFrameCaptureCdnSettingsFrameCaptureS3Settings frameCaptureS3Settings) { + public Builder frameCaptureS3Settings(@Nullable ChannelEncoderSettingsFrameCaptureS3Settings frameCaptureS3Settings) { this.frameCaptureS3Settings = frameCaptureS3Settings; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleAllArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleAllArgs.java new file mode 100644 index 00000000000..c1934a9de0d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleAllArgs.java @@ -0,0 +1,28 @@ +// *** 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.wafv2.inputs; + + + + +public final class RuleGroupRuleAllArgs extends com.pulumi.resources.ResourceArgs { + + public static final RuleGroupRuleAllArgs Empty = new RuleGroupRuleAllArgs(); + + public static Builder builder() { + return new Builder(); + } + + public static final class Builder { + private RuleGroupRuleAllArgs $; + + public Builder() { + $ = new RuleGroupRuleAllArgs(); + } + public RuleGroupRuleAllArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleMatchPatternArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleMatchPatternArgs.java new file mode 100644 index 00000000000..6554396a6ac --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleMatchPatternArgs.java @@ -0,0 +1,106 @@ +// *** 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.wafv2.inputs; + +import com.pulumi.aws.wafv2.inputs.RuleGroupRuleAllArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class RuleGroupRuleMatchPatternArgs extends com.pulumi.resources.ResourceArgs { + + public static final RuleGroupRuleMatchPatternArgs Empty = new RuleGroupRuleMatchPatternArgs(); + + /** + * An empty configuration block that is used for inspecting all headers. + * + */ + @Import(name="all") + private @Nullable Output all; + + /** + * @return An empty configuration block that is used for inspecting all headers. + * + */ + public Optional> all() { + return Optional.ofNullable(this.all); + } + + @Import(name="includedPaths") + private @Nullable Output> includedPaths; + + public Optional>> includedPaths() { + return Optional.ofNullable(this.includedPaths); + } + + private RuleGroupRuleMatchPatternArgs() {} + + private RuleGroupRuleMatchPatternArgs(RuleGroupRuleMatchPatternArgs $) { + this.all = $.all; + this.includedPaths = $.includedPaths; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(RuleGroupRuleMatchPatternArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private RuleGroupRuleMatchPatternArgs $; + + public Builder() { + $ = new RuleGroupRuleMatchPatternArgs(); + } + + public Builder(RuleGroupRuleMatchPatternArgs defaults) { + $ = new RuleGroupRuleMatchPatternArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param all An empty configuration block that is used for inspecting all headers. + * + * @return builder + * + */ + public Builder all(@Nullable Output all) { + $.all = all; + return this; + } + + /** + * @param all An empty configuration block that is used for inspecting all headers. + * + * @return builder + * + */ + public Builder all(RuleGroupRuleAllArgs all) { + return all(Output.of(all)); + } + + public Builder includedPaths(@Nullable Output> includedPaths) { + $.includedPaths = includedPaths; + return this; + } + + public Builder includedPaths(List includedPaths) { + return includedPaths(Output.of(includedPaths)); + } + + public Builder includedPaths(String... includedPaths) { + return includedPaths(List.of(includedPaths)); + } + + public RuleGroupRuleMatchPatternArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleSingleQueryArgumentArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleSingleQueryArgumentArgs.java new file mode 100644 index 00000000000..b413469049f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleSingleQueryArgumentArgs.java @@ -0,0 +1,85 @@ +// *** 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.wafv2.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 RuleGroupRuleSingleQueryArgumentArgs extends com.pulumi.resources.ResourceArgs { + + public static final RuleGroupRuleSingleQueryArgumentArgs Empty = new RuleGroupRuleSingleQueryArgumentArgs(); + + /** + * The name of the query header to inspect. This setting must be provided as lower case characters. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return The name of the query header to inspect. This setting must be provided as lower case characters. + * + */ + public Output name() { + return this.name; + } + + private RuleGroupRuleSingleQueryArgumentArgs() {} + + private RuleGroupRuleSingleQueryArgumentArgs(RuleGroupRuleSingleQueryArgumentArgs $) { + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(RuleGroupRuleSingleQueryArgumentArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private RuleGroupRuleSingleQueryArgumentArgs $; + + public Builder() { + $ = new RuleGroupRuleSingleQueryArgumentArgs(); + } + + public Builder(RuleGroupRuleSingleQueryArgumentArgs defaults) { + $ = new RuleGroupRuleSingleQueryArgumentArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name The name of the query header to inspect. This setting must be provided as lower case characters. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the query header to inspect. This setting must be provided as lower case characters. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public RuleGroupRuleSingleQueryArgumentArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("RuleGroupRuleSingleQueryArgumentArgs", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchArgs.java index e5bac288f47..433f85d5a80 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchArgs.java @@ -3,6 +3,7 @@ package com.pulumi.aws.wafv2.inputs; +import com.pulumi.aws.wafv2.inputs.RuleGroupRuleSingleQueryArgumentArgs; import com.pulumi.aws.wafv2.inputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArgumentsArgs; import com.pulumi.aws.wafv2.inputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchBodyArgs; import com.pulumi.aws.wafv2.inputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesArgs; @@ -13,7 +14,6 @@ import com.pulumi.aws.wafv2.inputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchMethodArgs; import com.pulumi.aws.wafv2.inputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchQueryStringArgs; import com.pulumi.aws.wafv2.inputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleHeaderArgs; -import com.pulumi.aws.wafv2.inputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs; import com.pulumi.aws.wafv2.inputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriPathArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; @@ -174,13 +174,13 @@ public Optional singleQueryArgument; + private @Nullable Output singleQueryArgument; /** * @return Inspect a single query argument. See Single Query Argument below for details. * */ - public Optional> singleQueryArgument() { + public Optional> singleQueryArgument() { return Optional.ofNullable(this.singleQueryArgument); } @@ -458,7 +458,7 @@ public Builder singleHeader(RuleGroupRuleStatementRateBasedStatementScopeDownSta * @return builder * */ - public Builder singleQueryArgument(@Nullable Output singleQueryArgument) { + public Builder singleQueryArgument(@Nullable Output singleQueryArgument) { $.singleQueryArgument = singleQueryArgument; return this; } @@ -469,7 +469,7 @@ public Builder singleQueryArgument(@Nullable Output> matchPatterns; + private Output> matchPatterns; /** * @return The filter to use to identify the subset of cookies to inspect in a web request. You must specify exactly one setting: either `all`, `included_cookies` or `excluded_cookies`. More details: [CookieMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_CookieMatchPattern.html) * */ - public Output> matchPatterns() { + public Output> matchPatterns() { return this.matchPatterns; } @@ -93,7 +93,7 @@ public Builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPa * @return builder * */ - public Builder matchPatterns(Output> matchPatterns) { + public Builder matchPatterns(Output> matchPatterns) { $.matchPatterns = matchPatterns; return this; } @@ -104,7 +104,7 @@ public Builder matchPatterns(Output matchPatterns) { + public Builder matchPatterns(List matchPatterns) { return matchPatterns(Output.of(matchPatterns)); } @@ -114,7 +114,7 @@ public Builder matchPatterns(List all; - - /** - * @return An empty configuration block that is used for inspecting all headers. - * - */ - public Optional> all() { - return Optional.ofNullable(this.all); - } - - @Import(name="excludedCookies") - private @Nullable Output> excludedCookies; - - public Optional>> excludedCookies() { - return Optional.ofNullable(this.excludedCookies); - } - - @Import(name="includedCookies") - private @Nullable Output> includedCookies; - - public Optional>> includedCookies() { - return Optional.ofNullable(this.includedCookies); - } - - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs() {} - - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs $) { - this.all = $.all; - this.excludedCookies = $.excludedCookies; - this.includedCookies = $.includedCookies; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs $; - - public Builder() { - $ = new RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs(); - } - - public Builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs defaults) { - $ = new RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param all An empty configuration block that is used for inspecting all headers. - * - * @return builder - * - */ - public Builder all(@Nullable Output all) { - $.all = all; - return this; - } - - /** - * @param all An empty configuration block that is used for inspecting all headers. - * - * @return builder - * - */ - public Builder all(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAllArgs all) { - return all(Output.of(all)); - } - - public Builder excludedCookies(@Nullable Output> excludedCookies) { - $.excludedCookies = excludedCookies; - return this; - } - - public Builder excludedCookies(List excludedCookies) { - return excludedCookies(Output.of(excludedCookies)); - } - - public Builder excludedCookies(String... excludedCookies) { - return excludedCookies(List.of(excludedCookies)); - } - - public Builder includedCookies(@Nullable Output> includedCookies) { - $.includedCookies = includedCookies; - return this; - } - - public Builder includedCookies(List includedCookies) { - return includedCookies(Output.of(includedCookies)); - } - - public Builder includedCookies(String... includedCookies) { - return includedCookies(List.of(includedCookies)); - } - - public RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderArgs.java index 11428941f87..75522b09521 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.inputs; -import com.pulumi.aws.wafv2.inputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs; +import com.pulumi.aws.wafv2.inputs.RuleGroupRuleMatchPatternArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -20,13 +20,13 @@ public final class RuleGroupRuleStatementRateBasedStatementScopeDownStatementReg * */ @Import(name="matchPattern", required=true) - private Output matchPattern; + private Output matchPattern; /** * @return The filter to use to identify the subset of headers to inspect in a web request. The `match_pattern` block supports only one of the following arguments: * */ - public Output matchPattern() { + public Output matchPattern() { return this.matchPattern; } @@ -92,7 +92,7 @@ public Builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPa * @return builder * */ - public Builder matchPattern(Output matchPattern) { + public Builder matchPattern(Output matchPattern) { $.matchPattern = matchPattern; return this; } @@ -103,7 +103,7 @@ public Builder matchPattern(Output all; - - /** - * @return An empty configuration block that is used for inspecting all headers. - * - */ - public Optional> all() { - return Optional.ofNullable(this.all); - } - - /** - * An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values. - * - */ - @Import(name="excludedHeaders") - private @Nullable Output> excludedHeaders; - - /** - * @return An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values. - * - */ - public Optional>> excludedHeaders() { - return Optional.ofNullable(this.excludedHeaders); - } - - /** - * An array of strings that will be used for inspecting headers that have a key that matches one of the provided values. - * - */ - @Import(name="includedHeaders") - private @Nullable Output> includedHeaders; - - /** - * @return An array of strings that will be used for inspecting headers that have a key that matches one of the provided values. - * - */ - public Optional>> includedHeaders() { - return Optional.ofNullable(this.includedHeaders); - } - - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs() {} - - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs $) { - this.all = $.all; - this.excludedHeaders = $.excludedHeaders; - this.includedHeaders = $.includedHeaders; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs $; - - public Builder() { - $ = new RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs(); - } - - public Builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs defaults) { - $ = new RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param all An empty configuration block that is used for inspecting all headers. - * - * @return builder - * - */ - public Builder all(@Nullable Output all) { - $.all = all; - return this; - } - - /** - * @param all An empty configuration block that is used for inspecting all headers. - * - * @return builder - * - */ - public Builder all(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAllArgs all) { - return all(Output.of(all)); - } - - /** - * @param excludedHeaders An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values. - * - * @return builder - * - */ - public Builder excludedHeaders(@Nullable Output> excludedHeaders) { - $.excludedHeaders = excludedHeaders; - return this; - } - - /** - * @param excludedHeaders An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values. - * - * @return builder - * - */ - public Builder excludedHeaders(List excludedHeaders) { - return excludedHeaders(Output.of(excludedHeaders)); - } - - /** - * @param excludedHeaders An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values. - * - * @return builder - * - */ - public Builder excludedHeaders(String... excludedHeaders) { - return excludedHeaders(List.of(excludedHeaders)); - } - - /** - * @param includedHeaders An array of strings that will be used for inspecting headers that have a key that matches one of the provided values. - * - * @return builder - * - */ - public Builder includedHeaders(@Nullable Output> includedHeaders) { - $.includedHeaders = includedHeaders; - return this; - } - - /** - * @param includedHeaders An array of strings that will be used for inspecting headers that have a key that matches one of the provided values. - * - * @return builder - * - */ - public Builder includedHeaders(List includedHeaders) { - return includedHeaders(Output.of(includedHeaders)); - } - - /** - * @param includedHeaders An array of strings that will be used for inspecting headers that have a key that matches one of the provided values. - * - * @return builder - * - */ - public Builder includedHeaders(String... includedHeaders) { - return includedHeaders(List.of(includedHeaders)); - } - - public RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyArgs.java index 6008b92b080..5fbc283e634 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.inputs; -import com.pulumi.aws.wafv2.inputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs; +import com.pulumi.aws.wafv2.inputs.RuleGroupRuleMatchPatternArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -37,13 +37,13 @@ public Optional> invalidFallbackBehavior() { * */ @Import(name="matchPattern", required=true) - private Output matchPattern; + private Output matchPattern; /** * @return The patterns to look for in the JSON body. You must specify exactly one setting: either `all` or `included_paths`. See [JsonMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_JsonMatchPattern.html) for details. * */ - public Output matchPattern() { + public Output matchPattern() { return this.matchPattern; } @@ -131,7 +131,7 @@ public Builder invalidFallbackBehavior(String invalidFallbackBehavior) { * @return builder * */ - public Builder matchPattern(Output matchPattern) { + public Builder matchPattern(Output matchPattern) { $.matchPattern = matchPattern; return this; } @@ -142,7 +142,7 @@ public Builder matchPattern(Output all; - - /** - * @return An empty configuration block that is used for inspecting all headers. - * - */ - public Optional> all() { - return Optional.ofNullable(this.all); - } - - @Import(name="includedPaths") - private @Nullable Output> includedPaths; - - public Optional>> includedPaths() { - return Optional.ofNullable(this.includedPaths); - } - - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs() {} - - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs $) { - this.all = $.all; - this.includedPaths = $.includedPaths; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs $; - - public Builder() { - $ = new RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs(); - } - - public Builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs defaults) { - $ = new RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param all An empty configuration block that is used for inspecting all headers. - * - * @return builder - * - */ - public Builder all(@Nullable Output all) { - $.all = all; - return this; - } - - /** - * @param all An empty configuration block that is used for inspecting all headers. - * - * @return builder - * - */ - public Builder all(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAllArgs all) { - return all(Output.of(all)); - } - - public Builder includedPaths(@Nullable Output> includedPaths) { - $.includedPaths = includedPaths; - return this; - } - - public Builder includedPaths(List includedPaths) { - return includedPaths(Output.of(includedPaths)); - } - - public Builder includedPaths(String... includedPaths) { - return includedPaths(List.of(includedPaths)); - } - - public RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs.java deleted file mode 100644 index 9f05b138002..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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.wafv2.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 RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs extends com.pulumi.resources.ResourceArgs { - - public static final RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs Empty = new RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs(); - - /** - * The name of the query header to inspect. This setting must be provided as lower case characters. - * - */ - @Import(name="name", required=true) - private Output name; - - /** - * @return The name of the query header to inspect. This setting must be provided as lower case characters. - * - */ - public Output name() { - return this.name; - } - - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs() {} - - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs $) { - this.name = $.name; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs $; - - public Builder() { - $ = new RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs(); - } - - public Builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs defaults) { - $ = new RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param name The name of the query header to inspect. This setting must be provided as lower case characters. - * - * @return builder - * - */ - public Builder name(Output name) { - $.name = name; - return this; - } - - /** - * @param name The name of the query header to inspect. This setting must be provided as lower case characters. - * - * @return builder - * - */ - public Builder name(String name) { - return name(Output.of(name)); - } - - public RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs build() { - if ($.name == null) { - throw new MissingRequiredPropertyException("RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs", "name"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleAddressFieldsArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleAddressFieldsArgs.java new file mode 100644 index 00000000000..1f763ca9a91 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleAddressFieldsArgs.java @@ -0,0 +1,70 @@ +// *** 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.wafv2.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class WebAclRuleAddressFieldsArgs extends com.pulumi.resources.ResourceArgs { + + public static final WebAclRuleAddressFieldsArgs Empty = new WebAclRuleAddressFieldsArgs(); + + @Import(name="identifiers", required=true) + private Output> identifiers; + + public Output> identifiers() { + return this.identifiers; + } + + private WebAclRuleAddressFieldsArgs() {} + + private WebAclRuleAddressFieldsArgs(WebAclRuleAddressFieldsArgs $) { + this.identifiers = $.identifiers; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(WebAclRuleAddressFieldsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private WebAclRuleAddressFieldsArgs $; + + public Builder() { + $ = new WebAclRuleAddressFieldsArgs(); + } + + public Builder(WebAclRuleAddressFieldsArgs defaults) { + $ = new WebAclRuleAddressFieldsArgs(Objects.requireNonNull(defaults)); + } + + public Builder identifiers(Output> identifiers) { + $.identifiers = identifiers; + return this; + } + + public Builder identifiers(List identifiers) { + return identifiers(Output.of(identifiers)); + } + + public Builder identifiers(String... identifiers) { + return identifiers(List.of(identifiers)); + } + + public WebAclRuleAddressFieldsArgs build() { + if ($.identifiers == null) { + throw new MissingRequiredPropertyException("WebAclRuleAddressFieldsArgs", "identifiers"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleAllArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleAllArgs.java new file mode 100644 index 00000000000..220ad88856c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleAllArgs.java @@ -0,0 +1,28 @@ +// *** 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.wafv2.inputs; + + + + +public final class WebAclRuleAllArgs extends com.pulumi.resources.ResourceArgs { + + public static final WebAclRuleAllArgs Empty = new WebAclRuleAllArgs(); + + public static Builder builder() { + return new Builder(); + } + + public static final class Builder { + private WebAclRuleAllArgs $; + + public Builder() { + $ = new WebAclRuleAllArgs(); + } + public WebAclRuleAllArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleAllQueryArgumentsArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleAllQueryArgumentsArgs.java new file mode 100644 index 00000000000..7f73bb8b388 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleAllQueryArgumentsArgs.java @@ -0,0 +1,28 @@ +// *** 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.wafv2.inputs; + + + + +public final class WebAclRuleAllQueryArgumentsArgs extends com.pulumi.resources.ResourceArgs { + + public static final WebAclRuleAllQueryArgumentsArgs Empty = new WebAclRuleAllQueryArgumentsArgs(); + + public static Builder builder() { + return new Builder(); + } + + public static final class Builder { + private WebAclRuleAllQueryArgumentsArgs $; + + public Builder() { + $ = new WebAclRuleAllQueryArgumentsArgs(); + } + public WebAclRuleAllQueryArgumentsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleBodyContainsArgs.java similarity index 64% rename from sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleBodyContainsArgs.java index f8179715871..cc18c9f0cc9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleBodyContainsArgs.java @@ -11,9 +11,9 @@ import java.util.Objects; -public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs extends com.pulumi.resources.ResourceArgs { +public final class WebAclRuleBodyContainsArgs extends com.pulumi.resources.ResourceArgs { - public static final WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs Empty = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs(); + public static final WebAclRuleBodyContainsArgs Empty = new WebAclRuleBodyContainsArgs(); /** * Strings in the body of the response that indicate a failed login attempt. @@ -45,9 +45,9 @@ public Output> successStrings() { return this.successStrings; } - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs() {} + private WebAclRuleBodyContainsArgs() {} - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs $) { + private WebAclRuleBodyContainsArgs(WebAclRuleBodyContainsArgs $) { this.failureStrings = $.failureStrings; this.successStrings = $.successStrings; } @@ -55,19 +55,19 @@ private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsMan public static Builder builder() { return new Builder(); } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs defaults) { + public static Builder builder(WebAclRuleBodyContainsArgs defaults) { return new Builder(defaults); } public static final class Builder { - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs $; + private WebAclRuleBodyContainsArgs $; public Builder() { - $ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs(); + $ = new WebAclRuleBodyContainsArgs(); } - public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs defaults) { - $ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs(Objects.requireNonNull(defaults)); + public Builder(WebAclRuleBodyContainsArgs defaults) { + $ = new WebAclRuleBodyContainsArgs(Objects.requireNonNull(defaults)); } /** @@ -132,12 +132,12 @@ public Builder successStrings(String... successStrings) { return successStrings(List.of(successStrings)); } - public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs build() { + public WebAclRuleBodyContainsArgs build() { if ($.failureStrings == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs", "failureStrings"); + throw new MissingRequiredPropertyException("WebAclRuleBodyContainsArgs", "failureStrings"); } if ($.successStrings == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs", "successStrings"); + throw new MissingRequiredPropertyException("WebAclRuleBodyContainsArgs", "successStrings"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3FingerprintArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleJa3FingerprintArgs.java similarity index 52% rename from sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3FingerprintArgs.java rename to sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleJa3FingerprintArgs.java index e91f053a198..47f2ffed2a6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3FingerprintArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleJa3FingerprintArgs.java @@ -10,9 +10,9 @@ import java.util.Objects; -public final class WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3FingerprintArgs extends com.pulumi.resources.ResourceArgs { +public final class WebAclRuleJa3FingerprintArgs extends com.pulumi.resources.ResourceArgs { - public static final WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3FingerprintArgs Empty = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3FingerprintArgs(); + public static final WebAclRuleJa3FingerprintArgs Empty = new WebAclRuleJa3FingerprintArgs(); /** * The match status to assign to the web request if the request doesn't have a JA3 fingerprint. Valid values include: `MATCH` or `NO_MATCH`. @@ -29,28 +29,28 @@ public Output fallbackBehavior() { return this.fallbackBehavior; } - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3FingerprintArgs() {} + private WebAclRuleJa3FingerprintArgs() {} - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3FingerprintArgs(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3FingerprintArgs $) { + private WebAclRuleJa3FingerprintArgs(WebAclRuleJa3FingerprintArgs $) { this.fallbackBehavior = $.fallbackBehavior; } public static Builder builder() { return new Builder(); } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3FingerprintArgs defaults) { + public static Builder builder(WebAclRuleJa3FingerprintArgs defaults) { return new Builder(defaults); } public static final class Builder { - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3FingerprintArgs $; + private WebAclRuleJa3FingerprintArgs $; public Builder() { - $ = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3FingerprintArgs(); + $ = new WebAclRuleJa3FingerprintArgs(); } - public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3FingerprintArgs defaults) { - $ = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3FingerprintArgs(Objects.requireNonNull(defaults)); + public Builder(WebAclRuleJa3FingerprintArgs defaults) { + $ = new WebAclRuleJa3FingerprintArgs(Objects.requireNonNull(defaults)); } /** @@ -74,9 +74,9 @@ public Builder fallbackBehavior(String fallbackBehavior) { return fallbackBehavior(Output.of(fallbackBehavior)); } - public WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3FingerprintArgs build() { + public WebAclRuleJa3FingerprintArgs build() { if ($.fallbackBehavior == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3FingerprintArgs", "fallbackBehavior"); + throw new MissingRequiredPropertyException("WebAclRuleJa3FingerprintArgs", "fallbackBehavior"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleMatchPatternArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleMatchPatternArgs.java new file mode 100644 index 00000000000..3b7d41b4436 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleMatchPatternArgs.java @@ -0,0 +1,106 @@ +// *** 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.wafv2.inputs; + +import com.pulumi.aws.wafv2.inputs.WebAclRuleAllArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class WebAclRuleMatchPatternArgs extends com.pulumi.resources.ResourceArgs { + + public static final WebAclRuleMatchPatternArgs Empty = new WebAclRuleMatchPatternArgs(); + + /** + * An empty configuration block that is used for inspecting all headers. + * + */ + @Import(name="all") + private @Nullable Output all; + + /** + * @return An empty configuration block that is used for inspecting all headers. + * + */ + public Optional> all() { + return Optional.ofNullable(this.all); + } + + @Import(name="includedPaths") + private @Nullable Output> includedPaths; + + public Optional>> includedPaths() { + return Optional.ofNullable(this.includedPaths); + } + + private WebAclRuleMatchPatternArgs() {} + + private WebAclRuleMatchPatternArgs(WebAclRuleMatchPatternArgs $) { + this.all = $.all; + this.includedPaths = $.includedPaths; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(WebAclRuleMatchPatternArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private WebAclRuleMatchPatternArgs $; + + public Builder() { + $ = new WebAclRuleMatchPatternArgs(); + } + + public Builder(WebAclRuleMatchPatternArgs defaults) { + $ = new WebAclRuleMatchPatternArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param all An empty configuration block that is used for inspecting all headers. + * + * @return builder + * + */ + public Builder all(@Nullable Output all) { + $.all = all; + return this; + } + + /** + * @param all An empty configuration block that is used for inspecting all headers. + * + * @return builder + * + */ + public Builder all(WebAclRuleAllArgs all) { + return all(Output.of(all)); + } + + public Builder includedPaths(@Nullable Output> includedPaths) { + $.includedPaths = includedPaths; + return this; + } + + public Builder includedPaths(List includedPaths) { + return includedPaths(Output.of(includedPaths)); + } + + public Builder includedPaths(String... includedPaths) { + return includedPaths(List.of(includedPaths)); + } + + public WebAclRuleMatchPatternArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRulePasswordFieldArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRulePasswordFieldArgs.java new file mode 100644 index 00000000000..cc1d4dc88c0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRulePasswordFieldArgs.java @@ -0,0 +1,85 @@ +// *** 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.wafv2.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 WebAclRulePasswordFieldArgs extends com.pulumi.resources.ResourceArgs { + + public static final WebAclRulePasswordFieldArgs Empty = new WebAclRulePasswordFieldArgs(); + + /** + * The name of the password field. + * + */ + @Import(name="identifier", required=true) + private Output identifier; + + /** + * @return The name of the password field. + * + */ + public Output identifier() { + return this.identifier; + } + + private WebAclRulePasswordFieldArgs() {} + + private WebAclRulePasswordFieldArgs(WebAclRulePasswordFieldArgs $) { + this.identifier = $.identifier; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(WebAclRulePasswordFieldArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private WebAclRulePasswordFieldArgs $; + + public Builder() { + $ = new WebAclRulePasswordFieldArgs(); + } + + public Builder(WebAclRulePasswordFieldArgs defaults) { + $ = new WebAclRulePasswordFieldArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param identifier The name of the password field. + * + * @return builder + * + */ + public Builder identifier(Output identifier) { + $.identifier = identifier; + return this; + } + + /** + * @param identifier The name of the password field. + * + * @return builder + * + */ + public Builder identifier(String identifier) { + return identifier(Output.of(identifier)); + } + + public WebAclRulePasswordFieldArgs build() { + if ($.identifier == null) { + throw new MissingRequiredPropertyException("WebAclRulePasswordFieldArgs", "identifier"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRulePhoneNumberFieldsArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRulePhoneNumberFieldsArgs.java new file mode 100644 index 00000000000..036e22b8464 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRulePhoneNumberFieldsArgs.java @@ -0,0 +1,70 @@ +// *** 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.wafv2.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class WebAclRulePhoneNumberFieldsArgs extends com.pulumi.resources.ResourceArgs { + + public static final WebAclRulePhoneNumberFieldsArgs Empty = new WebAclRulePhoneNumberFieldsArgs(); + + @Import(name="identifiers", required=true) + private Output> identifiers; + + public Output> identifiers() { + return this.identifiers; + } + + private WebAclRulePhoneNumberFieldsArgs() {} + + private WebAclRulePhoneNumberFieldsArgs(WebAclRulePhoneNumberFieldsArgs $) { + this.identifiers = $.identifiers; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(WebAclRulePhoneNumberFieldsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private WebAclRulePhoneNumberFieldsArgs $; + + public Builder() { + $ = new WebAclRulePhoneNumberFieldsArgs(); + } + + public Builder(WebAclRulePhoneNumberFieldsArgs defaults) { + $ = new WebAclRulePhoneNumberFieldsArgs(Objects.requireNonNull(defaults)); + } + + public Builder identifiers(Output> identifiers) { + $.identifiers = identifiers; + return this; + } + + public Builder identifiers(List identifiers) { + return identifiers(Output.of(identifiers)); + } + + public Builder identifiers(String... identifiers) { + return identifiers(List.of(identifiers)); + } + + public WebAclRulePhoneNumberFieldsArgs build() { + if ($.identifiers == null) { + throw new MissingRequiredPropertyException("WebAclRulePhoneNumberFieldsArgs", "identifiers"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleSingleQueryArgumentArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleSingleQueryArgumentArgs.java new file mode 100644 index 00000000000..1e577363aa3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleSingleQueryArgumentArgs.java @@ -0,0 +1,85 @@ +// *** 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.wafv2.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 WebAclRuleSingleQueryArgumentArgs extends com.pulumi.resources.ResourceArgs { + + public static final WebAclRuleSingleQueryArgumentArgs Empty = new WebAclRuleSingleQueryArgumentArgs(); + + /** + * Name of the query header to inspect. This setting must be provided as lower case characters. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Name of the query header to inspect. This setting must be provided as lower case characters. + * + */ + public Output name() { + return this.name; + } + + private WebAclRuleSingleQueryArgumentArgs() {} + + private WebAclRuleSingleQueryArgumentArgs(WebAclRuleSingleQueryArgumentArgs $) { + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(WebAclRuleSingleQueryArgumentArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private WebAclRuleSingleQueryArgumentArgs $; + + public Builder() { + $ = new WebAclRuleSingleQueryArgumentArgs(); + } + + public Builder(WebAclRuleSingleQueryArgumentArgs defaults) { + $ = new WebAclRuleSingleQueryArgumentArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name Name of the query header to inspect. This setting must be provided as lower case characters. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Name of the query header to inspect. This setting must be provided as lower case characters. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public WebAclRuleSingleQueryArgumentArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("WebAclRuleSingleQueryArgumentArgs", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFieldsArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFieldsArgs.java deleted file mode 100644 index 9413728126f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFieldsArgs.java +++ /dev/null @@ -1,70 +0,0 @@ -// *** 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.wafv2.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; - - -public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFieldsArgs extends com.pulumi.resources.ResourceArgs { - - public static final WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFieldsArgs Empty = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFieldsArgs(); - - @Import(name="identifiers", required=true) - private Output> identifiers; - - public Output> identifiers() { - return this.identifiers; - } - - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFieldsArgs() {} - - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFieldsArgs(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFieldsArgs $) { - this.identifiers = $.identifiers; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFieldsArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFieldsArgs $; - - public Builder() { - $ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFieldsArgs(); - } - - public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFieldsArgs defaults) { - $ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFieldsArgs(Objects.requireNonNull(defaults)); - } - - public Builder identifiers(Output> identifiers) { - $.identifiers = identifiers; - return this; - } - - public Builder identifiers(List identifiers) { - return identifiers(Output.of(identifiers)); - } - - public Builder identifiers(String... identifiers) { - return identifiers(List.of(identifiers)); - } - - public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFieldsArgs build() { - if ($.identifiers == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFieldsArgs", "identifiers"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionArgs.java index 3331684b311..ac02a858b2f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionArgs.java @@ -3,11 +3,11 @@ package com.pulumi.aws.wafv2.inputs; -import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFieldsArgs; +import com.pulumi.aws.wafv2.inputs.WebAclRuleAddressFieldsArgs; +import com.pulumi.aws.wafv2.inputs.WebAclRulePasswordFieldArgs; +import com.pulumi.aws.wafv2.inputs.WebAclRulePhoneNumberFieldsArgs; import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionEmailFieldArgs; -import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordFieldArgs; -import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFieldsArgs; -import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameFieldArgs; +import com.pulumi.aws.wafv2.inputs.WebAclRuleUsernameFieldArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -26,13 +26,13 @@ public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupC * */ @Import(name="addressFields") - private @Nullable Output addressFields; + private @Nullable Output addressFields; /** * @return The names of the fields in the request payload that contain your customer's primary physical address. See `address_fields` for more details. * */ - public Optional> addressFields() { + public Optional> addressFields() { return Optional.ofNullable(this.addressFields); } @@ -56,13 +56,13 @@ public Optional passwordField; + private @Nullable Output passwordField; /** * @return Details about your login page password field. See `password_field` for more details. * */ - public Optional> passwordField() { + public Optional> passwordField() { return Optional.ofNullable(this.passwordField); } @@ -86,13 +86,13 @@ public Output payloadType() { * */ @Import(name="phoneNumberFields") - private @Nullable Output phoneNumberFields; + private @Nullable Output phoneNumberFields; /** * @return The names of the fields in the request payload that contain your customer's primary phone number. See `phone_number_fields` for more details. * */ - public Optional> phoneNumberFields() { + public Optional> phoneNumberFields() { return Optional.ofNullable(this.phoneNumberFields); } @@ -101,13 +101,13 @@ public Optional usernameField; + private @Nullable Output usernameField; /** * @return Details about your login page username field. See `username_field` for more details. * */ - public Optional> usernameField() { + public Optional> usernameField() { return Optional.ofNullable(this.usernameField); } @@ -146,7 +146,7 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfi * @return builder * */ - public Builder addressFields(@Nullable Output addressFields) { + public Builder addressFields(@Nullable Output addressFields) { $.addressFields = addressFields; return this; } @@ -157,7 +157,7 @@ public Builder addressFields(@Nullable Output passwordField) { + public Builder passwordField(@Nullable Output passwordField) { $.passwordField = passwordField; return this; } @@ -199,7 +199,7 @@ public Builder passwordField(@Nullable Output phoneNumberFields) { + public Builder phoneNumberFields(@Nullable Output phoneNumberFields) { $.phoneNumberFields = phoneNumberFields; return this; } @@ -241,7 +241,7 @@ public Builder phoneNumberFields(@Nullable Output usernameField) { + public Builder usernameField(@Nullable Output usernameField) { $.usernameField = usernameField; return this; } @@ -262,7 +262,7 @@ public Builder usernameField(@Nullable Output identifier; - - /** - * @return The name of the password field. - * - */ - public Output identifier() { - return this.identifier; - } - - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordFieldArgs() {} - - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordFieldArgs(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordFieldArgs $) { - this.identifier = $.identifier; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordFieldArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordFieldArgs $; - - public Builder() { - $ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordFieldArgs(); - } - - public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordFieldArgs defaults) { - $ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordFieldArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param identifier The name of the password field. - * - * @return builder - * - */ - public Builder identifier(Output identifier) { - $.identifier = identifier; - return this; - } - - /** - * @param identifier The name of the password field. - * - * @return builder - * - */ - public Builder identifier(String identifier) { - return identifier(Output.of(identifier)); - } - - public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordFieldArgs build() { - if ($.identifier == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordFieldArgs", "identifier"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFieldsArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFieldsArgs.java deleted file mode 100644 index e89f681d643..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFieldsArgs.java +++ /dev/null @@ -1,70 +0,0 @@ -// *** 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.wafv2.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; - - -public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFieldsArgs extends com.pulumi.resources.ResourceArgs { - - public static final WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFieldsArgs Empty = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFieldsArgs(); - - @Import(name="identifiers", required=true) - private Output> identifiers; - - public Output> identifiers() { - return this.identifiers; - } - - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFieldsArgs() {} - - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFieldsArgs(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFieldsArgs $) { - this.identifiers = $.identifiers; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFieldsArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFieldsArgs $; - - public Builder() { - $ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFieldsArgs(); - } - - public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFieldsArgs defaults) { - $ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFieldsArgs(Objects.requireNonNull(defaults)); - } - - public Builder identifiers(Output> identifiers) { - $.identifiers = identifiers; - return this; - } - - public Builder identifiers(List identifiers) { - return identifiers(Output.of(identifiers)); - } - - public Builder identifiers(String... identifiers) { - return identifiers(List.of(identifiers)); - } - - public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFieldsArgs build() { - if ($.identifiers == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFieldsArgs", "identifiers"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameFieldArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameFieldArgs.java deleted file mode 100644 index 4f1daeef4a2..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameFieldArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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.wafv2.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 WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameFieldArgs extends com.pulumi.resources.ResourceArgs { - - public static final WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameFieldArgs Empty = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameFieldArgs(); - - /** - * The name of the username field. - * - */ - @Import(name="identifier", required=true) - private Output identifier; - - /** - * @return The name of the username field. - * - */ - public Output identifier() { - return this.identifier; - } - - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameFieldArgs() {} - - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameFieldArgs(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameFieldArgs $) { - this.identifier = $.identifier; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameFieldArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameFieldArgs $; - - public Builder() { - $ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameFieldArgs(); - } - - public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameFieldArgs defaults) { - $ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameFieldArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param identifier The name of the username field. - * - * @return builder - * - */ - public Builder identifier(Output identifier) { - $.identifier = identifier; - return this; - } - - /** - * @param identifier The name of the username field. - * - * @return builder - * - */ - public Builder identifier(String identifier) { - return identifier(Output.of(identifier)); - } - - public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameFieldArgs build() { - if ($.identifier == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameFieldArgs", "identifier"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionArgs.java index 726ffcf8994..54226ed7938 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.inputs; -import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContainsArgs; +import com.pulumi.aws.wafv2.inputs.WebAclRuleBodyContainsArgs; import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionHeaderArgs; import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJsonArgs; import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionStatusCodeArgs; @@ -23,13 +23,13 @@ public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupC * */ @Import(name="bodyContains") - private @Nullable Output bodyContains; + private @Nullable Output bodyContains; /** * @return Configures inspection of the response body. See `body_contains` for more details. * */ - public Optional> bodyContains() { + public Optional> bodyContains() { return Optional.ofNullable(this.bodyContains); } @@ -111,7 +111,7 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfi * @return builder * */ - public Builder bodyContains(@Nullable Output bodyContains) { + public Builder bodyContains(@Nullable Output bodyContains) { $.bodyContains = bodyContains; return this; } @@ -122,7 +122,7 @@ public Builder bodyContains(@Nullable Output> failureStrings; - - /** - * @return Strings in the body of the response that indicate a failed login attempt. - * - */ - public Output> failureStrings() { - return this.failureStrings; - } - - /** - * Strings in the body of the response that indicate a successful login attempt. - * - */ - @Import(name="successStrings", required=true) - private Output> successStrings; - - /** - * @return Strings in the body of the response that indicate a successful login attempt. - * - */ - public Output> successStrings() { - return this.successStrings; - } - - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContainsArgs() {} - - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContainsArgs(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContainsArgs $) { - this.failureStrings = $.failureStrings; - this.successStrings = $.successStrings; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContainsArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContainsArgs $; - - public Builder() { - $ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContainsArgs(); - } - - public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContainsArgs defaults) { - $ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContainsArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param failureStrings Strings in the body of the response that indicate a failed login attempt. - * - * @return builder - * - */ - public Builder failureStrings(Output> failureStrings) { - $.failureStrings = failureStrings; - return this; - } - - /** - * @param failureStrings Strings in the body of the response that indicate a failed login attempt. - * - * @return builder - * - */ - public Builder failureStrings(List failureStrings) { - return failureStrings(Output.of(failureStrings)); - } - - /** - * @param failureStrings Strings in the body of the response that indicate a failed login attempt. - * - * @return builder - * - */ - public Builder failureStrings(String... failureStrings) { - return failureStrings(List.of(failureStrings)); - } - - /** - * @param successStrings Strings in the body of the response that indicate a successful login attempt. - * - * @return builder - * - */ - public Builder successStrings(Output> successStrings) { - $.successStrings = successStrings; - return this; - } - - /** - * @param successStrings Strings in the body of the response that indicate a successful login attempt. - * - * @return builder - * - */ - public Builder successStrings(List successStrings) { - return successStrings(Output.of(successStrings)); - } - - /** - * @param successStrings Strings in the body of the response that indicate a successful login attempt. - * - * @return builder - * - */ - public Builder successStrings(String... successStrings) { - return successStrings(List.of(successStrings)); - } - - public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContainsArgs build() { - if ($.failureStrings == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContainsArgs", "failureStrings"); - } - if ($.successStrings == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContainsArgs", "successStrings"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionArgs.java index 3e56fefc52d..f98009cdd45 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionArgs.java @@ -3,8 +3,8 @@ package com.pulumi.aws.wafv2.inputs; -import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordFieldArgs; -import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs; +import com.pulumi.aws.wafv2.inputs.WebAclRulePasswordFieldArgs; +import com.pulumi.aws.wafv2.inputs.WebAclRuleUsernameFieldArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -21,13 +21,13 @@ public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupC * */ @Import(name="passwordField", required=true) - private Output passwordField; + private Output passwordField; /** * @return Details about your login page password field. See `password_field` for more details. * */ - public Output passwordField() { + public Output passwordField() { return this.passwordField; } @@ -51,13 +51,13 @@ public Output payloadType() { * */ @Import(name="usernameField", required=true) - private Output usernameField; + private Output usernameField; /** * @return Details about your login page username field. See `username_field` for more details. * */ - public Output usernameField() { + public Output usernameField() { return this.usernameField; } @@ -93,7 +93,7 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfi * @return builder * */ - public Builder passwordField(Output passwordField) { + public Builder passwordField(Output passwordField) { $.passwordField = passwordField; return this; } @@ -104,7 +104,7 @@ public Builder passwordField(Output usernameField) { + public Builder usernameField(Output usernameField) { $.usernameField = usernameField; return this; } @@ -146,7 +146,7 @@ public Builder usernameField(Output identifier; - - /** - * @return The name of the password field. - * - */ - public Output identifier() { - return this.identifier; - } - - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordFieldArgs() {} - - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordFieldArgs(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordFieldArgs $) { - this.identifier = $.identifier; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordFieldArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordFieldArgs $; - - public Builder() { - $ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordFieldArgs(); - } - - public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordFieldArgs defaults) { - $ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordFieldArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param identifier The name of the password field. - * - * @return builder - * - */ - public Builder identifier(Output identifier) { - $.identifier = identifier; - return this; - } - - /** - * @param identifier The name of the password field. - * - * @return builder - * - */ - public Builder identifier(String identifier) { - return identifier(Output.of(identifier)); - } - - public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordFieldArgs build() { - if ($.identifier == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordFieldArgs", "identifier"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs.java deleted file mode 100644 index 234971b51ac..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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.wafv2.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 WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs extends com.pulumi.resources.ResourceArgs { - - public static final WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs Empty = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs(); - - /** - * The name of the username field. - * - */ - @Import(name="identifier", required=true) - private Output identifier; - - /** - * @return The name of the username field. - * - */ - public Output identifier() { - return this.identifier; - } - - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs() {} - - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs $) { - this.identifier = $.identifier; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs $; - - public Builder() { - $ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs(); - } - - public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs defaults) { - $ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param identifier The name of the username field. - * - * @return builder - * - */ - public Builder identifier(Output identifier) { - $.identifier = identifier; - return this; - } - - /** - * @param identifier The name of the username field. - * - * @return builder - * - */ - public Builder identifier(String identifier) { - return identifier(Output.of(identifier)); - } - - public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs build() { - if ($.identifier == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameFieldArgs", "identifier"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionArgs.java index 4936eea1537..334963ecf61 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.inputs; -import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContainsArgs; +import com.pulumi.aws.wafv2.inputs.WebAclRuleBodyContainsArgs; import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionHeaderArgs; import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJsonArgs; import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionStatusCodeArgs; @@ -23,13 +23,13 @@ public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupC * */ @Import(name="bodyContains") - private @Nullable Output bodyContains; + private @Nullable Output bodyContains; /** * @return Configures inspection of the response body. See `body_contains` for more details. * */ - public Optional> bodyContains() { + public Optional> bodyContains() { return Optional.ofNullable(this.bodyContains); } @@ -111,7 +111,7 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfi * @return builder * */ - public Builder bodyContains(@Nullable Output bodyContains) { + public Builder bodyContains(@Nullable Output bodyContains) { $.bodyContains = bodyContains; return this; } @@ -122,7 +122,7 @@ public Builder bodyContains(@Nullable Output allQueryArguments; + private @Nullable Output allQueryArguments; /** * @return Inspect all query arguments. * */ - public Optional> allQueryArguments() { + public Optional> allQueryArguments() { return Optional.ofNullable(this.allQueryArguments); } @@ -107,13 +107,13 @@ public Optional ja3Fingerprint; + private @Nullable Output ja3Fingerprint; /** * @return Inspect the JA3 fingerprint. See `ja3_fingerprint` below for details. * */ - public Optional> ja3Fingerprint() { + public Optional> ja3Fingerprint() { return Optional.ofNullable(this.ja3Fingerprint); } @@ -182,13 +182,13 @@ public Optional singleQueryArgument; + private @Nullable Output singleQueryArgument; /** * @return Inspect a single query argument. See `single_query_argument` below for details. * */ - public Optional> singleQueryArgument() { + public Optional> singleQueryArgument() { return Optional.ofNullable(this.singleQueryArgument); } @@ -248,7 +248,7 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementReg * @return builder * */ - public Builder allQueryArguments(@Nullable Output allQueryArguments) { + public Builder allQueryArguments(@Nullable Output allQueryArguments) { $.allQueryArguments = allQueryArguments; return this; } @@ -259,7 +259,7 @@ public Builder allQueryArguments(@Nullable Output ja3Fingerprint) { + public Builder ja3Fingerprint(@Nullable Output ja3Fingerprint) { $.ja3Fingerprint = ja3Fingerprint; return this; } @@ -384,7 +384,7 @@ public Builder ja3Fingerprint(@Nullable Output singleQueryArgument) { + public Builder singleQueryArgument(@Nullable Output singleQueryArgument) { $.singleQueryArgument = singleQueryArgument; return this; } @@ -489,7 +489,7 @@ public Builder singleQueryArgument(@Nullable Output> matchPatterns; + private Output> matchPatterns; /** * @return The filter to use to identify the subset of cookies to inspect in a web request. You must specify exactly one setting: either `all`, `included_cookies` or `excluded_cookies`. More details: [CookieMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_CookieMatchPattern.html) * */ - public Output> matchPatterns() { + public Output> matchPatterns() { return this.matchPatterns; } @@ -93,7 +93,7 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementReg * @return builder * */ - public Builder matchPatterns(Output> matchPatterns) { + public Builder matchPatterns(Output> matchPatterns) { $.matchPatterns = matchPatterns; return this; } @@ -104,7 +104,7 @@ public Builder matchPatterns(Output matchPatterns) { + public Builder matchPatterns(List matchPatterns) { return matchPatterns(Output.of(matchPatterns)); } @@ -114,7 +114,7 @@ public Builder matchPatterns(List all; - - /** - * @return An empty configuration block that is used for inspecting all headers. - * - */ - public Optional> all() { - return Optional.ofNullable(this.all); - } - - @Import(name="excludedCookies") - private @Nullable Output> excludedCookies; - - public Optional>> excludedCookies() { - return Optional.ofNullable(this.excludedCookies); - } - - @Import(name="includedCookies") - private @Nullable Output> includedCookies; - - public Optional>> includedCookies() { - return Optional.ofNullable(this.includedCookies); - } - - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs() {} - - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs $) { - this.all = $.all; - this.excludedCookies = $.excludedCookies; - this.includedCookies = $.includedCookies; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs $; - - public Builder() { - $ = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs(); - } - - public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs defaults) { - $ = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param all An empty configuration block that is used for inspecting all headers. - * - * @return builder - * - */ - public Builder all(@Nullable Output all) { - $.all = all; - return this; - } - - /** - * @param all An empty configuration block that is used for inspecting all headers. - * - * @return builder - * - */ - public Builder all(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAllArgs all) { - return all(Output.of(all)); - } - - public Builder excludedCookies(@Nullable Output> excludedCookies) { - $.excludedCookies = excludedCookies; - return this; - } - - public Builder excludedCookies(List excludedCookies) { - return excludedCookies(Output.of(excludedCookies)); - } - - public Builder excludedCookies(String... excludedCookies) { - return excludedCookies(List.of(excludedCookies)); - } - - public Builder includedCookies(@Nullable Output> includedCookies) { - $.includedCookies = includedCookies; - return this; - } - - public Builder includedCookies(List includedCookies) { - return includedCookies(Output.of(includedCookies)); - } - - public Builder includedCookies(String... includedCookies) { - return includedCookies(List.of(includedCookies)); - } - - public WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderArgs.java index 155c0368883..380f45baf7f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.inputs; -import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs; +import com.pulumi.aws.wafv2.inputs.WebAclRuleMatchPatternArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -20,13 +20,13 @@ public final class WebAclRuleStatementManagedRuleGroupStatementScopeDownStatemen * */ @Import(name="matchPattern", required=true) - private Output matchPattern; + private Output matchPattern; /** * @return The filter to use to identify the subset of headers to inspect in a web request. The `match_pattern` block supports only one of the following arguments: * */ - public Output matchPattern() { + public Output matchPattern() { return this.matchPattern; } @@ -92,7 +92,7 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementReg * @return builder * */ - public Builder matchPattern(Output matchPattern) { + public Builder matchPattern(Output matchPattern) { $.matchPattern = matchPattern; return this; } @@ -103,7 +103,7 @@ public Builder matchPattern(Output all; - - /** - * @return An empty configuration block that is used for inspecting all headers. - * - */ - public Optional> all() { - return Optional.ofNullable(this.all); - } - - /** - * An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values. - * - */ - @Import(name="excludedHeaders") - private @Nullable Output> excludedHeaders; - - /** - * @return An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values. - * - */ - public Optional>> excludedHeaders() { - return Optional.ofNullable(this.excludedHeaders); - } - - /** - * An array of strings that will be used for inspecting headers that have a key that matches one of the provided values. - * - */ - @Import(name="includedHeaders") - private @Nullable Output> includedHeaders; - - /** - * @return An array of strings that will be used for inspecting headers that have a key that matches one of the provided values. - * - */ - public Optional>> includedHeaders() { - return Optional.ofNullable(this.includedHeaders); - } - - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs() {} - - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs $) { - this.all = $.all; - this.excludedHeaders = $.excludedHeaders; - this.includedHeaders = $.includedHeaders; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs $; - - public Builder() { - $ = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs(); - } - - public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs defaults) { - $ = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param all An empty configuration block that is used for inspecting all headers. - * - * @return builder - * - */ - public Builder all(@Nullable Output all) { - $.all = all; - return this; - } - - /** - * @param all An empty configuration block that is used for inspecting all headers. - * - * @return builder - * - */ - public Builder all(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAllArgs all) { - return all(Output.of(all)); - } - - /** - * @param excludedHeaders An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values. - * - * @return builder - * - */ - public Builder excludedHeaders(@Nullable Output> excludedHeaders) { - $.excludedHeaders = excludedHeaders; - return this; - } - - /** - * @param excludedHeaders An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values. - * - * @return builder - * - */ - public Builder excludedHeaders(List excludedHeaders) { - return excludedHeaders(Output.of(excludedHeaders)); - } - - /** - * @param excludedHeaders An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values. - * - * @return builder - * - */ - public Builder excludedHeaders(String... excludedHeaders) { - return excludedHeaders(List.of(excludedHeaders)); - } - - /** - * @param includedHeaders An array of strings that will be used for inspecting headers that have a key that matches one of the provided values. - * - * @return builder - * - */ - public Builder includedHeaders(@Nullable Output> includedHeaders) { - $.includedHeaders = includedHeaders; - return this; - } - - /** - * @param includedHeaders An array of strings that will be used for inspecting headers that have a key that matches one of the provided values. - * - * @return builder - * - */ - public Builder includedHeaders(List includedHeaders) { - return includedHeaders(Output.of(includedHeaders)); - } - - /** - * @param includedHeaders An array of strings that will be used for inspecting headers that have a key that matches one of the provided values. - * - * @return builder - * - */ - public Builder includedHeaders(String... includedHeaders) { - return includedHeaders(List.of(includedHeaders)); - } - - public WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyArgs.java index 1ce219faddd..88e9322777b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.inputs; -import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs; +import com.pulumi.aws.wafv2.inputs.WebAclRuleMatchPatternArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -37,13 +37,13 @@ public Optional> invalidFallbackBehavior() { * */ @Import(name="matchPattern", required=true) - private Output matchPattern; + private Output matchPattern; /** * @return The patterns to look for in the JSON body. You must specify exactly one setting: either `all` or `included_paths`. See [JsonMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_JsonMatchPattern.html) for details. * */ - public Output matchPattern() { + public Output matchPattern() { return this.matchPattern; } @@ -131,7 +131,7 @@ public Builder invalidFallbackBehavior(String invalidFallbackBehavior) { * @return builder * */ - public Builder matchPattern(Output matchPattern) { + public Builder matchPattern(Output matchPattern) { $.matchPattern = matchPattern; return this; } @@ -142,7 +142,7 @@ public Builder matchPattern(Output all; - - /** - * @return An empty configuration block that is used for inspecting all headers. - * - */ - public Optional> all() { - return Optional.ofNullable(this.all); - } - - @Import(name="includedPaths") - private @Nullable Output> includedPaths; - - public Optional>> includedPaths() { - return Optional.ofNullable(this.includedPaths); - } - - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs() {} - - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs $) { - this.all = $.all; - this.includedPaths = $.includedPaths; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs $; - - public Builder() { - $ = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs(); - } - - public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs defaults) { - $ = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param all An empty configuration block that is used for inspecting all headers. - * - * @return builder - * - */ - public Builder all(@Nullable Output all) { - $.all = all; - return this; - } - - /** - * @param all An empty configuration block that is used for inspecting all headers. - * - * @return builder - * - */ - public Builder all(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAllArgs all) { - return all(Output.of(all)); - } - - public Builder includedPaths(@Nullable Output> includedPaths) { - $.includedPaths = includedPaths; - return this; - } - - public Builder includedPaths(List includedPaths) { - return includedPaths(Output.of(includedPaths)); - } - - public Builder includedPaths(String... includedPaths) { - return includedPaths(List.of(includedPaths)); - } - - public WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs.java deleted file mode 100644 index 5495c51bdc7..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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.wafv2.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 WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs extends com.pulumi.resources.ResourceArgs { - - public static final WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs Empty = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs(); - - /** - * Name of the query header to inspect. This setting must be provided as lower case characters. - * - */ - @Import(name="name", required=true) - private Output name; - - /** - * @return Name of the query header to inspect. This setting must be provided as lower case characters. - * - */ - public Output name() { - return this.name; - } - - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs() {} - - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs $) { - this.name = $.name; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs $; - - public Builder() { - $ = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs(); - } - - public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs defaults) { - $ = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param name Name of the query header to inspect. This setting must be provided as lower case characters. - * - * @return builder - * - */ - public Builder name(Output name) { - $.name = name; - return this; - } - - /** - * @param name Name of the query header to inspect. This setting must be provided as lower case characters. - * - * @return builder - * - */ - public Builder name(String name) { - return name(Output.of(name)); - } - - public WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs build() { - if ($.name == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs", "name"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAllArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAllArgs.java deleted file mode 100644 index ba1dedf92cd..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAllArgs.java +++ /dev/null @@ -1,28 +0,0 @@ -// *** 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.wafv2.inputs; - - - - -public final class WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAllArgs extends com.pulumi.resources.ResourceArgs { - - public static final WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAllArgs Empty = new WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAllArgs(); - - public static Builder builder() { - return new Builder(); - } - - public static final class Builder { - private WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAllArgs $; - - public Builder() { - $ = new WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAllArgs(); - } - public WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAllArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs.java index 1f7b6a1f143..eb93019fb69 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternArgs.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.inputs; -import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAllArgs; +import com.pulumi.aws.wafv2.inputs.WebAclRuleAllArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.String; @@ -22,13 +22,13 @@ public final class WebAclRuleStatementRateBasedStatementScopeDownStatementRegexP * */ @Import(name="all") - private @Nullable Output all; + private @Nullable Output all; /** * @return An empty configuration block that is used for inspecting all headers. * */ - public Optional> all() { + public Optional> all() { return Optional.ofNullable(this.all); } @@ -78,7 +78,7 @@ public Builder(WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatte * @return builder * */ - public Builder all(@Nullable Output all) { + public Builder all(@Nullable Output all) { $.all = all; return this; } @@ -89,7 +89,7 @@ public Builder all(@Nullable Output all; + private @Nullable Output all; /** * @return An empty configuration block that is used for inspecting all headers. * */ - public Optional> all() { + public Optional> all() { return Optional.ofNullable(this.all); } @@ -94,7 +94,7 @@ public Builder(WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatte * @return builder * */ - public Builder all(@Nullable Output all) { + public Builder all(@Nullable Output all) { $.all = all; return this; } @@ -105,7 +105,7 @@ public Builder all(@Nullable Output all; + private @Nullable Output all; /** * @return An empty configuration block that is used for inspecting all headers. * */ - public Optional> all() { + public Optional> all() { return Optional.ofNullable(this.all); } @@ -70,7 +70,7 @@ public Builder(WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatte * @return builder * */ - public Builder all(@Nullable Output all) { + public Builder all(@Nullable Output all) { $.all = all; return this; } @@ -81,7 +81,7 @@ public Builder all(@Nullable Output identifier; + + /** + * @return The name of the username field. + * + */ + public Output identifier() { + return this.identifier; + } + + private WebAclRuleUsernameFieldArgs() {} + + private WebAclRuleUsernameFieldArgs(WebAclRuleUsernameFieldArgs $) { + this.identifier = $.identifier; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(WebAclRuleUsernameFieldArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private WebAclRuleUsernameFieldArgs $; + + public Builder() { + $ = new WebAclRuleUsernameFieldArgs(); + } + + public Builder(WebAclRuleUsernameFieldArgs defaults) { + $ = new WebAclRuleUsernameFieldArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param identifier The name of the username field. + * + * @return builder + * + */ + public Builder identifier(Output identifier) { + $.identifier = identifier; + return this; + } + + /** + * @param identifier The name of the username field. + * + * @return builder + * + */ + public Builder identifier(String identifier) { + return identifier(Output.of(identifier)); + } + + public WebAclRuleUsernameFieldArgs build() { + if ($.identifier == null) { + throw new MissingRequiredPropertyException("WebAclRuleUsernameFieldArgs", "identifier"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleAll.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleAll.java new file mode 100644 index 00000000000..66990e70597 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleAll.java @@ -0,0 +1,32 @@ +// *** 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.wafv2.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.util.Objects; + +@CustomType +public final class RuleGroupRuleAll { + private RuleGroupRuleAll() {} + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(RuleGroupRuleAll defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + public Builder() {} + public Builder(RuleGroupRuleAll defaults) { + Objects.requireNonNull(defaults); + } + + public RuleGroupRuleAll build() { + final var _resultValue = new RuleGroupRuleAll(); + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleMatchPattern.java similarity index 50% rename from sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern.java rename to sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleMatchPattern.java index b7cedc28c7e..3c9e3bdd867 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleMatchPattern.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.outputs; -import com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll; +import com.pulumi.aws.wafv2.outputs.RuleGroupRuleAll; import com.pulumi.core.annotations.CustomType; import java.lang.String; import java.util.List; @@ -12,20 +12,20 @@ import javax.annotation.Nullable; @CustomType -public final class RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern { +public final class RuleGroupRuleMatchPattern { /** * @return An empty configuration block that is used for inspecting all headers. * */ - private @Nullable RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll all; + private @Nullable RuleGroupRuleAll all; private @Nullable List includedPaths; - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern() {} + private RuleGroupRuleMatchPattern() {} /** * @return An empty configuration block that is used for inspecting all headers. * */ - public Optional all() { + public Optional all() { return Optional.ofNullable(this.all); } public List includedPaths() { @@ -36,22 +36,22 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern defaults) { + public static Builder builder(RuleGroupRuleMatchPattern defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { - private @Nullable RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll all; + private @Nullable RuleGroupRuleAll all; private @Nullable List includedPaths; public Builder() {} - public Builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern defaults) { + public Builder(RuleGroupRuleMatchPattern defaults) { Objects.requireNonNull(defaults); this.all = defaults.all; this.includedPaths = defaults.includedPaths; } @CustomType.Setter - public Builder all(@Nullable RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll all) { + public Builder all(@Nullable RuleGroupRuleAll all) { this.all = all; return this; @@ -65,8 +65,8 @@ public Builder includedPaths(@Nullable List includedPaths) { public Builder includedPaths(String... includedPaths) { return includedPaths(List.of(includedPaths)); } - public RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern build() { - final var _resultValue = new RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern(); + public RuleGroupRuleMatchPattern build() { + final var _resultValue = new RuleGroupRuleMatchPattern(); _resultValue.all = all; _resultValue.includedPaths = includedPaths; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleSingleQueryArgument.java similarity index 56% rename from sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument.java rename to sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleSingleQueryArgument.java index d448d6e674c..8cadf05e13f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleSingleQueryArgument.java @@ -9,14 +9,14 @@ import java.util.Objects; @CustomType -public final class RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument { +public final class RuleGroupRuleSingleQueryArgument { /** * @return The name of the query header to inspect. This setting must be provided as lower case characters. * */ private String name; - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument() {} + private RuleGroupRuleSingleQueryArgument() {} /** * @return The name of the query header to inspect. This setting must be provided as lower case characters. * @@ -29,14 +29,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument defaults) { + public static Builder builder(RuleGroupRuleSingleQueryArgument defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String name; public Builder() {} - public Builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument defaults) { + public Builder(RuleGroupRuleSingleQueryArgument defaults) { Objects.requireNonNull(defaults); this.name = defaults.name; } @@ -44,13 +44,13 @@ public Builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPa @CustomType.Setter public Builder name(String name) { if (name == null) { - throw new MissingRequiredPropertyException("RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument", "name"); + throw new MissingRequiredPropertyException("RuleGroupRuleSingleQueryArgument", "name"); } this.name = name; return this; } - public RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument build() { - final var _resultValue = new RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument(); + public RuleGroupRuleSingleQueryArgument build() { + final var _resultValue = new RuleGroupRuleSingleQueryArgument(); _resultValue.name = name; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatch.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatch.java index 3a68b6b8b7d..9509dadd0ee 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatch.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatch.java @@ -3,6 +3,7 @@ package com.pulumi.aws.wafv2.outputs; +import com.pulumi.aws.wafv2.outputs.RuleGroupRuleSingleQueryArgument; import com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments; import com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchBody; import com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies; @@ -13,7 +14,6 @@ import com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchMethod; import com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchQueryString; import com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleHeader; -import com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument; import com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriPath; import com.pulumi.core.annotations.CustomType; import java.util.List; @@ -73,7 +73,7 @@ public final class RuleGroupRuleStatementRateBasedStatementScopeDownStatementReg * @return Inspect a single query argument. See Single Query Argument below for details. * */ - private @Nullable RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument singleQueryArgument; + private @Nullable RuleGroupRuleSingleQueryArgument singleQueryArgument; /** * @return Inspect the request URI path. This is the part of a web request that identifies a resource, for example, `/images/daily-ad.jpg`. * @@ -151,7 +151,7 @@ public Optional singleQueryArgument() { + public Optional singleQueryArgument() { return Optional.ofNullable(this.singleQueryArgument); } /** @@ -181,7 +181,7 @@ public static final class Builder { private @Nullable RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchMethod method; private @Nullable RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchQueryString queryString; private @Nullable RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleHeader singleHeader; - private @Nullable RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument singleQueryArgument; + private @Nullable RuleGroupRuleSingleQueryArgument singleQueryArgument; private @Nullable RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriPath uriPath; public Builder() {} public Builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatch defaults) { @@ -267,7 +267,7 @@ public Builder singleHeader(@Nullable RuleGroupRuleStatementRateBasedStatementSc return this; } @CustomType.Setter - public Builder singleQueryArgument(@Nullable RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument singleQueryArgument) { + public Builder singleQueryArgument(@Nullable RuleGroupRuleSingleQueryArgument singleQueryArgument) { this.singleQueryArgument = singleQueryArgument; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies.java index 6da676feebf..70558f6468e 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.outputs; -import com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern; +import com.pulumi.aws.wafv2.outputs.RuleGroupRuleMatchPattern; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -16,7 +16,7 @@ public final class RuleGroupRuleStatementRateBasedStatementScopeDownStatementReg * @return The filter to use to identify the subset of cookies to inspect in a web request. You must specify exactly one setting: either `all`, `included_cookies` or `excluded_cookies`. More details: [CookieMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_CookieMatchPattern.html) * */ - private List matchPatterns; + private List matchPatterns; /** * @return The parts of the cookies to inspect with the rule inspection criteria. If you specify All, AWS WAF inspects both keys and values. Valid values: `ALL`, `KEY`, `VALUE` * @@ -33,7 +33,7 @@ private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSe * @return The filter to use to identify the subset of cookies to inspect in a web request. You must specify exactly one setting: either `all`, `included_cookies` or `excluded_cookies`. More details: [CookieMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_CookieMatchPattern.html) * */ - public List matchPatterns() { + public List matchPatterns() { return this.matchPatterns; } /** @@ -60,7 +60,7 @@ public static Builder builder(RuleGroupRuleStatementRateBasedStatementScopeDownS } @CustomType.Builder public static final class Builder { - private List matchPatterns; + private List matchPatterns; private String matchScope; private String oversizeHandling; public Builder() {} @@ -72,14 +72,14 @@ public Builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPa } @CustomType.Setter - public Builder matchPatterns(List matchPatterns) { + public Builder matchPatterns(List matchPatterns) { if (matchPatterns == null) { throw new MissingRequiredPropertyException("RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies", "matchPatterns"); } this.matchPatterns = matchPatterns; return this; } - public Builder matchPatterns(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern... matchPatterns) { + public Builder matchPatterns(RuleGroupRuleMatchPattern... matchPatterns) { return matchPatterns(List.of(matchPatterns)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern.java deleted file mode 100644 index f356fd2afd8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern.java +++ /dev/null @@ -1,91 +0,0 @@ -// *** 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.wafv2.outputs; - -import com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll; -import com.pulumi.core.annotations.CustomType; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern { - /** - * @return An empty configuration block that is used for inspecting all headers. - * - */ - private @Nullable RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll all; - private @Nullable List excludedCookies; - private @Nullable List includedCookies; - - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern() {} - /** - * @return An empty configuration block that is used for inspecting all headers. - * - */ - public Optional all() { - return Optional.ofNullable(this.all); - } - public List excludedCookies() { - return this.excludedCookies == null ? List.of() : this.excludedCookies; - } - public List includedCookies() { - return this.includedCookies == null ? List.of() : this.includedCookies; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll all; - private @Nullable List excludedCookies; - private @Nullable List includedCookies; - public Builder() {} - public Builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern defaults) { - Objects.requireNonNull(defaults); - this.all = defaults.all; - this.excludedCookies = defaults.excludedCookies; - this.includedCookies = defaults.includedCookies; - } - - @CustomType.Setter - public Builder all(@Nullable RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll all) { - - this.all = all; - return this; - } - @CustomType.Setter - public Builder excludedCookies(@Nullable List excludedCookies) { - - this.excludedCookies = excludedCookies; - return this; - } - public Builder excludedCookies(String... excludedCookies) { - return excludedCookies(List.of(excludedCookies)); - } - @CustomType.Setter - public Builder includedCookies(@Nullable List includedCookies) { - - this.includedCookies = includedCookies; - return this; - } - public Builder includedCookies(String... includedCookies) { - return includedCookies(List.of(includedCookies)); - } - public RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern build() { - final var _resultValue = new RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern(); - _resultValue.all = all; - _resultValue.excludedCookies = excludedCookies; - _resultValue.includedCookies = includedCookies; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll.java deleted file mode 100644 index 5ff17ced24d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll.java +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.wafv2.outputs; - -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; - -@CustomType -public final class RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll { - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll() {} - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - public Builder() {} - public Builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll defaults) { - Objects.requireNonNull(defaults); - } - - public RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll build() { - final var _resultValue = new RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll(); - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader.java index 633baff12a9..db11eaa967c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.outputs; -import com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern; +import com.pulumi.aws.wafv2.outputs.RuleGroupRuleMatchPattern; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -15,7 +15,7 @@ public final class RuleGroupRuleStatementRateBasedStatementScopeDownStatementReg * @return The filter to use to identify the subset of headers to inspect in a web request. The `match_pattern` block supports only one of the following arguments: * */ - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern matchPattern; + private RuleGroupRuleMatchPattern matchPattern; /** * @return The parts of the headers to inspect with the rule inspection criteria. If you specify `All`, AWS WAF inspects both keys and values. Valid values include the following: `ALL`, `Key`, `Value`. * @@ -32,7 +32,7 @@ private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSe * @return The filter to use to identify the subset of headers to inspect in a web request. The `match_pattern` block supports only one of the following arguments: * */ - public RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern matchPattern() { + public RuleGroupRuleMatchPattern matchPattern() { return this.matchPattern; } /** @@ -59,7 +59,7 @@ public static Builder builder(RuleGroupRuleStatementRateBasedStatementScopeDownS } @CustomType.Builder public static final class Builder { - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern matchPattern; + private RuleGroupRuleMatchPattern matchPattern; private String matchScope; private String oversizeHandling; public Builder() {} @@ -71,7 +71,7 @@ public Builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPa } @CustomType.Setter - public Builder matchPattern(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern matchPattern) { + public Builder matchPattern(RuleGroupRuleMatchPattern matchPattern) { if (matchPattern == null) { throw new MissingRequiredPropertyException("RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader", "matchPattern"); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern.java deleted file mode 100644 index d8905272e96..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern.java +++ /dev/null @@ -1,107 +0,0 @@ -// *** 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.wafv2.outputs; - -import com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll; -import com.pulumi.core.annotations.CustomType; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern { - /** - * @return An empty configuration block that is used for inspecting all headers. - * - */ - private @Nullable RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll all; - /** - * @return An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values. - * - */ - private @Nullable List excludedHeaders; - /** - * @return An array of strings that will be used for inspecting headers that have a key that matches one of the provided values. - * - */ - private @Nullable List includedHeaders; - - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern() {} - /** - * @return An empty configuration block that is used for inspecting all headers. - * - */ - public Optional all() { - return Optional.ofNullable(this.all); - } - /** - * @return An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values. - * - */ - public List excludedHeaders() { - return this.excludedHeaders == null ? List.of() : this.excludedHeaders; - } - /** - * @return An array of strings that will be used for inspecting headers that have a key that matches one of the provided values. - * - */ - public List includedHeaders() { - return this.includedHeaders == null ? List.of() : this.includedHeaders; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll all; - private @Nullable List excludedHeaders; - private @Nullable List includedHeaders; - public Builder() {} - public Builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern defaults) { - Objects.requireNonNull(defaults); - this.all = defaults.all; - this.excludedHeaders = defaults.excludedHeaders; - this.includedHeaders = defaults.includedHeaders; - } - - @CustomType.Setter - public Builder all(@Nullable RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll all) { - - this.all = all; - return this; - } - @CustomType.Setter - public Builder excludedHeaders(@Nullable List excludedHeaders) { - - this.excludedHeaders = excludedHeaders; - return this; - } - public Builder excludedHeaders(String... excludedHeaders) { - return excludedHeaders(List.of(excludedHeaders)); - } - @CustomType.Setter - public Builder includedHeaders(@Nullable List includedHeaders) { - - this.includedHeaders = includedHeaders; - return this; - } - public Builder includedHeaders(String... includedHeaders) { - return includedHeaders(List.of(includedHeaders)); - } - public RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern build() { - final var _resultValue = new RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern(); - _resultValue.all = all; - _resultValue.excludedHeaders = excludedHeaders; - _resultValue.includedHeaders = includedHeaders; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll.java deleted file mode 100644 index 02c3e4fb234..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll.java +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.wafv2.outputs; - -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; - -@CustomType -public final class RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll { - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll() {} - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - public Builder() {} - public Builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll defaults) { - Objects.requireNonNull(defaults); - } - - public RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll build() { - final var _resultValue = new RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll(); - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody.java index d1e1334ade0..0708b47ab9c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.outputs; -import com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern; +import com.pulumi.aws.wafv2.outputs.RuleGroupRuleMatchPattern; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -22,7 +22,7 @@ public final class RuleGroupRuleStatementRateBasedStatementScopeDownStatementReg * @return The patterns to look for in the JSON body. You must specify exactly one setting: either `all` or `included_paths`. See [JsonMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_JsonMatchPattern.html) for details. * */ - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern matchPattern; + private RuleGroupRuleMatchPattern matchPattern; /** * @return The parts of the JSON to match against using the `match_pattern`. Valid values are `ALL`, `KEY` and `VALUE`. * @@ -46,7 +46,7 @@ public Optional invalidFallbackBehavior() { * @return The patterns to look for in the JSON body. You must specify exactly one setting: either `all` or `included_paths`. See [JsonMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_JsonMatchPattern.html) for details. * */ - public RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern matchPattern() { + public RuleGroupRuleMatchPattern matchPattern() { return this.matchPattern; } /** @@ -74,7 +74,7 @@ public static Builder builder(RuleGroupRuleStatementRateBasedStatementScopeDownS @CustomType.Builder public static final class Builder { private @Nullable String invalidFallbackBehavior; - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern matchPattern; + private RuleGroupRuleMatchPattern matchPattern; private String matchScope; private @Nullable String oversizeHandling; public Builder() {} @@ -93,7 +93,7 @@ public Builder invalidFallbackBehavior(@Nullable String invalidFallbackBehavior) return this; } @CustomType.Setter - public Builder matchPattern(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern matchPattern) { + public Builder matchPattern(RuleGroupRuleMatchPattern matchPattern) { if (matchPattern == null) { throw new MissingRequiredPropertyException("RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody", "matchPattern"); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll.java deleted file mode 100644 index cb96a5abac8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll.java +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.wafv2.outputs; - -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; - -@CustomType -public final class RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll { - private RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll() {} - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - public Builder() {} - public Builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll defaults) { - Objects.requireNonNull(defaults); - } - - public RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll build() { - final var _resultValue = new RuleGroupRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll(); - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleAddressFields.java similarity index 56% rename from sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields.java rename to sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleAddressFields.java index 0cb9df0cebd..8aaab3ed6c0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleAddressFields.java @@ -10,10 +10,10 @@ import java.util.Objects; @CustomType -public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields { +public final class WebAclRuleAddressFields { private List identifiers; - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields() {} + private WebAclRuleAddressFields() {} public List identifiers() { return this.identifiers; } @@ -22,14 +22,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields defaults) { + public static Builder builder(WebAclRuleAddressFields defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private List identifiers; public Builder() {} - public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields defaults) { + public Builder(WebAclRuleAddressFields defaults) { Objects.requireNonNull(defaults); this.identifiers = defaults.identifiers; } @@ -37,7 +37,7 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfi @CustomType.Setter public Builder identifiers(List identifiers) { if (identifiers == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields", "identifiers"); + throw new MissingRequiredPropertyException("WebAclRuleAddressFields", "identifiers"); } this.identifiers = identifiers; return this; @@ -45,8 +45,8 @@ public Builder identifiers(List identifiers) { public Builder identifiers(String... identifiers) { return identifiers(List.of(identifiers)); } - public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields build() { - final var _resultValue = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields(); + public WebAclRuleAddressFields build() { + final var _resultValue = new WebAclRuleAddressFields(); _resultValue.identifiers = identifiers; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleAll.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleAll.java new file mode 100644 index 00000000000..303bc3d9438 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleAll.java @@ -0,0 +1,32 @@ +// *** 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.wafv2.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.util.Objects; + +@CustomType +public final class WebAclRuleAll { + private WebAclRuleAll() {} + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(WebAclRuleAll defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + public Builder() {} + public Builder(WebAclRuleAll defaults) { + Objects.requireNonNull(defaults); + } + + public WebAclRuleAll build() { + final var _resultValue = new WebAclRuleAll(); + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleAllQueryArguments.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleAllQueryArguments.java new file mode 100644 index 00000000000..00116e33a6e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleAllQueryArguments.java @@ -0,0 +1,32 @@ +// *** 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.wafv2.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.util.Objects; + +@CustomType +public final class WebAclRuleAllQueryArguments { + private WebAclRuleAllQueryArguments() {} + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(WebAclRuleAllQueryArguments defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + public Builder() {} + public Builder(WebAclRuleAllQueryArguments defaults) { + Objects.requireNonNull(defaults); + } + + public WebAclRuleAllQueryArguments build() { + final var _resultValue = new WebAclRuleAllQueryArguments(); + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleBodyContains.java similarity index 68% rename from sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains.java rename to sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleBodyContains.java index 910fe01bf5c..f4303154466 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleBodyContains.java @@ -10,7 +10,7 @@ import java.util.Objects; @CustomType -public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains { +public final class WebAclRuleBodyContains { /** * @return Strings in the body of the response that indicate a failed login attempt. * @@ -22,7 +22,7 @@ public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupC */ private List successStrings; - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains() {} + private WebAclRuleBodyContains() {} /** * @return Strings in the body of the response that indicate a failed login attempt. * @@ -42,7 +42,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains defaults) { + public static Builder builder(WebAclRuleBodyContains defaults) { return new Builder(defaults); } @CustomType.Builder @@ -50,7 +50,7 @@ public static final class Builder { private List failureStrings; private List successStrings; public Builder() {} - public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains defaults) { + public Builder(WebAclRuleBodyContains defaults) { Objects.requireNonNull(defaults); this.failureStrings = defaults.failureStrings; this.successStrings = defaults.successStrings; @@ -59,7 +59,7 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfi @CustomType.Setter public Builder failureStrings(List failureStrings) { if (failureStrings == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains", "failureStrings"); + throw new MissingRequiredPropertyException("WebAclRuleBodyContains", "failureStrings"); } this.failureStrings = failureStrings; return this; @@ -70,7 +70,7 @@ public Builder failureStrings(String... failureStrings) { @CustomType.Setter public Builder successStrings(List successStrings) { if (successStrings == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains", "successStrings"); + throw new MissingRequiredPropertyException("WebAclRuleBodyContains", "successStrings"); } this.successStrings = successStrings; return this; @@ -78,8 +78,8 @@ public Builder successStrings(List successStrings) { public Builder successStrings(String... successStrings) { return successStrings(List.of(successStrings)); } - public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains build() { - final var _resultValue = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains(); + public WebAclRuleBodyContains build() { + final var _resultValue = new WebAclRuleBodyContains(); _resultValue.failureStrings = failureStrings; _resultValue.successStrings = successStrings; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleJa3Fingerprint.java similarity index 60% rename from sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint.java rename to sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleJa3Fingerprint.java index 31359568589..c0939d94bb8 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleJa3Fingerprint.java @@ -9,14 +9,14 @@ import java.util.Objects; @CustomType -public final class WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint { +public final class WebAclRuleJa3Fingerprint { /** * @return The match status to assign to the web request if the request doesn't have a JA3 fingerprint. Valid values include: `MATCH` or `NO_MATCH`. * */ private String fallbackBehavior; - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint() {} + private WebAclRuleJa3Fingerprint() {} /** * @return The match status to assign to the web request if the request doesn't have a JA3 fingerprint. Valid values include: `MATCH` or `NO_MATCH`. * @@ -29,14 +29,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint defaults) { + public static Builder builder(WebAclRuleJa3Fingerprint defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String fallbackBehavior; public Builder() {} - public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint defaults) { + public Builder(WebAclRuleJa3Fingerprint defaults) { Objects.requireNonNull(defaults); this.fallbackBehavior = defaults.fallbackBehavior; } @@ -44,13 +44,13 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementReg @CustomType.Setter public Builder fallbackBehavior(String fallbackBehavior) { if (fallbackBehavior == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint", "fallbackBehavior"); + throw new MissingRequiredPropertyException("WebAclRuleJa3Fingerprint", "fallbackBehavior"); } this.fallbackBehavior = fallbackBehavior; return this; } - public WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint build() { - final var _resultValue = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint(); + public WebAclRuleJa3Fingerprint build() { + final var _resultValue = new WebAclRuleJa3Fingerprint(); _resultValue.fallbackBehavior = fallbackBehavior; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleMatchPattern.java similarity index 50% rename from sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern.java rename to sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleMatchPattern.java index a12dfea8a87..62f3ee6c416 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleMatchPattern.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.outputs; -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll; +import com.pulumi.aws.wafv2.outputs.WebAclRuleAll; import com.pulumi.core.annotations.CustomType; import java.lang.String; import java.util.List; @@ -12,20 +12,20 @@ import javax.annotation.Nullable; @CustomType -public final class WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern { +public final class WebAclRuleMatchPattern { /** * @return An empty configuration block that is used for inspecting all headers. * */ - private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll all; + private @Nullable WebAclRuleAll all; private @Nullable List includedPaths; - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern() {} + private WebAclRuleMatchPattern() {} /** * @return An empty configuration block that is used for inspecting all headers. * */ - public Optional all() { + public Optional all() { return Optional.ofNullable(this.all); } public List includedPaths() { @@ -36,22 +36,22 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern defaults) { + public static Builder builder(WebAclRuleMatchPattern defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { - private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll all; + private @Nullable WebAclRuleAll all; private @Nullable List includedPaths; public Builder() {} - public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern defaults) { + public Builder(WebAclRuleMatchPattern defaults) { Objects.requireNonNull(defaults); this.all = defaults.all; this.includedPaths = defaults.includedPaths; } @CustomType.Setter - public Builder all(@Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll all) { + public Builder all(@Nullable WebAclRuleAll all) { this.all = all; return this; @@ -65,8 +65,8 @@ public Builder includedPaths(@Nullable List includedPaths) { public Builder includedPaths(String... includedPaths) { return includedPaths(List.of(includedPaths)); } - public WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern build() { - final var _resultValue = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern(); + public WebAclRuleMatchPattern build() { + final var _resultValue = new WebAclRuleMatchPattern(); _resultValue.all = all; _resultValue.includedPaths = includedPaths; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRulePasswordField.java similarity index 55% rename from sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField.java rename to sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRulePasswordField.java index 93f4970d510..672b9defaf1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRulePasswordField.java @@ -9,14 +9,14 @@ import java.util.Objects; @CustomType -public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField { +public final class WebAclRulePasswordField { /** * @return The name of the password field. * */ private String identifier; - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField() {} + private WebAclRulePasswordField() {} /** * @return The name of the password field. * @@ -29,14 +29,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField defaults) { + public static Builder builder(WebAclRulePasswordField defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String identifier; public Builder() {} - public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField defaults) { + public Builder(WebAclRulePasswordField defaults) { Objects.requireNonNull(defaults); this.identifier = defaults.identifier; } @@ -44,13 +44,13 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfi @CustomType.Setter public Builder identifier(String identifier) { if (identifier == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField", "identifier"); + throw new MissingRequiredPropertyException("WebAclRulePasswordField", "identifier"); } this.identifier = identifier; return this; } - public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField build() { - final var _resultValue = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField(); + public WebAclRulePasswordField build() { + final var _resultValue = new WebAclRulePasswordField(); _resultValue.identifier = identifier; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRulePhoneNumberFields.java similarity index 55% rename from sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields.java rename to sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRulePhoneNumberFields.java index ca1a5658b67..d4b37be3995 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRulePhoneNumberFields.java @@ -10,10 +10,10 @@ import java.util.Objects; @CustomType -public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields { +public final class WebAclRulePhoneNumberFields { private List identifiers; - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields() {} + private WebAclRulePhoneNumberFields() {} public List identifiers() { return this.identifiers; } @@ -22,14 +22,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields defaults) { + public static Builder builder(WebAclRulePhoneNumberFields defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private List identifiers; public Builder() {} - public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields defaults) { + public Builder(WebAclRulePhoneNumberFields defaults) { Objects.requireNonNull(defaults); this.identifiers = defaults.identifiers; } @@ -37,7 +37,7 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfi @CustomType.Setter public Builder identifiers(List identifiers) { if (identifiers == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields", "identifiers"); + throw new MissingRequiredPropertyException("WebAclRulePhoneNumberFields", "identifiers"); } this.identifiers = identifiers; return this; @@ -45,8 +45,8 @@ public Builder identifiers(List identifiers) { public Builder identifiers(String... identifiers) { return identifiers(List.of(identifiers)); } - public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields build() { - final var _resultValue = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields(); + public WebAclRulePhoneNumberFields build() { + final var _resultValue = new WebAclRulePhoneNumberFields(); _resultValue.identifiers = identifiers; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleSingleQueryArgument.java similarity index 56% rename from sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument.java rename to sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleSingleQueryArgument.java index 1022c2430df..eb32ea1d59c 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleSingleQueryArgument.java @@ -9,14 +9,14 @@ import java.util.Objects; @CustomType -public final class WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument { +public final class WebAclRuleSingleQueryArgument { /** * @return Name of the query header to inspect. This setting must be provided as lower case characters. * */ private String name; - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument() {} + private WebAclRuleSingleQueryArgument() {} /** * @return Name of the query header to inspect. This setting must be provided as lower case characters. * @@ -29,14 +29,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument defaults) { + public static Builder builder(WebAclRuleSingleQueryArgument defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String name; public Builder() {} - public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument defaults) { + public Builder(WebAclRuleSingleQueryArgument defaults) { Objects.requireNonNull(defaults); this.name = defaults.name; } @@ -44,13 +44,13 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementReg @CustomType.Setter public Builder name(String name) { if (name == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument", "name"); + throw new MissingRequiredPropertyException("WebAclRuleSingleQueryArgument", "name"); } this.name = name; return this; } - public WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument build() { - final var _resultValue = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument(); + public WebAclRuleSingleQueryArgument build() { + final var _resultValue = new WebAclRuleSingleQueryArgument(); _resultValue.name = name; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspection.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspection.java index 2f4988bafa8..7fb0e806ab6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspection.java @@ -3,11 +3,11 @@ package com.pulumi.aws.wafv2.outputs; -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields; +import com.pulumi.aws.wafv2.outputs.WebAclRuleAddressFields; +import com.pulumi.aws.wafv2.outputs.WebAclRulePasswordField; +import com.pulumi.aws.wafv2.outputs.WebAclRulePhoneNumberFields; import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionEmailField; -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField; -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields; -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField; +import com.pulumi.aws.wafv2.outputs.WebAclRuleUsernameField; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -21,7 +21,7 @@ public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupC * @return The names of the fields in the request payload that contain your customer's primary physical address. See `address_fields` for more details. * */ - private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields addressFields; + private @Nullable WebAclRuleAddressFields addressFields; /** * @return The name of the field in the request payload that contains your customer's email. See `email_field` for more details. * @@ -31,7 +31,7 @@ public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupC * @return Details about your login page password field. See `password_field` for more details. * */ - private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField passwordField; + private @Nullable WebAclRulePasswordField passwordField; /** * @return The payload type for your login endpoint, either JSON or form encoded. * @@ -41,19 +41,19 @@ public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupC * @return The names of the fields in the request payload that contain your customer's primary phone number. See `phone_number_fields` for more details. * */ - private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields phoneNumberFields; + private @Nullable WebAclRulePhoneNumberFields phoneNumberFields; /** * @return Details about your login page username field. See `username_field` for more details. * */ - private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField usernameField; + private @Nullable WebAclRuleUsernameField usernameField; private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspection() {} /** * @return The names of the fields in the request payload that contain your customer's primary physical address. See `address_fields` for more details. * */ - public Optional addressFields() { + public Optional addressFields() { return Optional.ofNullable(this.addressFields); } /** @@ -67,7 +67,7 @@ public Optional passwordField() { + public Optional passwordField() { return Optional.ofNullable(this.passwordField); } /** @@ -81,14 +81,14 @@ public String payloadType() { * @return The names of the fields in the request payload that contain your customer's primary phone number. See `phone_number_fields` for more details. * */ - public Optional phoneNumberFields() { + public Optional phoneNumberFields() { return Optional.ofNullable(this.phoneNumberFields); } /** * @return Details about your login page username field. See `username_field` for more details. * */ - public Optional usernameField() { + public Optional usernameField() { return Optional.ofNullable(this.usernameField); } @@ -101,12 +101,12 @@ public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManage } @CustomType.Builder public static final class Builder { - private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields addressFields; + private @Nullable WebAclRuleAddressFields addressFields; private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionEmailField emailField; - private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField passwordField; + private @Nullable WebAclRulePasswordField passwordField; private String payloadType; - private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields phoneNumberFields; - private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField usernameField; + private @Nullable WebAclRulePhoneNumberFields phoneNumberFields; + private @Nullable WebAclRuleUsernameField usernameField; public Builder() {} public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspection defaults) { Objects.requireNonNull(defaults); @@ -119,7 +119,7 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfi } @CustomType.Setter - public Builder addressFields(@Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionAddressFields addressFields) { + public Builder addressFields(@Nullable WebAclRuleAddressFields addressFields) { this.addressFields = addressFields; return this; @@ -131,7 +131,7 @@ public Builder emailField(@Nullable WebAclRuleStatementManagedRuleGroupStatement return this; } @CustomType.Setter - public Builder passwordField(@Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField passwordField) { + public Builder passwordField(@Nullable WebAclRulePasswordField passwordField) { this.passwordField = passwordField; return this; @@ -145,13 +145,13 @@ public Builder payloadType(String payloadType) { return this; } @CustomType.Setter - public Builder phoneNumberFields(@Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPhoneNumberFields phoneNumberFields) { + public Builder phoneNumberFields(@Nullable WebAclRulePhoneNumberFields phoneNumberFields) { this.phoneNumberFields = phoneNumberFields; return this; } @CustomType.Setter - public Builder usernameField(@Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField usernameField) { + public Builder usernameField(@Nullable WebAclRuleUsernameField usernameField) { this.usernameField = usernameField; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField.java deleted file mode 100644 index 77020209b28..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.wafv2.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField { - /** - * @return The name of the password field. - * - */ - private String identifier; - - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField() {} - /** - * @return The name of the password field. - * - */ - public String identifier() { - return this.identifier; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String identifier; - public Builder() {} - public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField defaults) { - Objects.requireNonNull(defaults); - this.identifier = defaults.identifier; - } - - @CustomType.Setter - public Builder identifier(String identifier) { - if (identifier == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField", "identifier"); - } - this.identifier = identifier; - return this; - } - public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField build() { - final var _resultValue = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionPasswordField(); - _resultValue.identifier = identifier; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField.java deleted file mode 100644 index 220e928e2ef..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField.java +++ /dev/null @@ -1,58 +0,0 @@ -// *** 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.wafv2.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField { - /** - * @return The name of the username field. - * - */ - private String identifier; - - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField() {} - /** - * @return The name of the username field. - * - */ - public String identifier() { - return this.identifier; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String identifier; - public Builder() {} - public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField defaults) { - Objects.requireNonNull(defaults); - this.identifier = defaults.identifier; - } - - @CustomType.Setter - public Builder identifier(String identifier) { - if (identifier == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField", "identifier"); - } - this.identifier = identifier; - return this; - } - public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField build() { - final var _resultValue = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetRequestInspectionUsernameField(); - _resultValue.identifier = identifier; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspection.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspection.java index 3dd0fbc7938..935dcaca8df 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspection.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.outputs; -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains; +import com.pulumi.aws.wafv2.outputs.WebAclRuleBodyContains; import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionHeader; import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJson; import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionStatusCode; @@ -18,7 +18,7 @@ public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupC * @return Configures inspection of the response body. See `body_contains` for more details. * */ - private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains bodyContains; + private @Nullable WebAclRuleBodyContains bodyContains; /** * @return Configures inspection of the response header.See `header` for more details. * @@ -40,7 +40,7 @@ private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsMan * @return Configures inspection of the response body. See `body_contains` for more details. * */ - public Optional bodyContains() { + public Optional bodyContains() { return Optional.ofNullable(this.bodyContains); } /** @@ -74,7 +74,7 @@ public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManage } @CustomType.Builder public static final class Builder { - private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains bodyContains; + private @Nullable WebAclRuleBodyContains bodyContains; private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionHeader header; private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJson json; private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionStatusCode statusCode; @@ -88,7 +88,7 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfi } @CustomType.Setter - public Builder bodyContains(@Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains bodyContains) { + public Builder bodyContains(@Nullable WebAclRuleBodyContains bodyContains) { this.bodyContains = bodyContains; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains.java deleted file mode 100644 index 10e68b85c02..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains.java +++ /dev/null @@ -1,88 +0,0 @@ -// *** 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.wafv2.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Objects; - -@CustomType -public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains { - /** - * @return Strings in the body of the response that indicate a failed login attempt. - * - */ - private List failureStrings; - /** - * @return Strings in the body of the response that indicate a successful login attempt. - * - */ - private List successStrings; - - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains() {} - /** - * @return Strings in the body of the response that indicate a failed login attempt. - * - */ - public List failureStrings() { - return this.failureStrings; - } - /** - * @return Strings in the body of the response that indicate a successful login attempt. - * - */ - public List successStrings() { - return this.successStrings; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private List failureStrings; - private List successStrings; - public Builder() {} - public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains defaults) { - Objects.requireNonNull(defaults); - this.failureStrings = defaults.failureStrings; - this.successStrings = defaults.successStrings; - } - - @CustomType.Setter - public Builder failureStrings(List failureStrings) { - if (failureStrings == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains", "failureStrings"); - } - this.failureStrings = failureStrings; - return this; - } - public Builder failureStrings(String... failureStrings) { - return failureStrings(List.of(failureStrings)); - } - @CustomType.Setter - public Builder successStrings(List successStrings) { - if (successStrings == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains", "successStrings"); - } - this.successStrings = successStrings; - return this; - } - public Builder successStrings(String... successStrings) { - return successStrings(List.of(successStrings)); - } - public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains build() { - final var _resultValue = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionBodyContains(); - _resultValue.failureStrings = failureStrings; - _resultValue.successStrings = successStrings; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspection.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspection.java index 867b947333f..c51061af81a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspection.java @@ -3,8 +3,8 @@ package com.pulumi.aws.wafv2.outputs; -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField; -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField; +import com.pulumi.aws.wafv2.outputs.WebAclRulePasswordField; +import com.pulumi.aws.wafv2.outputs.WebAclRuleUsernameField; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -16,7 +16,7 @@ public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupC * @return Details about your login page password field. See `password_field` for more details. * */ - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField passwordField; + private WebAclRulePasswordField passwordField; /** * @return The payload type for your login endpoint, either JSON or form encoded. * @@ -26,14 +26,14 @@ public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupC * @return Details about your login page username field. See `username_field` for more details. * */ - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField usernameField; + private WebAclRuleUsernameField usernameField; private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspection() {} /** * @return Details about your login page password field. See `password_field` for more details. * */ - public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField passwordField() { + public WebAclRulePasswordField passwordField() { return this.passwordField; } /** @@ -47,7 +47,7 @@ public String payloadType() { * @return Details about your login page username field. See `username_field` for more details. * */ - public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField usernameField() { + public WebAclRuleUsernameField usernameField() { return this.usernameField; } @@ -60,9 +60,9 @@ public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManage } @CustomType.Builder public static final class Builder { - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField passwordField; + private WebAclRulePasswordField passwordField; private String payloadType; - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField usernameField; + private WebAclRuleUsernameField usernameField; public Builder() {} public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspection defaults) { Objects.requireNonNull(defaults); @@ -72,7 +72,7 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfi } @CustomType.Setter - public Builder passwordField(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionPasswordField passwordField) { + public Builder passwordField(WebAclRulePasswordField passwordField) { if (passwordField == null) { throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspection", "passwordField"); } @@ -88,7 +88,7 @@ public Builder payloadType(String payloadType) { return this; } @CustomType.Setter - public Builder usernameField(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField usernameField) { + public Builder usernameField(WebAclRuleUsernameField usernameField) { if (usernameField == null) { throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspection", "usernameField"); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspection.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspection.java index a62bb8ba1a8..e40ce0aa494 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspection.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspection.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.outputs; -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains; +import com.pulumi.aws.wafv2.outputs.WebAclRuleBodyContains; import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionHeader; import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJson; import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionStatusCode; @@ -18,7 +18,7 @@ public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupC * @return Configures inspection of the response body. See `body_contains` for more details. * */ - private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains bodyContains; + private @Nullable WebAclRuleBodyContains bodyContains; /** * @return Configures inspection of the response header.See `header` for more details. * @@ -40,7 +40,7 @@ private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsMan * @return Configures inspection of the response body. See `body_contains` for more details. * */ - public Optional bodyContains() { + public Optional bodyContains() { return Optional.ofNullable(this.bodyContains); } /** @@ -74,7 +74,7 @@ public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManage } @CustomType.Builder public static final class Builder { - private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains bodyContains; + private @Nullable WebAclRuleBodyContains bodyContains; private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionHeader header; private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionJson json; private @Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionStatusCode statusCode; @@ -88,7 +88,7 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfi } @CustomType.Setter - public Builder bodyContains(@Nullable WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetResponseInspectionBodyContains bodyContains) { + public Builder bodyContains(@Nullable WebAclRuleBodyContains bodyContains) { this.bodyContains = bodyContains; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatch.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatch.java index fd22dcb0089..a39991560e9 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatch.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatch.java @@ -3,17 +3,17 @@ package com.pulumi.aws.wafv2.outputs; -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments; +import com.pulumi.aws.wafv2.outputs.WebAclRuleAllQueryArguments; +import com.pulumi.aws.wafv2.outputs.WebAclRuleJa3Fingerprint; +import com.pulumi.aws.wafv2.outputs.WebAclRuleSingleQueryArgument; import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchBody; import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies; import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader; import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderOrder; -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint; import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody; import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchMethod; import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchQueryString; import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleHeader; -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument; import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriPath; import com.pulumi.core.annotations.CustomType; import java.util.List; @@ -27,7 +27,7 @@ public final class WebAclRuleStatementManagedRuleGroupStatementScopeDownStatemen * @return Inspect all query arguments. * */ - private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments allQueryArguments; + private @Nullable WebAclRuleAllQueryArguments allQueryArguments; /** * @return Inspect the request body, which immediately follows the request headers. See `body` below for details. * @@ -52,7 +52,7 @@ public final class WebAclRuleStatementManagedRuleGroupStatementScopeDownStatemen * @return Inspect the JA3 fingerprint. See `ja3_fingerprint` below for details. * */ - private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint ja3Fingerprint; + private @Nullable WebAclRuleJa3Fingerprint ja3Fingerprint; /** * @return Inspect the request body as JSON. See `json_body` for details. * @@ -77,7 +77,7 @@ public final class WebAclRuleStatementManagedRuleGroupStatementScopeDownStatemen * @return Inspect a single query argument. See `single_query_argument` below for details. * */ - private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument singleQueryArgument; + private @Nullable WebAclRuleSingleQueryArgument singleQueryArgument; /** * @return Inspect the request URI path. This is the part of a web request that identifies a resource, for example, `/images/daily-ad.jpg`. * @@ -89,7 +89,7 @@ private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatte * @return Inspect all query arguments. * */ - public Optional allQueryArguments() { + public Optional allQueryArguments() { return Optional.ofNullable(this.allQueryArguments); } /** @@ -124,7 +124,7 @@ public List ja3Fingerprint() { + public Optional ja3Fingerprint() { return Optional.ofNullable(this.ja3Fingerprint); } /** @@ -159,7 +159,7 @@ public Optional singleQueryArgument() { + public Optional singleQueryArgument() { return Optional.ofNullable(this.singleQueryArgument); } /** @@ -179,17 +179,17 @@ public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementScopeD } @CustomType.Builder public static final class Builder { - private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments allQueryArguments; + private @Nullable WebAclRuleAllQueryArguments allQueryArguments; private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchBody body; private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies cookies; private @Nullable List headerOrders; private @Nullable List headers; - private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint ja3Fingerprint; + private @Nullable WebAclRuleJa3Fingerprint ja3Fingerprint; private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody jsonBody; private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchMethod method; private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchQueryString queryString; private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleHeader singleHeader; - private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument singleQueryArgument; + private @Nullable WebAclRuleSingleQueryArgument singleQueryArgument; private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchUriPath uriPath; public Builder() {} public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatch defaults) { @@ -209,7 +209,7 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementReg } @CustomType.Setter - public Builder allQueryArguments(@Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments allQueryArguments) { + public Builder allQueryArguments(@Nullable WebAclRuleAllQueryArguments allQueryArguments) { this.allQueryArguments = allQueryArguments; return this; @@ -245,7 +245,7 @@ public Builder headers(WebAclRuleStatementManagedRuleGroupStatementScopeDownStat return headers(List.of(headers)); } @CustomType.Setter - public Builder ja3Fingerprint(@Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJa3Fingerprint ja3Fingerprint) { + public Builder ja3Fingerprint(@Nullable WebAclRuleJa3Fingerprint ja3Fingerprint) { this.ja3Fingerprint = ja3Fingerprint; return this; @@ -275,7 +275,7 @@ public Builder singleHeader(@Nullable WebAclRuleStatementManagedRuleGroupStateme return this; } @CustomType.Setter - public Builder singleQueryArgument(@Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgument singleQueryArgument) { + public Builder singleQueryArgument(@Nullable WebAclRuleSingleQueryArgument singleQueryArgument) { this.singleQueryArgument = singleQueryArgument; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments.java deleted file mode 100644 index d5cff2fb37c..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments.java +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.wafv2.outputs; - -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; - -@CustomType -public final class WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments { - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments() {} - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - public Builder() {} - public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments defaults) { - Objects.requireNonNull(defaults); - } - - public WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments build() { - final var _resultValue = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments(); - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies.java index 99123fad2ff..dcce9b52ebf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.outputs; -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern; +import com.pulumi.aws.wafv2.outputs.WebAclRuleMatchPattern; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -16,7 +16,7 @@ public final class WebAclRuleStatementManagedRuleGroupStatementScopeDownStatemen * @return The filter to use to identify the subset of cookies to inspect in a web request. You must specify exactly one setting: either `all`, `included_cookies` or `excluded_cookies`. More details: [CookieMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_CookieMatchPattern.html) * */ - private List matchPatterns; + private List matchPatterns; /** * @return The parts of the cookies to inspect with the rule inspection criteria. If you specify All, AWS WAF inspects both keys and values. Valid values: `ALL`, `KEY`, `VALUE` * @@ -33,7 +33,7 @@ private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatte * @return The filter to use to identify the subset of cookies to inspect in a web request. You must specify exactly one setting: either `all`, `included_cookies` or `excluded_cookies`. More details: [CookieMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_CookieMatchPattern.html) * */ - public List matchPatterns() { + public List matchPatterns() { return this.matchPatterns; } /** @@ -60,7 +60,7 @@ public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementScopeD } @CustomType.Builder public static final class Builder { - private List matchPatterns; + private List matchPatterns; private String matchScope; private String oversizeHandling; public Builder() {} @@ -72,14 +72,14 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementReg } @CustomType.Setter - public Builder matchPatterns(List matchPatterns) { + public Builder matchPatterns(List matchPatterns) { if (matchPatterns == null) { throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookies", "matchPatterns"); } this.matchPatterns = matchPatterns; return this; } - public Builder matchPatterns(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern... matchPatterns) { + public Builder matchPatterns(WebAclRuleMatchPattern... matchPatterns) { return matchPatterns(List.of(matchPatterns)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern.java deleted file mode 100644 index b3ff38aa5c1..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern.java +++ /dev/null @@ -1,91 +0,0 @@ -// *** 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.wafv2.outputs; - -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll; -import com.pulumi.core.annotations.CustomType; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern { - /** - * @return An empty configuration block that is used for inspecting all headers. - * - */ - private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll all; - private @Nullable List excludedCookies; - private @Nullable List includedCookies; - - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern() {} - /** - * @return An empty configuration block that is used for inspecting all headers. - * - */ - public Optional all() { - return Optional.ofNullable(this.all); - } - public List excludedCookies() { - return this.excludedCookies == null ? List.of() : this.excludedCookies; - } - public List includedCookies() { - return this.includedCookies == null ? List.of() : this.includedCookies; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll all; - private @Nullable List excludedCookies; - private @Nullable List includedCookies; - public Builder() {} - public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern defaults) { - Objects.requireNonNull(defaults); - this.all = defaults.all; - this.excludedCookies = defaults.excludedCookies; - this.includedCookies = defaults.includedCookies; - } - - @CustomType.Setter - public Builder all(@Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll all) { - - this.all = all; - return this; - } - @CustomType.Setter - public Builder excludedCookies(@Nullable List excludedCookies) { - - this.excludedCookies = excludedCookies; - return this; - } - public Builder excludedCookies(String... excludedCookies) { - return excludedCookies(List.of(excludedCookies)); - } - @CustomType.Setter - public Builder includedCookies(@Nullable List includedCookies) { - - this.includedCookies = includedCookies; - return this; - } - public Builder includedCookies(String... includedCookies) { - return includedCookies(List.of(includedCookies)); - } - public WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern build() { - final var _resultValue = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern(); - _resultValue.all = all; - _resultValue.excludedCookies = excludedCookies; - _resultValue.includedCookies = includedCookies; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll.java deleted file mode 100644 index d6df08fff3d..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll.java +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.wafv2.outputs; - -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; - -@CustomType -public final class WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll { - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll() {} - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - public Builder() {} - public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll defaults) { - Objects.requireNonNull(defaults); - } - - public WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll build() { - final var _resultValue = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll(); - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader.java index 058adbdcf2c..bad06698c26 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.outputs; -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern; +import com.pulumi.aws.wafv2.outputs.WebAclRuleMatchPattern; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -15,7 +15,7 @@ public final class WebAclRuleStatementManagedRuleGroupStatementScopeDownStatemen * @return The filter to use to identify the subset of headers to inspect in a web request. The `match_pattern` block supports only one of the following arguments: * */ - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern matchPattern; + private WebAclRuleMatchPattern matchPattern; /** * @return The parts of the headers to inspect with the rule inspection criteria. If you specify `All`, AWS WAF inspects both keys and values. Valid values include the following: `ALL`, `Key`, `Value`. * @@ -32,7 +32,7 @@ private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatte * @return The filter to use to identify the subset of headers to inspect in a web request. The `match_pattern` block supports only one of the following arguments: * */ - public WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern matchPattern() { + public WebAclRuleMatchPattern matchPattern() { return this.matchPattern; } /** @@ -59,7 +59,7 @@ public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementScopeD } @CustomType.Builder public static final class Builder { - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern matchPattern; + private WebAclRuleMatchPattern matchPattern; private String matchScope; private String oversizeHandling; public Builder() {} @@ -71,7 +71,7 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementReg } @CustomType.Setter - public Builder matchPattern(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern matchPattern) { + public Builder matchPattern(WebAclRuleMatchPattern matchPattern) { if (matchPattern == null) { throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeader", "matchPattern"); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern.java deleted file mode 100644 index dd5f332b0d8..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern.java +++ /dev/null @@ -1,107 +0,0 @@ -// *** 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.wafv2.outputs; - -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll; -import com.pulumi.core.annotations.CustomType; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern { - /** - * @return An empty configuration block that is used for inspecting all headers. - * - */ - private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll all; - /** - * @return An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values. - * - */ - private @Nullable List excludedHeaders; - /** - * @return An array of strings that will be used for inspecting headers that have a key that matches one of the provided values. - * - */ - private @Nullable List includedHeaders; - - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern() {} - /** - * @return An empty configuration block that is used for inspecting all headers. - * - */ - public Optional all() { - return Optional.ofNullable(this.all); - } - /** - * @return An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values. - * - */ - public List excludedHeaders() { - return this.excludedHeaders == null ? List.of() : this.excludedHeaders; - } - /** - * @return An array of strings that will be used for inspecting headers that have a key that matches one of the provided values. - * - */ - public List includedHeaders() { - return this.includedHeaders == null ? List.of() : this.includedHeaders; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll all; - private @Nullable List excludedHeaders; - private @Nullable List includedHeaders; - public Builder() {} - public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern defaults) { - Objects.requireNonNull(defaults); - this.all = defaults.all; - this.excludedHeaders = defaults.excludedHeaders; - this.includedHeaders = defaults.includedHeaders; - } - - @CustomType.Setter - public Builder all(@Nullable WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll all) { - - this.all = all; - return this; - } - @CustomType.Setter - public Builder excludedHeaders(@Nullable List excludedHeaders) { - - this.excludedHeaders = excludedHeaders; - return this; - } - public Builder excludedHeaders(String... excludedHeaders) { - return excludedHeaders(List.of(excludedHeaders)); - } - @CustomType.Setter - public Builder includedHeaders(@Nullable List includedHeaders) { - - this.includedHeaders = includedHeaders; - return this; - } - public Builder includedHeaders(String... includedHeaders) { - return includedHeaders(List.of(includedHeaders)); - } - public WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern build() { - final var _resultValue = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern(); - _resultValue.all = all; - _resultValue.excludedHeaders = excludedHeaders; - _resultValue.includedHeaders = includedHeaders; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll.java deleted file mode 100644 index c08955ee90f..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll.java +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.wafv2.outputs; - -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; - -@CustomType -public final class WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll { - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll() {} - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - public Builder() {} - public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll defaults) { - Objects.requireNonNull(defaults); - } - - public WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll build() { - final var _resultValue = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll(); - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody.java index 4c29c720207..57ae53c953b 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.outputs; -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern; +import com.pulumi.aws.wafv2.outputs.WebAclRuleMatchPattern; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; @@ -22,7 +22,7 @@ public final class WebAclRuleStatementManagedRuleGroupStatementScopeDownStatemen * @return The patterns to look for in the JSON body. You must specify exactly one setting: either `all` or `included_paths`. See [JsonMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_JsonMatchPattern.html) for details. * */ - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern matchPattern; + private WebAclRuleMatchPattern matchPattern; /** * @return The parts of the JSON to match against using the `match_pattern`. Valid values are `ALL`, `KEY` and `VALUE`. * @@ -46,7 +46,7 @@ public Optional invalidFallbackBehavior() { * @return The patterns to look for in the JSON body. You must specify exactly one setting: either `all` or `included_paths`. See [JsonMatchPattern](https://docs.aws.amazon.com/waf/latest/APIReference/API_JsonMatchPattern.html) for details. * */ - public WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern matchPattern() { + public WebAclRuleMatchPattern matchPattern() { return this.matchPattern; } /** @@ -74,7 +74,7 @@ public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementScopeD @CustomType.Builder public static final class Builder { private @Nullable String invalidFallbackBehavior; - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern matchPattern; + private WebAclRuleMatchPattern matchPattern; private String matchScope; private @Nullable String oversizeHandling; public Builder() {} @@ -93,7 +93,7 @@ public Builder invalidFallbackBehavior(@Nullable String invalidFallbackBehavior) return this; } @CustomType.Setter - public Builder matchPattern(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern matchPattern) { + public Builder matchPattern(WebAclRuleMatchPattern matchPattern) { if (matchPattern == null) { throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBody", "matchPattern"); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll.java deleted file mode 100644 index ceecb46b376..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll.java +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.wafv2.outputs; - -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; - -@CustomType -public final class WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll { - private WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll() {} - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - public Builder() {} - public Builder(WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll defaults) { - Objects.requireNonNull(defaults); - } - - public WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll build() { - final var _resultValue = new WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll(); - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern.java index ac5a97af628..2e385b80d84 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPattern.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.outputs; -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll; +import com.pulumi.aws.wafv2.outputs.WebAclRuleAll; import com.pulumi.core.annotations.CustomType; import java.lang.String; import java.util.List; @@ -17,7 +17,7 @@ public final class WebAclRuleStatementRateBasedStatementScopeDownStatementRegexP * @return An empty configuration block that is used for inspecting all headers. * */ - private @Nullable WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll all; + private @Nullable WebAclRuleAll all; private @Nullable List excludedCookies; private @Nullable List includedCookies; @@ -26,7 +26,7 @@ private WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetRe * @return An empty configuration block that is used for inspecting all headers. * */ - public Optional all() { + public Optional all() { return Optional.ofNullable(this.all); } public List excludedCookies() { @@ -45,7 +45,7 @@ public static Builder builder(WebAclRuleStatementRateBasedStatementScopeDownStat } @CustomType.Builder public static final class Builder { - private @Nullable WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll all; + private @Nullable WebAclRuleAll all; private @Nullable List excludedCookies; private @Nullable List includedCookies; public Builder() {} @@ -57,7 +57,7 @@ public Builder(WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatte } @CustomType.Setter - public Builder all(@Nullable WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll all) { + public Builder all(@Nullable WebAclRuleAll all) { this.all = all; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll.java deleted file mode 100644 index 8aa406a949e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll.java +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.wafv2.outputs; - -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; - -@CustomType -public final class WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll { - private WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll() {} - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - public Builder() {} - public Builder(WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll defaults) { - Objects.requireNonNull(defaults); - } - - public WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll build() { - final var _resultValue = new WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchCookiesMatchPatternAll(); - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern.java index 912097d2c43..619f62065d2 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPattern.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.outputs; -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll; +import com.pulumi.aws.wafv2.outputs.WebAclRuleAll; import com.pulumi.core.annotations.CustomType; import java.lang.String; import java.util.List; @@ -17,7 +17,7 @@ public final class WebAclRuleStatementRateBasedStatementScopeDownStatementRegexP * @return An empty configuration block that is used for inspecting all headers. * */ - private @Nullable WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll all; + private @Nullable WebAclRuleAll all; /** * @return An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values. * @@ -34,7 +34,7 @@ private WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetRe * @return An empty configuration block that is used for inspecting all headers. * */ - public Optional all() { + public Optional all() { return Optional.ofNullable(this.all); } /** @@ -61,7 +61,7 @@ public static Builder builder(WebAclRuleStatementRateBasedStatementScopeDownStat } @CustomType.Builder public static final class Builder { - private @Nullable WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll all; + private @Nullable WebAclRuleAll all; private @Nullable List excludedHeaders; private @Nullable List includedHeaders; public Builder() {} @@ -73,7 +73,7 @@ public Builder(WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatte } @CustomType.Setter - public Builder all(@Nullable WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll all) { + public Builder all(@Nullable WebAclRuleAll all) { this.all = all; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll.java deleted file mode 100644 index 267e6f4d0ef..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll.java +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.wafv2.outputs; - -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; - -@CustomType -public final class WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll { - private WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll() {} - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - public Builder() {} - public Builder(WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll defaults) { - Objects.requireNonNull(defaults); - } - - public WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll build() { - final var _resultValue = new WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchHeaderMatchPatternAll(); - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern.java index 421d20a081f..c0967d01965 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern.java @@ -3,7 +3,7 @@ package com.pulumi.aws.wafv2.outputs; -import com.pulumi.aws.wafv2.outputs.WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll; +import com.pulumi.aws.wafv2.outputs.WebAclRuleAll; import com.pulumi.core.annotations.CustomType; import java.lang.String; import java.util.List; @@ -17,7 +17,7 @@ public final class WebAclRuleStatementRateBasedStatementScopeDownStatementRegexP * @return An empty configuration block that is used for inspecting all headers. * */ - private @Nullable WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll all; + private @Nullable WebAclRuleAll all; private @Nullable List includedPaths; private WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern() {} @@ -25,7 +25,7 @@ private WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetRe * @return An empty configuration block that is used for inspecting all headers. * */ - public Optional all() { + public Optional all() { return Optional.ofNullable(this.all); } public List includedPaths() { @@ -41,7 +41,7 @@ public static Builder builder(WebAclRuleStatementRateBasedStatementScopeDownStat } @CustomType.Builder public static final class Builder { - private @Nullable WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll all; + private @Nullable WebAclRuleAll all; private @Nullable List includedPaths; public Builder() {} public Builder(WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPattern defaults) { @@ -51,7 +51,7 @@ public Builder(WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatte } @CustomType.Setter - public Builder all(@Nullable WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll all) { + public Builder all(@Nullable WebAclRuleAll all) { this.all = all; return this; diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll.java deleted file mode 100644 index 2d4e577f39e..00000000000 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll.java +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.wafv2.outputs; - -import com.pulumi.core.annotations.CustomType; -import java.util.Objects; - -@CustomType -public final class WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll { - private WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll() {} - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - public Builder() {} - public Builder(WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll defaults) { - Objects.requireNonNull(defaults); - } - - public WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll build() { - final var _resultValue = new WebAclRuleStatementRateBasedStatementScopeDownStatementRegexPatternSetReferenceStatementFieldToMatchJsonBodyMatchPatternAll(); - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField.java b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleUsernameField.java similarity index 55% rename from sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField.java rename to sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleUsernameField.java index 094866fd205..e294ac61d03 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField.java +++ b/sdk/java/src/main/java/com/pulumi/aws/wafv2/outputs/WebAclRuleUsernameField.java @@ -9,14 +9,14 @@ import java.util.Objects; @CustomType -public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField { +public final class WebAclRuleUsernameField { /** * @return The name of the username field. * */ private String identifier; - private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField() {} + private WebAclRuleUsernameField() {} /** * @return The name of the username field. * @@ -29,14 +29,14 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField defaults) { + public static Builder builder(WebAclRuleUsernameField defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String identifier; public Builder() {} - public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField defaults) { + public Builder(WebAclRuleUsernameField defaults) { Objects.requireNonNull(defaults); this.identifier = defaults.identifier; } @@ -44,13 +44,13 @@ public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfi @CustomType.Setter public Builder identifier(String identifier) { if (identifier == null) { - throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField", "identifier"); + throw new MissingRequiredPropertyException("WebAclRuleUsernameField", "identifier"); } this.identifier = identifier; return this; } - public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField build() { - final var _resultValue = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAtpRuleSetRequestInspectionUsernameField(); + public WebAclRuleUsernameField build() { + final var _resultValue = new WebAclRuleUsernameField(); _resultValue.identifier = identifier; return _resultValue; }