Class EnergyServiceProperties


  • public final class EnergyServiceProperties
    extends Object
    The EnergyServiceProperties model.
    • Constructor Detail

      • EnergyServiceProperties

        public EnergyServiceProperties()
    • Method Detail

      • dnsName

        public String dnsName()
        Get the dnsName property: The dnsName property.
        Returns:
        the dnsName value.
      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: The provisioningState property.
        Returns:
        the provisioningState value.
      • authAppId

        public String authAppId()
        Get the authAppId property: The authAppId property.
        Returns:
        the authAppId value.
      • withAuthAppId

        public EnergyServiceProperties withAuthAppId​(String authAppId)
        Set the authAppId property: The authAppId property.
        Parameters:
        authAppId - the authAppId value to set.
        Returns:
        the EnergyServiceProperties object itself.
      • dataPartitionNames

        public List<DataPartitionNames> dataPartitionNames()
        Get the dataPartitionNames property: The dataPartitionNames property.
        Returns:
        the dataPartitionNames value.
      • withDataPartitionNames

        public EnergyServiceProperties withDataPartitionNames​(List<DataPartitionNames> dataPartitionNames)
        Set the dataPartitionNames property: The dataPartitionNames property.
        Parameters:
        dataPartitionNames - the dataPartitionNames value to set.
        Returns:
        the EnergyServiceProperties object itself.
      • validate

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