Interface Node.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Node.Builder,Node>,SdkBuilder<Node.Builder,Node>,SdkPojo
- Enclosing class:
- Node
public static interface Node.Builder extends SdkPojo, CopyableBuilder<Node.Builder,Node>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Node.Builderactuator(Consumer<Actuator.Builder> actuator)Information about a node specified as an actuator.Node.Builderactuator(Actuator actuator)Information about a node specified as an actuator.default Node.Builderattribute(Consumer<Attribute.Builder> attribute)Information about a node specified as an attribute.Node.Builderattribute(Attribute attribute)Information about a node specified as an attribute.default Node.Builderbranch(Consumer<Branch.Builder> branch)Information about a node specified as a branch.Node.Builderbranch(Branch branch)Information about a node specified as a branch.default Node.Builderproperty(Consumer<CustomProperty.Builder> property)Represents a member of the complex data structure.Node.Builderproperty(CustomProperty property)Represents a member of the complex data structure.default Node.Buildersensor(Consumer<Sensor.Builder> sensor)Sets the value of the Sensor property for this object.Node.Buildersensor(Sensor sensor)Sets the value of the Sensor property for this object.default Node.Builderstruct(Consumer<CustomStruct.Builder> struct)Represents a complex or higher-order data structure.Node.Builderstruct(CustomStruct struct)Represents a complex or higher-order data structure.-
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
-
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.
This is a convenience method that creates an instance of theA group of signals that are defined in a hierarchical structure.
Branch.Builderavoiding the need to create one manually viaBranch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobranch(Branch).- Parameters:
branch- a consumer that will call methods onBranch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
branch(Branch)
-
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 theSensor.Builderavoiding the need to create one manually viaSensor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosensor(Sensor).- Parameters:
sensor- a consumer that will call methods onSensor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sensor(Sensor)
-
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.
This is a convenience method that creates an instance of theAn actuator is a digital representation of a vehicle device.
Actuator.Builderavoiding the need to create one manually viaActuator.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactuator(Actuator).- Parameters:
actuator- a consumer that will call methods onActuator.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
actuator(Actuator)
-
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.
This is a convenience method that creates an instance of theAn attribute represents static information about a vehicle.
Attribute.Builderavoiding the need to create one manually viaAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattribute(Attribute).- Parameters:
attribute- a consumer that will call methods onAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
attribute(Attribute)
-
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 theCustomStruct.Builderavoiding the need to create one manually viaCustomStruct.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostruct(CustomStruct).- Parameters:
struct- a consumer that will call methods onCustomStruct.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
struct(CustomStruct)
-
property
Node.Builder property(CustomProperty property)
Represents a member of the complex data structure. The
datatypeof the property can be either primitive or anotherstruct.- Parameters:
property- Represents a member of the complex data structure. Thedatatypeof the property can be either primitive or anotherstruct.- 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
This is a convenience method that creates an instance of thedatatypeof the property can be either primitive or anotherstruct.CustomProperty.Builderavoiding the need to create one manually viaCustomProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproperty(CustomProperty).- Parameters:
property- a consumer that will call methods onCustomProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
property(CustomProperty)
-
-