Interface Node.Builder

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

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

    • branch

      Node.Builder branch(Branch branch)

      Information about a node specified as a branch.

      A group of signals that are defined in a hierarchical structure.

      Parameters:
      branch - Information about a node specified as a branch.

      A group of signals that are defined in a hierarchical structure.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • branch

      default Node.Builder branch(Consumer<Branch.Builder> branch)

      Information about a node specified as a branch.

      A group of signals that are defined in a hierarchical structure.

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

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

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

      Node.Builder sensor(Sensor sensor)
      Sets the value of the Sensor property for this object.
      Parameters:
      sensor - The new value for the Sensor property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sensor

      default Node.Builder sensor(Consumer<Sensor.Builder> sensor)
      Sets the value of the Sensor property for this object. This is a convenience method that creates an instance of the Sensor.Builder avoiding the need to create one manually via Sensor.builder().

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

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

      Node.Builder actuator(Actuator actuator)

      Information about a node specified as an actuator.

      An actuator is a digital representation of a vehicle device.

      Parameters:
      actuator - Information about a node specified as an actuator.

      An actuator is a digital representation of a vehicle device.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actuator

      default Node.Builder actuator(Consumer<Actuator.Builder> actuator)

      Information about a node specified as an actuator.

      An actuator is a digital representation of a vehicle device.

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

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

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

      Node.Builder attribute(Attribute attribute)

      Information about a node specified as an attribute.

      An attribute represents static information about a vehicle.

      Parameters:
      attribute - Information about a node specified as an attribute.

      An attribute represents static information about a vehicle.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attribute

      default Node.Builder attribute(Consumer<Attribute.Builder> attribute)

      Information about a node specified as an attribute.

      An attribute represents static information about a vehicle.

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

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

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

      Node.Builder struct(CustomStruct struct)

      Represents a complex or higher-order data structure.

      Parameters:
      struct - Represents a complex or higher-order data structure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • struct

      default Node.Builder struct(Consumer<CustomStruct.Builder> struct)

      Represents a complex or higher-order data structure.

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

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

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

      Node.Builder property(CustomProperty property)

      Represents a member of the complex data structure. The datatype of the property can be either primitive or another struct.

      Parameters:
      property - Represents a member of the complex data structure. The datatype of the property can be either primitive or another struct.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • property

      default Node.Builder property(Consumer<CustomProperty.Builder> property)

      Represents a member of the complex data structure. The datatype of the property can be either primitive or another struct.

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

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

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