Interface AssetModelPropertySummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AssetModelPropertySummary.Builder,,AssetModelPropertySummary> SdkBuilder<AssetModelPropertySummary.Builder,,AssetModelPropertySummary> SdkPojo
- Enclosing class:
AssetModelPropertySummary
public static interface AssetModelPropertySummary.Builder
extends SdkPojo, CopyableBuilder<AssetModelPropertySummary.Builder,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.The ID of the property.The name of the property.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 asNewtonsorRPM) of the property.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.
-
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
STRUCTdata type.- Parameters:
dataTypeSpec- The data type of the structure for this property. This parameter exists on properties that have theSTRUCTdata type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unit
The unit (such as
NewtonsorRPM) of the property.- Parameters:
unit- The unit (such asNewtonsorRPM) 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.Builderavoiding the need to create one manually viaPropertyType.builder().When the
Consumercompletes,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.
-