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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssetModelPropertySummary.BuilderassetModelCompositeModelId(String assetModelCompositeModelId)The ID of the composite model that contains the asset model property.AssetModelPropertySummary.BuilderdataType(String dataType)The data type of the property.AssetModelPropertySummary.BuilderdataType(PropertyDataType dataType)The data type of the property.AssetModelPropertySummary.BuilderdataTypeSpec(String dataTypeSpec)The data type of the structure for this property.AssetModelPropertySummary.BuilderexternalId(String externalId)The external ID of the property.AssetModelPropertySummary.Builderid(String id)The ID of the property.AssetModelPropertySummary.Buildername(String name)The name of the property.AssetModelPropertySummary.Builderpath(Collection<AssetModelPropertyPathSegment> path)The structured path to the property from the root of the asset model.AssetModelPropertySummary.Builderpath(Consumer<AssetModelPropertyPathSegment.Builder>... path)The structured path to the property from the root of the asset model.AssetModelPropertySummary.Builderpath(AssetModelPropertyPathSegment... path)The structured path to the property from the root of the asset model.default AssetModelPropertySummary.Buildertype(Consumer<PropertyType.Builder> type)Sets the value of the Type property for this object.AssetModelPropertySummary.Buildertype(PropertyType type)Sets the value of the Type property for this object.AssetModelPropertySummary.Builderunit(String unit)The unit (such asNewtonsorRPM) 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 Detail
-
id
AssetModelPropertySummary.Builder id(String 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
AssetModelPropertySummary.Builder name(String 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
AssetModelPropertySummary.Builder dataType(String 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:
PropertyDataType,PropertyDataType
-
dataType
AssetModelPropertySummary.Builder dataType(PropertyDataType 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:
PropertyDataType,PropertyDataType
-
dataTypeSpec
AssetModelPropertySummary.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
AssetModelPropertySummary.Builder unit(String 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
AssetModelPropertySummary.Builder type(PropertyType 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
default AssetModelPropertySummary.Builder type(Consumer<PropertyType.Builder> 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:
type(PropertyType)
-
assetModelCompositeModelId
AssetModelPropertySummary.Builder assetModelCompositeModelId(String 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
AssetModelPropertySummary.Builder path(Collection<AssetModelPropertyPathSegment> 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
AssetModelPropertySummary.Builder path(AssetModelPropertyPathSegment... 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
AssetModelPropertySummary.Builder path(Consumer<AssetModelPropertyPathSegment.Builder>... 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.Builderavoiding the need to create one manually viaAssetModelPropertyPathSegment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#path(List.) - 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:
#path(java.util.Collection)
-
externalId
AssetModelPropertySummary.Builder externalId(String 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.
-
-