Class CfnAssetModelPropsMixin.AttributeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotsitewise.CfnAssetModelPropsMixin.AttributeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssetModelPropsMixin.AttributeProperty>
- Enclosing interface:
CfnAssetModelPropsMixin.AttributeProperty
@Stability(Stable)
public static final class CfnAssetModelPropsMixin.AttributeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssetModelPropsMixin.AttributeProperty>
A builder for
CfnAssetModelPropsMixin.AttributeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultValue(String defaultValue) Sets the value ofCfnAssetModelPropsMixin.AttributeProperty.getDefaultValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultValue
@Stability(Stable) public CfnAssetModelPropsMixin.AttributeProperty.Builder defaultValue(String defaultValue) Sets the value ofCfnAssetModelPropsMixin.AttributeProperty.getDefaultValue()- Parameters:
defaultValue- The default value of the asset model property attribute. All assets that you create from the asset model contain this attribute value. You can update an attribute's value after you create an asset. For more information, see Updating attribute values in the AWS IoT SiteWise User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssetModelPropsMixin.AttributeProperty>- Returns:
- a new instance of
CfnAssetModelPropsMixin.AttributeProperty - Throws:
NullPointerException- if any required attribute was not provided
-