Class IoTRoleProperties

java.lang.Object
com.azure.resourcemanager.databoxedge.fluent.models.IoTRoleProperties

public final class IoTRoleProperties extends Object
IoT role properties.
  • Constructor Details

    • IoTRoleProperties

      public IoTRoleProperties()
      Creates an instance of IoTRoleProperties class.
  • Method Details

    • hostPlatform

      public PlatformType hostPlatform()
      Get the hostPlatform property: Host OS supported by the IoT role.
      Returns:
      the hostPlatform value.
    • withHostPlatform

      public IoTRoleProperties withHostPlatform(PlatformType hostPlatform)
      Set the hostPlatform property: Host OS supported by the IoT role.
      Parameters:
      hostPlatform - the hostPlatform value to set.
      Returns:
      the IoTRoleProperties object itself.
    • ioTDeviceDetails

      public IoTDeviceInfo ioTDeviceDetails()
      Get the ioTDeviceDetails property: IoT device metadata to which data box edge device needs to be connected.
      Returns:
      the ioTDeviceDetails value.
    • withIoTDeviceDetails

      public IoTRoleProperties withIoTDeviceDetails(IoTDeviceInfo ioTDeviceDetails)
      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

      public IoTDeviceInfo ioTEdgeDeviceDetails()
      Get the ioTEdgeDeviceDetails property: IoT edge device to which the IoT role needs to be configured.
      Returns:
      the ioTEdgeDeviceDetails value.
    • withIoTEdgeDeviceDetails

      public IoTRoleProperties withIoTEdgeDeviceDetails(IoTDeviceInfo ioTEdgeDeviceDetails)
      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.
    • shareMappings

      public List<MountPointMap> shareMappings()
      Get the shareMappings property: Mount points of shares in role(s).
      Returns:
      the shareMappings value.
    • withShareMappings

      public IoTRoleProperties withShareMappings(List<MountPointMap> shareMappings)
      Set the shareMappings property: Mount points of shares in role(s).
      Parameters:
      shareMappings - the shareMappings value to set.
      Returns:
      the IoTRoleProperties object itself.
    • roleStatus

      public RoleStatus roleStatus()
      Get the roleStatus property: Role status.
      Returns:
      the roleStatus value.
    • withRoleStatus

      public IoTRoleProperties withRoleStatus(RoleStatus roleStatus)
      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.