Interface Variant.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Variant.Builder,Variant>, SdkBuilder<Variant.Builder,Variant>, SdkPojo
Enclosing class:
Variant

@Mutable @NotThreadSafe public static interface Variant.Builder extends SdkPojo, CopyableBuilder<Variant.Builder,Variant>
  • Method Details

    • stringValue

      Variant.Builder stringValue(String stringValue)

      Asset property data of type string (sequence of characters). The allowed pattern: "^$|[^-]+". The max length is 1024.

      Parameters:
      stringValue - Asset property data of type string (sequence of characters). The allowed pattern: "^$|[^-]+". The max length is 1024.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • integerValue

      Variant.Builder integerValue(Integer integerValue)

      Asset property data of type integer (whole number).

      Parameters:
      integerValue - Asset property data of type integer (whole number).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • doubleValue

      Variant.Builder doubleValue(Double doubleValue)

      Asset property data of type double (floating point number). The min value is -10^10. The max value is 10^10. Double.NaN is allowed.

      Parameters:
      doubleValue - Asset property data of type double (floating point number). The min value is -10^10. The max value is 10^10. Double.NaN is allowed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • booleanValue

      Variant.Builder booleanValue(Boolean booleanValue)

      Asset property data of type Boolean (true or false).

      Parameters:
      booleanValue - Asset property data of type Boolean (true or false).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nullValue

      The type of null asset property data with BAD and UNCERTAIN qualities.

      Parameters:
      nullValue - The type of null asset property data with BAD and UNCERTAIN qualities.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nullValue

      The type of null asset property data with BAD and UNCERTAIN qualities.

      This is a convenience method that creates an instance of the PropertyValueNullValue.Builder avoiding the need to create one manually via PropertyValueNullValue.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to nullValue(PropertyValueNullValue).

      Parameters:
      nullValue - a consumer that will call methods on PropertyValueNullValue.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: