Interface DataValue.Builder

  • Method Details

    • booleanValue

      DataValue.Builder booleanValue(Boolean booleanValue)

      A Boolean value.

      Parameters:
      booleanValue - A Boolean value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • doubleValue

      DataValue.Builder doubleValue(Double doubleValue)

      A double value.

      Parameters:
      doubleValue - A double value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • integerValue

      DataValue.Builder integerValue(Integer integerValue)

      An integer value.

      Parameters:
      integerValue - An integer value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • longValue

      DataValue.Builder longValue(Long longValue)

      A long value.

      Parameters:
      longValue - A long value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stringValue

      DataValue.Builder stringValue(String stringValue)

      A string value.

      Parameters:
      stringValue - A string value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • listValue

      DataValue.Builder listValue(Collection<DataValue> listValue)

      A list of multiple values.

      Parameters:
      listValue - A list of multiple values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • listValue

      DataValue.Builder listValue(DataValue... listValue)

      A list of multiple values.

      Parameters:
      listValue - A list of multiple values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • listValue

      DataValue.Builder listValue(Consumer<DataValue.Builder>... listValue)

      A list of multiple values.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to listValue(List<DataValue>).

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

      DataValue.Builder mapValue(Map<String,DataValue> mapValue)

      An object that maps strings to multiple DataValue objects.

      Parameters:
      mapValue - An object that maps strings to multiple DataValue objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • relationshipValue

      DataValue.Builder relationshipValue(RelationshipValue relationshipValue)

      A value that relates a component to another component.

      Parameters:
      relationshipValue - A value that relates a component to another component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • relationshipValue

      default DataValue.Builder relationshipValue(Consumer<RelationshipValue.Builder> relationshipValue)

      A value that relates a component to another component.

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

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

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

      DataValue.Builder expression(String expression)

      An expression that produces the value.

      Parameters:
      expression - An expression that produces the value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.