Class FarmBeatsUpdateRequestModel

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

public final class FarmBeatsUpdateRequestModel extends Object
FarmBeats update request.
  • Constructor Details

    • FarmBeatsUpdateRequestModel

      public FarmBeatsUpdateRequestModel()
  • Method Details

    • location

      public String location()
      Get the location property: Geo-location where the resource lives.
      Returns:
      the location value.
    • withLocation

      public FarmBeatsUpdateRequestModel withLocation(String location)
      Set the location property: Geo-location where the resource lives.
      Parameters:
      location - the location value to set.
      Returns:
      the FarmBeatsUpdateRequestModel object itself.
    • identity

      public Identity identity()
      Get the identity property: Identity for the resource.
      Returns:
      the identity value.
    • withIdentity

      public FarmBeatsUpdateRequestModel withIdentity(Identity identity)
      Set the identity property: Identity for the resource.
      Parameters:
      identity - the identity value to set.
      Returns:
      the FarmBeatsUpdateRequestModel object itself.
    • properties

      public FarmBeatsUpdateProperties properties()
      Get the properties property: FarmBeats ARM Resource properties.
      Returns:
      the properties value.
    • withProperties

      public FarmBeatsUpdateRequestModel withProperties(FarmBeatsUpdateProperties properties)
      Set the properties property: FarmBeats ARM Resource properties.
      Parameters:
      properties - the properties value to set.
      Returns:
      the FarmBeatsUpdateRequestModel object itself.
    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • withTags

      public FarmBeatsUpdateRequestModel withTags(Map<String,String> tags)
      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.