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 TypeMethodDescriptionOptional.default AssetPropertyValue.Builder
timestamp
(Consumer<AssetPropertyTimestamp.Builder> timestamp) The asset property value timestamp.timestamp
(AssetPropertyTimestamp timestamp) The asset property value timestamp.default AssetPropertyValue.Builder
The value of the asset property.value
(AssetPropertyVariant value) The value of the 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 of the asset property.
- Parameters:
value
- The value of the asset property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value of the 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 asset property value timestamp.
- Parameters:
timestamp
- The asset property value timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
The asset property value timestamp.
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
Optional. A string that describes the quality of the value. Accepts substitution templates. Must be
GOOD
,BAD
, orUNCERTAIN
.- Parameters:
quality
- Optional. A string that describes the quality of the value. Accepts substitution templates. Must beGOOD
,BAD
, orUNCERTAIN
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-