Class CfnDataAccessor.DocumentAttributeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.qbusiness.CfnDataAccessor.DocumentAttributeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataAccessor.DocumentAttributeProperty>
- Enclosing interface:
CfnDataAccessor.DocumentAttributeProperty
@Stability(Stable)
public static final class CfnDataAccessor.DocumentAttributeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataAccessor.DocumentAttributeProperty>
A builder for
CfnDataAccessor.DocumentAttributeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataAccessor.DocumentAttributeProperty.getName()value(IResolvable value) Sets the value ofCfnDataAccessor.DocumentAttributeProperty.getValue()Sets the value ofCfnDataAccessor.DocumentAttributeProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnDataAccessor.DocumentAttributeProperty.getName()- Parameters:
name- The identifier for the attribute. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CfnDataAccessor.DocumentAttributeProperty.Builder value(IResolvable value) Sets the value ofCfnDataAccessor.DocumentAttributeProperty.getValue()- Parameters:
value- The value of the attribute. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CfnDataAccessor.DocumentAttributeProperty.Builder value(CfnDataAccessor.DocumentAttributeValueProperty value) Sets the value ofCfnDataAccessor.DocumentAttributeProperty.getValue()- Parameters:
value- The value of the attribute. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataAccessor.DocumentAttributeProperty>- Returns:
- a new instance of
CfnDataAccessor.DocumentAttributeProperty - Throws:
NullPointerException- if any required attribute was not provided
-