Class RoutingTwin
- java.lang.Object
-
- com.azure.resourcemanager.iothub.models.RoutingTwin
-
public final class RoutingTwin extends Object
Twin reference input parameter. This is an optional parameter.
-
-
Constructor Summary
Constructors Constructor Description RoutingTwin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoutingTwinProperties
properties()
Get the properties property: The properties property.Object
tags()
Get the tags property: Twin Tags.void
validate()
Validates the instance.RoutingTwin
withProperties(RoutingTwinProperties properties)
Set the properties property: The properties property.RoutingTwin
withTags(Object tags)
Set the tags property: Twin Tags.
-
-
-
Method Detail
-
tags
public Object tags()
Get the tags property: Twin Tags.- Returns:
- the tags value.
-
withTags
public RoutingTwin withTags(Object tags)
Set the tags property: Twin Tags.- Parameters:
tags
- the tags value to set.- Returns:
- the RoutingTwin object itself.
-
properties
public RoutingTwinProperties properties()
Get the properties property: The properties property.- Returns:
- the properties value.
-
withProperties
public RoutingTwin withProperties(RoutingTwinProperties properties)
Set the properties property: The properties property.- Parameters:
properties
- the properties value to set.- Returns:
- the RoutingTwin object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-