Class InstanceProperties

java.lang.Object
com.azure.resourcemanager.deviceupdate.fluent.models.InstanceProperties

public final class InstanceProperties extends Object
Device Update instance properties.
  • Constructor Details

    • InstanceProperties

      public InstanceProperties()
  • Method Details

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state.
      Returns:
      the provisioningState value.
    • accountName

      public String accountName()
      Get the accountName property: Parent Device Update Account name which Instance belongs to.
      Returns:
      the accountName value.
    • iotHubs

      public List<IotHubSettings> iotHubs()
      Get the iotHubs property: List of IoT Hubs associated with the account.
      Returns:
      the iotHubs value.
    • withIotHubs

      public InstanceProperties withIotHubs(List<IotHubSettings> iotHubs)
      Set the iotHubs property: List of IoT Hubs associated with the account.
      Parameters:
      iotHubs - the iotHubs value to set.
      Returns:
      the InstanceProperties object itself.
    • enableDiagnostics

      public Boolean enableDiagnostics()
      Get the enableDiagnostics property: Enables or Disables the diagnostic logs collection.
      Returns:
      the enableDiagnostics value.
    • withEnableDiagnostics

      public InstanceProperties withEnableDiagnostics(Boolean enableDiagnostics)
      Set the enableDiagnostics property: Enables or Disables the diagnostic logs collection.
      Parameters:
      enableDiagnostics - the enableDiagnostics value to set.
      Returns:
      the InstanceProperties object itself.
    • diagnosticStorageProperties

      public DiagnosticStorageProperties diagnosticStorageProperties()
      Get the diagnosticStorageProperties property: Customer-initiated diagnostic log collection storage properties.
      Returns:
      the diagnosticStorageProperties value.
    • withDiagnosticStorageProperties

      public InstanceProperties withDiagnosticStorageProperties(DiagnosticStorageProperties diagnosticStorageProperties)
      Set the diagnosticStorageProperties property: Customer-initiated diagnostic log collection storage properties.
      Parameters:
      diagnosticStorageProperties - the diagnosticStorageProperties value to set.
      Returns:
      the InstanceProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.