Class CfnAssetModel.AttributeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnAssetModel.AttributeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssetModel.AttributeProperty>
- Enclosing interface:
CfnAssetModel.AttributeProperty
@Stability(Stable)
public static final class CfnAssetModel.AttributeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssetModel.AttributeProperty>
A builder for
CfnAssetModel.AttributeProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.defaultValue
(String defaultValue) Sets the value ofCfnAssetModel.AttributeProperty.getDefaultValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultValue
Sets the value ofCfnAssetModel.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnAssetModel.AttributeProperty>
- Returns:
- a new instance of
CfnAssetModel.AttributeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-