Interface AssetModelPropertySummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssetModelPropertySummary.Builder,
,AssetModelPropertySummary> SdkBuilder<AssetModelPropertySummary.Builder,
,AssetModelPropertySummary> SdkPojo
- Enclosing class:
AssetModelPropertySummary
-
Method Summary
Modifier and TypeMethodDescriptionassetModelCompositeModelId
(String assetModelCompositeModelId) The ID of the composite model that contains the asset model property.The data type of the property.dataType
(PropertyDataType dataType) The data type of the property.dataTypeSpec
(String dataTypeSpec) The data type of the structure for this property.externalId
(String externalId) The external ID of the property.The ID of the property.The name of the property.The structured path to the property from the root of the asset model.The structured path to the property from the root of the asset model.path
(AssetModelPropertyPathSegment... path) The structured path to the property from the root of the asset model.type
(Consumer<PropertyType.Builder> type) Sets the value of the Type property for this object.type
(PropertyType type) Sets the value of the Type property for this object.The unit (such asNewtons
orRPM
) of the property.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The ID of the property.
- Parameters:
id
- The ID of the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalId
The external ID of the property. For more information, see Using external IDs in the IoT SiteWise User Guide.
- Parameters:
externalId
- The external ID of the property. For more information, see Using external IDs in the IoT SiteWise User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the property.
- Parameters:
name
- The name of the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataType
The data type of the property.
- Parameters:
dataType
- The data type of the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataType
The data type of the property.
- Parameters:
dataType
- The data type of the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataTypeSpec
The data type of the structure for this property. This parameter exists on properties that have the
STRUCT
data type.- Parameters:
dataTypeSpec
- The data type of the structure for this property. This parameter exists on properties that have theSTRUCT
data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unit
The unit (such as
Newtons
orRPM
) of the property.- Parameters:
unit
- The unit (such asNewtons
orRPM
) of the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Sets the value of the Type property for this object.- Parameters:
type
- The new value for the Type property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Sets the value of the Type property for this object. This is a convenience method that creates an instance of thePropertyType.Builder
avoiding the need to create one manually viaPropertyType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totype(PropertyType)
.- Parameters:
type
- a consumer that will call methods onPropertyType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assetModelCompositeModelId
The ID of the composite model that contains the asset model property.
- Parameters:
assetModelCompositeModelId
- The ID of the composite model that contains the asset model property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The structured path to the property from the root of the asset model.
- Parameters:
path
- The structured path to the property from the root of the asset model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The structured path to the property from the root of the asset model.
- Parameters:
path
- The structured path to the property from the root of the asset model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The structured path to the property from the root of the asset model.
This is a convenience method that creates an instance of theAssetModelPropertyPathSegment.Builder
avoiding the need to create one manually viaAssetModelPropertyPathSegment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topath(List<AssetModelPropertyPathSegment>)
.- Parameters:
path
- a consumer that will call methods onAssetModelPropertyPathSegment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-