Class CfnDataSourcePropsMixin.DocumentAttributeTargetProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.qbusiness.mixins.CfnDataSourcePropsMixin.DocumentAttributeTargetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.DocumentAttributeTargetProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.DocumentAttributeTargetProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.DocumentAttributeTargetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.DocumentAttributeTargetProperty>
A builder for
CfnDataSourcePropsMixin.DocumentAttributeTargetProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributeValueOperator(String attributeValueOperator) build()Builds the configured instance.Sets the value ofCfnDataSourcePropsMixin.DocumentAttributeTargetProperty.getKey()value(IResolvable value) Sets the value ofCfnDataSourcePropsMixin.DocumentAttributeTargetProperty.getValue()Sets the value ofCfnDataSourcePropsMixin.DocumentAttributeTargetProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributeValueOperator
@Stability(Stable) public CfnDataSourcePropsMixin.DocumentAttributeTargetProperty.Builder attributeValueOperator(String attributeValueOperator) Sets the value ofCfnDataSourcePropsMixin.DocumentAttributeTargetProperty.getAttributeValueOperator()- Parameters:
attributeValueOperator-TRUEto delete the existing target value for your specified target attribute key. You cannot create a target value and set this toTRUE.- Returns:
this
-
key
@Stability(Stable) public CfnDataSourcePropsMixin.DocumentAttributeTargetProperty.Builder key(String key) Sets the value ofCfnDataSourcePropsMixin.DocumentAttributeTargetProperty.getKey()- Parameters:
key- The identifier of the target document attribute or metadata field. For example, 'Department' could be an identifier for the target attribute or metadata field that includes the department names associated with the documents.- Returns:
this
-
value
@Stability(Stable) public CfnDataSourcePropsMixin.DocumentAttributeTargetProperty.Builder value(IResolvable value) Sets the value ofCfnDataSourcePropsMixin.DocumentAttributeTargetProperty.getValue()- Parameters:
value- The value of a document attribute. You can only provide one value for a document attribute.- Returns:
this
-
value
@Stability(Stable) public CfnDataSourcePropsMixin.DocumentAttributeTargetProperty.Builder value(CfnDataSourcePropsMixin.DocumentAttributeValueProperty value) Sets the value ofCfnDataSourcePropsMixin.DocumentAttributeTargetProperty.getValue()- Parameters:
value- The value of a document attribute. You can only provide one value for a document attribute.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.DocumentAttributeTargetProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.DocumentAttributeTargetProperty - Throws:
NullPointerException- if any required attribute was not provided
-