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)Optional.default AssetPropertyValue.Buildertimestamp(Consumer<AssetPropertyTimestamp.Builder> timestamp)The asset property value timestamp.AssetPropertyValue.Buildertimestamp(AssetPropertyTimestamp timestamp)The asset property value timestamp.default AssetPropertyValue.Buildervalue(Consumer<AssetPropertyVariant.Builder> value)The value of the asset property.AssetPropertyValue.Buildervalue(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 Detail
-
value
AssetPropertyValue.Builder value(AssetPropertyVariant 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
default AssetPropertyValue.Builder value(Consumer<AssetPropertyVariant.Builder> value)
The value of the 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 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
default AssetPropertyValue.Builder timestamp(Consumer<AssetPropertyTimestamp.Builder> timestamp)
The asset property value timestamp.
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)
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.
-
-