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