@Stability(value=Stable)
public static interface CfnDataSource.DocumentAttributeValueProperty
extends software.amazon.jsii.JsiiSerializable
You can only provide one value for a document attribute.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kendra.*;
DocumentAttributeValueProperty documentAttributeValueProperty = DocumentAttributeValueProperty.builder()
.dateValue("dateValue")
.longValue(123)
.stringListValue(List.of("stringListValue"))
.stringValue("stringValue")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.DocumentAttributeValueProperty.Builder
A builder for
CfnDataSource.DocumentAttributeValueProperty |
static class |
CfnDataSource.DocumentAttributeValueProperty.Jsii$Proxy
An implementation for
CfnDataSource.DocumentAttributeValueProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.DocumentAttributeValueProperty.Builder |
builder() |
default String |
getDateValue()
A date expressed as an ISO 8601 string.
|
default Number |
getLongValue()
A long integer value.
|
default List<String> |
getStringListValue()
A list of strings.
|
default String |
getStringValue()
A string, such as "department".
|
@Stability(value=Stable) @Nullable default String getDateValue()
It is important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.
@Stability(value=Stable) @Nullable default Number getLongValue()
@Stability(value=Stable) @Nullable default List<String> getStringListValue()
@Stability(value=Stable) @Nullable default String getStringValue()
@Stability(value=Stable) static CfnDataSource.DocumentAttributeValueProperty.Builder builder()
Copyright © 2022. All rights reserved.