Class SensorIntegration

java.lang.Object
com.azure.resourcemanager.agrifood.models.SensorIntegration

public final class SensorIntegration extends Object
Sensor integration request model.
  • Constructor Details

    • SensorIntegration

      public SensorIntegration()
  • Method Details

    • enabled

      public String enabled()
      Get the enabled property: Sensor integration enable state. Allowed values are True, None.
      Returns:
      the enabled value.
    • withEnabled

      public SensorIntegration withEnabled(String enabled)
      Set the enabled property: Sensor integration enable state. Allowed values are True, None.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the SensorIntegration object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: Sensor integration instance provisioning state.
      Returns:
      the provisioningState value.
    • provisioningInfo

      public com.azure.core.management.exception.ManagementError provisioningInfo()
      Get the provisioningInfo property: Error response

      Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

      Returns:
      the provisioningInfo value.
    • withProvisioningInfo

      public SensorIntegration withProvisioningInfo(com.azure.core.management.exception.ManagementError provisioningInfo)
      Set the provisioningInfo property: Error response

      Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

      Parameters:
      provisioningInfo - the provisioningInfo value to set.
      Returns:
      the SensorIntegration object itself.
    • validate

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