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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssetPropertyValue.Builderquality(String quality)The quality of the asset property value.default AssetPropertyValue.Buildertimestamp(Consumer<AssetPropertyTimestamp.Builder> timestamp)The timestamp associated with the asset property value.AssetPropertyValue.Buildertimestamp(AssetPropertyTimestamp timestamp)The timestamp associated with the asset property value.default AssetPropertyValue.Buildervalue(Consumer<AssetPropertyVariant.Builder> value)The value to send to an asset property.AssetPropertyValue.Buildervalue(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 Detail
-
value
AssetPropertyValue.Builder value(AssetPropertyVariant 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
default AssetPropertyValue.Builder value(Consumer<AssetPropertyVariant.Builder> value)
The value to send to an asset property.
This is a convenience method that creates an instance of theAssetPropertyVariant.Builderavoiding the need to create one manually viaAssetPropertyVariant.builder().When the
Consumercompletes,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:
value(AssetPropertyVariant)
-
timestamp
AssetPropertyValue.Builder timestamp(AssetPropertyTimestamp 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
default AssetPropertyValue.Builder timestamp(Consumer<AssetPropertyTimestamp.Builder> 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.Builderavoiding the need to create one manually viaAssetPropertyTimestamp.builder().When the
Consumercompletes,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:
timestamp(AssetPropertyTimestamp)
-
quality
AssetPropertyValue.Builder quality(String 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.
-
-