Class IotHub
- java.lang.Object
-
- com.azure.resourcemanager.videoanalyzer.models.IotHub
-
public final class IotHub extends Object
The IoT Hub details.
-
-
Constructor Summary
Constructors Constructor Description IotHub()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
id()
Get the id property: The IoT Hub resource identifier.ResourceIdentity
identity()
Get the identity property: The IoT Hub identity.String
status()
Get the status property: The current status of the Iot Hub mapping.void
validate()
Validates the instance.IotHub
withId(String id)
Set the id property: The IoT Hub resource identifier.IotHub
withIdentity(ResourceIdentity identity)
Set the identity property: The IoT Hub identity.
-
-
-
Method Detail
-
id
public String id()
Get the id property: The IoT Hub resource identifier.- Returns:
- the id value.
-
withId
public IotHub withId(String id)
Set the id property: The IoT Hub resource identifier.- Parameters:
id
- the id value to set.- Returns:
- the IotHub object itself.
-
identity
public ResourceIdentity identity()
Get the identity property: The IoT Hub identity.- Returns:
- the identity value.
-
withIdentity
public IotHub withIdentity(ResourceIdentity identity)
Set the identity property: The IoT Hub identity.- Parameters:
identity
- the identity value to set.- Returns:
- the IotHub object itself.
-
status
public String status()
Get the status property: The current status of the Iot Hub mapping.- Returns:
- the status value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-