Interface AssetModelProperty.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssetModelProperty.Builder,AssetModelProperty>,SdkBuilder<AssetModelProperty.Builder,AssetModelProperty>,SdkPojo
- Enclosing class:
- AssetModelProperty
public static interface AssetModelProperty.Builder extends SdkPojo, CopyableBuilder<AssetModelProperty.Builder,AssetModelProperty>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssetModelProperty.BuilderdataType(String dataType)The data type of the asset model property.AssetModelProperty.BuilderdataType(PropertyDataType dataType)The data type of the asset model property.AssetModelProperty.BuilderdataTypeSpec(String dataTypeSpec)The data type of the structure for this property.AssetModelProperty.Builderid(String id)The ID of the asset model property.AssetModelProperty.Buildername(String name)The name of the asset model property.default AssetModelProperty.Buildertype(Consumer<PropertyType.Builder> type)The property type (seePropertyType).AssetModelProperty.Buildertype(PropertyType type)The property type (seePropertyType).AssetModelProperty.Builderunit(String unit)The unit of the asset model property, such asNewtonsorRPM.-
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 Detail
-
id
AssetModelProperty.Builder id(String id)
The ID of the asset model property.
- Parameters:
id- The ID of the asset model property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
AssetModelProperty.Builder name(String name)
The name of the asset model property.
- Parameters:
name- The name of the asset model property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataType
AssetModelProperty.Builder dataType(String dataType)
The data type of the asset model property.
- Parameters:
dataType- The data type of the asset model property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PropertyDataType,PropertyDataType
-
dataType
AssetModelProperty.Builder dataType(PropertyDataType dataType)
The data type of the asset model property.
- Parameters:
dataType- The data type of the asset model property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PropertyDataType,PropertyDataType
-
dataTypeSpec
AssetModelProperty.Builder dataTypeSpec(String 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
AssetModelProperty.Builder unit(String unit)
The unit of the asset model property, such as
NewtonsorRPM.- Parameters:
unit- The unit of the asset model property, such asNewtonsorRPM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
AssetModelProperty.Builder type(PropertyType type)
The property type (see
PropertyType).- Parameters:
type- The property type (seePropertyType).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
default AssetModelProperty.Builder type(Consumer<PropertyType.Builder> type)
The property type (see
This is a convenience method that creates an instance of thePropertyType).PropertyType.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:
type(PropertyType)
-
-