Class WorkspaceInfo


  • public class WorkspaceInfo
    extends Object
    Information about a Log Analytics Workspace.
    • Constructor Detail

      • WorkspaceInfo

        public WorkspaceInfo()
    • Method Detail

      • id

        public String id()
        Get the id property: Azure Resource Manager identifier of the Log Analytics Workspace.
        Returns:
        the id value.
      • withId

        public WorkspaceInfo withId​(String id)
        Set the id property: Azure Resource Manager identifier of the Log Analytics Workspace.
        Parameters:
        id - the id value to set.
        Returns:
        the WorkspaceInfo object itself.
      • location

        public String location()
        Get the location property: Location of the Log Analytics workspace.
        Returns:
        the location value.
      • withLocation

        public WorkspaceInfo withLocation​(String location)
        Set the location property: Location of the Log Analytics workspace.
        Parameters:
        location - the location value to set.
        Returns:
        the WorkspaceInfo object itself.
      • customerId

        public String customerId()
        Get the customerId property: Log Analytics workspace identifier.
        Returns:
        the customerId value.
      • withCustomerId

        public WorkspaceInfo withCustomerId​(String customerId)
        Set the customerId property: Log Analytics workspace identifier.
        Parameters:
        customerId - the customerId value to set.
        Returns:
        the WorkspaceInfo object itself.
      • validate

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