@Generated(value="software.amazon.awssdk:codegen") public final class Node extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Node.Builder,Node>
A general abstraction of a signal. A node can be specified as an actuator, attribute, branch, or sensor.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Node.Builder |
static class |
Node.Type |
| Modifier and Type | Method and Description |
|---|---|
Actuator |
actuator()
Information about a node specified as an actuator.
|
Attribute |
attribute()
Information about a node specified as an attribute.
|
Branch |
branch()
Information about a node specified as a branch.
|
static Node.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static Node |
fromActuator(Actuator actuator)
Create an instance of this class with
actuator() initialized to the given value. |
static Node |
fromActuator(Consumer<Actuator.Builder> actuator)
Create an instance of this class with
actuator() initialized to the given value. |
static Node |
fromAttribute(Attribute attribute)
Create an instance of this class with
attribute() initialized to the given value. |
static Node |
fromAttribute(Consumer<Attribute.Builder> attribute)
Create an instance of this class with
attribute() initialized to the given value. |
static Node |
fromBranch(Branch branch)
Create an instance of this class with
branch() initialized to the given value. |
static Node |
fromBranch(Consumer<Branch.Builder> branch)
Create an instance of this class with
branch() initialized to the given value. |
static Node |
fromSensor(Consumer<Sensor.Builder> sensor)
Create an instance of this class with
sensor() initialized to the given value. |
static Node |
fromSensor(Sensor sensor)
Create an instance of this class with
sensor() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
Sensor |
sensor()
Returns the value of the Sensor property for this object.
|
static Class<? extends Node.Builder> |
serializableBuilderClass() |
Node.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Node.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Branch branch()
Information about a node specified as a branch.
A group of signals that are defined in a hierarchical structure.
A group of signals that are defined in a hierarchical structure.
public final Sensor sensor()
public final Actuator actuator()
Information about a node specified as an actuator.
An actuator is a digital representation of a vehicle device.
An actuator is a digital representation of a vehicle device.
public final Attribute attribute()
Information about a node specified as an attribute.
An attribute represents static information about a vehicle.
An attribute represents static information about a vehicle.
public Node.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Node.Builder,Node>public static Node.Builder builder()
public static Class<? extends Node.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static Node fromBranch(Branch branch)
branch() initialized to the given value.
Information about a node specified as a branch.
A group of signals that are defined in a hierarchical structure.
branch - Information about a node specified as a branch. A group of signals that are defined in a hierarchical structure.
public static Node fromBranch(Consumer<Branch.Builder> branch)
branch() initialized to the given value.
Information about a node specified as a branch.
A group of signals that are defined in a hierarchical structure.
branch - Information about a node specified as a branch. A group of signals that are defined in a hierarchical structure.
public static Node fromSensor(Sensor sensor)
sensor() initialized to the given value.
Sets the value of the Sensor property for this object.sensor - The new value for the Sensor property for this object.public static Node fromSensor(Consumer<Sensor.Builder> sensor)
sensor() initialized to the given value.
Sets the value of the Sensor property for this object.sensor - The new value for the Sensor property for this object.public static Node fromActuator(Actuator actuator)
actuator() initialized to the given value.
Information about a node specified as an actuator.
An actuator is a digital representation of a vehicle device.
actuator - Information about a node specified as an actuator. An actuator is a digital representation of a vehicle device.
public static Node fromActuator(Consumer<Actuator.Builder> actuator)
actuator() initialized to the given value.
Information about a node specified as an actuator.
An actuator is a digital representation of a vehicle device.
actuator - Information about a node specified as an actuator. An actuator is a digital representation of a vehicle device.
public static Node fromAttribute(Attribute attribute)
attribute() initialized to the given value.
Information about a node specified as an attribute.
An attribute represents static information about a vehicle.
attribute - Information about a node specified as an attribute. An attribute represents static information about a vehicle.
public static Node fromAttribute(Consumer<Attribute.Builder> attribute)
attribute() initialized to the given value.
Information about a node specified as an attribute.
An attribute represents static information about a vehicle.
attribute - Information about a node specified as an attribute. An attribute represents static information about a vehicle.
public Node.Type type()
Node.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be Node.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2022. All rights reserved.