Class RoutingTwinProperties
java.lang.Object
com.azure.resourcemanager.iothub.models.RoutingTwinProperties
The RoutingTwinProperties model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondesired()
Get the desired property: Twin desired properties.reported()
Get the reported property: Twin desired properties.void
validate()
Validates the instance.withDesired
(Object desired) Set the desired property: Twin desired properties.withReported
(Object reported) Set the reported property: Twin desired properties.
-
Constructor Details
-
RoutingTwinProperties
public RoutingTwinProperties()
-
-
Method Details
-
desired
Get the desired property: Twin desired properties.- Returns:
- the desired value.
-
withDesired
Set the desired property: Twin desired properties.- Parameters:
desired
- the desired value to set.- Returns:
- the RoutingTwinProperties object itself.
-
reported
Get the reported property: Twin desired properties.- Returns:
- the reported value.
-
withReported
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.
-