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 Summary
ConstructorsConstructorDescriptionCreates an instance of FarmBeatsPropertiesInner class. -
Method Summary
Modifier and TypeMethodDescriptionstatic FarmBeatsPropertiesInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FarmBeatsPropertiesInner from the JsonReader.Get the instanceUri property: Uri of the FarmBeats instance.Get the privateEndpointConnections property: The private endpoint connection resource.Get the provisioningState property: FarmBeats instance provisioning state.Get the publicNetworkAccess property: Property to allow or block public traffic for an Azure FarmBeats resource.Get the sensorIntegration property: Sensor integration request model.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: Property to allow or block public traffic for an Azure FarmBeats resource.withSensorIntegration(SensorIntegration sensorIntegration) Set the sensorIntegration property: Sensor integration request model.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
FarmBeatsPropertiesInner
public FarmBeatsPropertiesInner()Creates an instance of FarmBeatsPropertiesInner class.
-
-
Method Details
-
instanceUri
Get the instanceUri property: Uri of the FarmBeats instance.- Returns:
- the instanceUri value.
-
provisioningState
Get the provisioningState property: FarmBeats instance provisioning state.- Returns:
- the provisioningState value.
-
sensorIntegration
Get the sensorIntegration property: Sensor integration request model.- Returns:
- the sensorIntegration value.
-
withSensorIntegration
Set the sensorIntegration property: Sensor integration request model.- Parameters:
sensorIntegration- the sensorIntegration value to set.- Returns:
- the FarmBeatsPropertiesInner object itself.
-
publicNetworkAccess
Get the publicNetworkAccess property: Property to allow or block public traffic for an Azure FarmBeats resource.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
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
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
- Specified by:
toJsonin interfacecom.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.
-