Class CfnDataSource.DocumentAttributeValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.DocumentAttributeValueProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnDataSource.DocumentAttributeValueProperty>
- Enclosing interface:
 - CfnDataSource.DocumentAttributeValueProperty
 
@Stability(Stable)
public static final class CfnDataSource.DocumentAttributeValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.DocumentAttributeValueProperty>
A builder for 
CfnDataSource.DocumentAttributeValueProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataSource.DocumentAttributeValueProperty.getDateValue()Sets the value ofCfnDataSource.DocumentAttributeValueProperty.getLongValue()stringListValue(List<String> stringListValue) Sets the value ofCfnDataSource.DocumentAttributeValueProperty.getStringListValue()stringValue(String stringValue) Sets the value ofCfnDataSource.DocumentAttributeValueProperty.getStringValue() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
dateValue
@Stability(Stable) public CfnDataSource.DocumentAttributeValueProperty.Builder dateValue(String dateValue) Sets the value ofCfnDataSource.DocumentAttributeValueProperty.getDateValue()- Parameters:
 dateValue- A date expressed as an ISO 8601 string. 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.- Returns:
 this
 - 
longValue
@Stability(Stable) public CfnDataSource.DocumentAttributeValueProperty.Builder longValue(Number longValue) Sets the value ofCfnDataSource.DocumentAttributeValueProperty.getLongValue()- Parameters:
 longValue- A long integer value.- Returns:
 this
 - 
stringListValue
@Stability(Stable) public CfnDataSource.DocumentAttributeValueProperty.Builder stringListValue(List<String> stringListValue) Sets the value ofCfnDataSource.DocumentAttributeValueProperty.getStringListValue()- Parameters:
 stringListValue- A list of strings. The default maximum length or number of strings is 10.- Returns:
 this
 - 
stringValue
@Stability(Stable) public CfnDataSource.DocumentAttributeValueProperty.Builder stringValue(String stringValue) Sets the value ofCfnDataSource.DocumentAttributeValueProperty.getStringValue()- Parameters:
 stringValue- A string, such as "department".- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnDataSource.DocumentAttributeValueProperty>- Returns:
 - a new instance of 
CfnDataSource.DocumentAttributeValueProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -