public static interface AssetPropertyValue.Builder extends SdkPojo, CopyableBuilder<AssetPropertyValue.Builder,AssetPropertyValue>
Modifier and Type | Method and Description |
---|---|
AssetPropertyValue.Builder |
quality(String quality)
Optional.
|
AssetPropertyValue.Builder |
timestamp(AssetPropertyTimestamp timestamp)
The asset property value timestamp.
|
default AssetPropertyValue.Builder |
timestamp(Consumer<AssetPropertyTimestamp.Builder> timestamp)
The asset property value timestamp.
|
AssetPropertyValue.Builder |
value(AssetPropertyVariant value)
The value of the asset property.
|
default AssetPropertyValue.Builder |
value(Consumer<AssetPropertyVariant.Builder> value)
The value of the asset property.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
AssetPropertyValue.Builder value(AssetPropertyVariant value)
The value of the asset property.
value
- The value of the asset property.default AssetPropertyValue.Builder value(Consumer<AssetPropertyVariant.Builder> value)
The value of the asset property.
This is a convenience that creates an instance of theAssetPropertyVariant.Builder
avoiding the need
to create one manually via AssetPropertyVariant.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to value(AssetPropertyVariant)
.value
- a consumer that will call methods on AssetPropertyVariant.Builder
value(AssetPropertyVariant)
AssetPropertyValue.Builder timestamp(AssetPropertyTimestamp timestamp)
The asset property value timestamp.
timestamp
- The asset property value timestamp.default AssetPropertyValue.Builder timestamp(Consumer<AssetPropertyTimestamp.Builder> timestamp)
The asset property value timestamp.
This is a convenience that creates an instance of theAssetPropertyTimestamp.Builder
avoiding the
need to create one manually via AssetPropertyTimestamp.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to timestamp(AssetPropertyTimestamp)
.timestamp
- a consumer that will call methods on AssetPropertyTimestamp.Builder
timestamp(AssetPropertyTimestamp)
AssetPropertyValue.Builder quality(String quality)
Optional. A string that describes the quality of the value. Accepts substitution templates. Must be
GOOD
, BAD
, or UNCERTAIN
.
quality
- Optional. A string that describes the quality of the value. Accepts substitution templates. Must be
GOOD
, BAD
, or UNCERTAIN
.Copyright © 2021. All rights reserved.