Class IoTRoleProperties
java.lang.Object
com.azure.resourcemanager.databoxedge.fluent.models.IoTRoleProperties
IoT role properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the hostPlatform property: Host OS supported by the IoT role.Get the ioTDeviceDetails property: IoT device metadata to which data box edge device needs to be connected.Get the ioTEdgeDeviceDetails property: IoT edge device to which the IoT role needs to be configured.Get the roleStatus property: Role status.Get the shareMappings property: Mount points of shares in role(s).void
validate()
Validates the instance.withHostPlatform
(PlatformType hostPlatform) Set the hostPlatform property: Host OS supported by the IoT role.withIoTDeviceDetails
(IoTDeviceInfo ioTDeviceDetails) Set the ioTDeviceDetails property: IoT device metadata to which data box edge device needs to be connected.withIoTEdgeDeviceDetails
(IoTDeviceInfo ioTEdgeDeviceDetails) Set the ioTEdgeDeviceDetails property: IoT edge device to which the IoT role needs to be configured.withRoleStatus
(RoleStatus roleStatus) Set the roleStatus property: Role status.withShareMappings
(List<MountPointMap> shareMappings) Set the shareMappings property: Mount points of shares in role(s).
-
Constructor Details
-
IoTRoleProperties
public IoTRoleProperties()Creates an instance of IoTRoleProperties class.
-
-
Method Details
-
hostPlatform
Get the hostPlatform property: Host OS supported by the IoT role.- Returns:
- the hostPlatform value.
-
withHostPlatform
Set the hostPlatform property: Host OS supported by the IoT role.- Parameters:
hostPlatform
- the hostPlatform value to set.- Returns:
- the IoTRoleProperties object itself.
-
ioTDeviceDetails
Get the ioTDeviceDetails property: IoT device metadata to which data box edge device needs to be connected.- Returns:
- the ioTDeviceDetails value.
-
withIoTDeviceDetails
Set the ioTDeviceDetails property: IoT device metadata to which data box edge device needs to be connected.- Parameters:
ioTDeviceDetails
- the ioTDeviceDetails value to set.- Returns:
- the IoTRoleProperties object itself.
-
ioTEdgeDeviceDetails
Get the ioTEdgeDeviceDetails property: IoT edge device to which the IoT role needs to be configured.- Returns:
- the ioTEdgeDeviceDetails value.
-
withIoTEdgeDeviceDetails
Set the ioTEdgeDeviceDetails property: IoT edge device to which the IoT role needs to be configured.- Parameters:
ioTEdgeDeviceDetails
- the ioTEdgeDeviceDetails value to set.- Returns:
- the IoTRoleProperties object itself.
-
roleStatus
Get the roleStatus property: Role status.- Returns:
- the roleStatus value.
-
withRoleStatus
Set the roleStatus property: Role status.- Parameters:
roleStatus
- the roleStatus value to set.- Returns:
- the IoTRoleProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-