Class FarmBeatsPropertiesInner

java.lang.Object
com.azure.resourcemanager.agrifood.fluent.models.FarmBeatsPropertiesInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<FarmBeatsPropertiesInner>

public final class FarmBeatsPropertiesInner extends Object implements com.azure.json.JsonSerializable<FarmBeatsPropertiesInner>
FarmBeats ARM Resource properties.
  • Constructor Details

    • FarmBeatsPropertiesInner

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

    • instanceUri

      public String instanceUri()
      Get the instanceUri property: Uri of the FarmBeats instance.
      Returns:
      the instanceUri value.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: FarmBeats instance provisioning state.
      Returns:
      the provisioningState value.
    • sensorIntegration

      public SensorIntegration sensorIntegration()
      Get the sensorIntegration property: Sensor integration request model.
      Returns:
      the sensorIntegration value.
    • withSensorIntegration

      public FarmBeatsPropertiesInner withSensorIntegration(SensorIntegration sensorIntegration)
      Set the sensorIntegration property: Sensor integration request model.
      Parameters:
      sensorIntegration - the sensorIntegration value to set.
      Returns:
      the FarmBeatsPropertiesInner object itself.
    • publicNetworkAccess

      public PublicNetworkAccess publicNetworkAccess()
      Get the publicNetworkAccess property: Property to allow or block public traffic for an Azure FarmBeats resource.
      Returns:
      the publicNetworkAccess value.
    • withPublicNetworkAccess

      public FarmBeatsPropertiesInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
      Set the publicNetworkAccess property: Property to allow or block public traffic for an Azure FarmBeats resource.
      Parameters:
      publicNetworkAccess - the publicNetworkAccess value to set.
      Returns:
      the FarmBeatsPropertiesInner object itself.
    • privateEndpointConnections

      public PrivateEndpointConnectionInner privateEndpointConnections()
      Get the privateEndpointConnections property: The private endpoint connection resource.
      Returns:
      the privateEndpointConnections value.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<FarmBeatsPropertiesInner>
      Throws:
      IOException
    • fromJson

      public static FarmBeatsPropertiesInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of FarmBeatsPropertiesInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of FarmBeatsPropertiesInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the FarmBeatsPropertiesInner.