Interface AssetPropertyValue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssetPropertyValue.Builder,
,AssetPropertyValue> SdkBuilder<AssetPropertyValue.Builder,
,AssetPropertyValue> SdkPojo
- Enclosing class:
AssetPropertyValue
public static interface AssetPropertyValue.Builder
extends SdkPojo, CopyableBuilder<AssetPropertyValue.Builder,AssetPropertyValue>
-
Method Summary
Modifier and TypeMethodDescriptionThe quality of the asset property value.default AssetPropertyValue.Builder
timestamp
(Consumer<AssetPropertyTimestamp.Builder> timestamp) The timestamp associated with the asset property value.timestamp
(AssetPropertyTimestamp timestamp) The timestamp associated with the asset property value.default AssetPropertyValue.Builder
The value to send to an asset property.value
(AssetPropertyVariant value) The value to send to an asset 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
-
value
The value to send to an asset property.
- Parameters:
value
- The value to send to an asset property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value to send to an asset property.
This is a convenience method that creates an instance of theAssetPropertyVariant.Builder
avoiding the need to create one manually viaAssetPropertyVariant.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalue(AssetPropertyVariant)
.- Parameters:
value
- a consumer that will call methods onAssetPropertyVariant.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timestamp
The timestamp associated with the asset property value. The default is the current event time.
- Parameters:
timestamp
- The timestamp associated with the asset property value. The default is the current event time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
The timestamp associated with the asset property value. The default is the current event time.
This is a convenience method that creates an instance of theAssetPropertyTimestamp.Builder
avoiding the need to create one manually viaAssetPropertyTimestamp.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimestamp(AssetPropertyTimestamp)
.- Parameters:
timestamp
- a consumer that will call methods onAssetPropertyTimestamp.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
quality
The quality of the asset property value. The value must be
'GOOD'
,'BAD'
, or'UNCERTAIN'
.- Parameters:
quality
- The quality of the asset property value. The value must be'GOOD'
,'BAD'
, or'UNCERTAIN'
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-