Class RoutingTwinProperties
- java.lang.Object
-
- com.azure.resourcemanager.iothub.models.RoutingTwinProperties
-
public final class RoutingTwinProperties extends Object
The RoutingTwinProperties model.
-
-
Constructor Summary
Constructors Constructor Description RoutingTwinProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
desired()
Get the desired property: Twin desired properties.Object
reported()
Get the reported property: Twin desired properties.void
validate()
Validates the instance.RoutingTwinProperties
withDesired(Object desired)
Set the desired property: Twin desired properties.RoutingTwinProperties
withReported(Object reported)
Set the reported property: Twin desired properties.
-
-
-
Method Detail
-
desired
public Object desired()
Get the desired property: Twin desired properties.- Returns:
- the desired value.
-
withDesired
public RoutingTwinProperties withDesired(Object desired)
Set the desired property: Twin desired properties.- Parameters:
desired
- the desired value to set.- Returns:
- the RoutingTwinProperties object itself.
-
reported
public Object reported()
Get the reported property: Twin desired properties.- Returns:
- the reported value.
-
withReported
public RoutingTwinProperties withReported(Object reported)
Set the reported property: Twin desired properties.- Parameters:
reported
- the reported value to set.- Returns:
- the RoutingTwinProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-