Class LocationResource


  • public class LocationResource
    extends Object
    An ARM resource with its own location (not a global or an inherited location).
    • Constructor Detail

      • LocationResource

        public LocationResource()
    • Method Detail

      • location

        public String location()
        Get the location property: The Azure location where the CommunicationService is running.
        Returns:
        the location value.
      • withLocation

        public LocationResource withLocation​(String location)
        Set the location property: The Azure location where the CommunicationService is running.
        Parameters:
        location - the location value to set.
        Returns:
        the LocationResource object itself.
      • validate

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