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.Buildertimestamp(Consumer<AssetPropertyTimestamp.Builder> timestamp) The asset property value timestamp.timestamp(AssetPropertyTimestamp timestamp) The asset property value timestamp.default AssetPropertyValue.BuilderThe value of the asset property.value(AssetPropertyVariant value) The value of the asset property.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.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:
-
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.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:
-
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.
-