Class EnergyServiceInner


  • public final class EnergyServiceInner
    extends com.azure.core.management.ProxyResource
    The EnergyService model.
    • Constructor Detail

      • EnergyServiceInner

        public EnergyServiceInner()
    • Method Detail

      • properties

        public EnergyServiceProperties properties()
        Get the properties property: The properties property.
        Returns:
        the properties value.
      • withProperties

        public EnergyServiceInner withProperties​(EnergyServiceProperties properties)
        Set the properties property: The properties property.
        Parameters:
        properties - the properties value to set.
        Returns:
        the EnergyServiceInner object itself.
      • tags

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

        public EnergyServiceInner withTags​(Map<String,​String> tags)
        Set the tags property: Resource tags.
        Parameters:
        tags - the tags value to set.
        Returns:
        the EnergyServiceInner object itself.
      • location

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

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

        public com.azure.core.management.SystemData systemData()
        Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
        Returns:
        the systemData value.
      • validate

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