Class SensorIntegration
java.lang.Object
com.azure.resourcemanager.agrifood.models.SensorIntegration
Sensor integration request model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionenabled()
Get the enabled property: Sensor integration enable state.com.azure.core.management.exception.ManagementError
Get the provisioningInfo property: Error responseGet the provisioningState property: Sensor integration instance provisioning state.void
validate()
Validates the instance.withEnabled
(String enabled) Set the enabled property: Sensor integration enable state.withProvisioningInfo
(com.azure.core.management.exception.ManagementError provisioningInfo) Set the provisioningInfo property: Error response
-
Constructor Details
-
SensorIntegration
public SensorIntegration()
-
-
Method Details
-
enabled
Get the enabled property: Sensor integration enable state. Allowed values are True, None.- Returns:
- the enabled value.
-
withEnabled
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
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 responseCommon 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 responseCommon 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.
-