Class FarmBeatsUpdateRequestModel
java.lang.Object
com.azure.resourcemanager.agrifood.models.FarmBeatsUpdateRequestModel
FarmBeats update request.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionidentity()
Get the identity property: Identity for the resource.location()
Get the location property: Geo-location where the resource lives.Get the properties property: FarmBeats ARM Resource properties.tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.withIdentity
(Identity identity) Set the identity property: Identity for the resource.withLocation
(String location) Set the location property: Geo-location where the resource lives.withProperties
(FarmBeatsUpdateProperties properties) Set the properties property: FarmBeats ARM Resource properties.Set the tags property: Resource tags.
-
Constructor Details
-
FarmBeatsUpdateRequestModel
public FarmBeatsUpdateRequestModel()
-
-
Method Details
-
location
Get the location property: Geo-location where the resource lives.- Returns:
- the location value.
-
withLocation
Set the location property: Geo-location where the resource lives.- Parameters:
location
- the location value to set.- Returns:
- the FarmBeatsUpdateRequestModel object itself.
-
identity
Get the identity property: Identity for the resource.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Identity for the resource.- Parameters:
identity
- the identity value to set.- Returns:
- the FarmBeatsUpdateRequestModel object itself.
-
properties
Get the properties property: FarmBeats ARM Resource properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: FarmBeats ARM Resource properties.- Parameters:
properties
- the properties value to set.- Returns:
- the FarmBeatsUpdateRequestModel object itself.
-
tags
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the FarmBeatsUpdateRequestModel object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-