Class LogAnalyticsWorkspaceConfig

java.lang.Object
com.azure.resourcemanager.azurearcdata.models.LogAnalyticsWorkspaceConfig

public final class LogAnalyticsWorkspaceConfig extends Object
Log analytics workspace id and primary key.
  • Constructor Details

    • LogAnalyticsWorkspaceConfig

      public LogAnalyticsWorkspaceConfig()
      Creates an instance of LogAnalyticsWorkspaceConfig class.
  • Method Details

    • workspaceId

      public UUID workspaceId()
      Get the workspaceId property: Azure Log Analytics workspace ID.
      Returns:
      the workspaceId value.
    • withWorkspaceId

      public LogAnalyticsWorkspaceConfig withWorkspaceId(UUID workspaceId)
      Set the workspaceId property: Azure Log Analytics workspace ID.
      Parameters:
      workspaceId - the workspaceId value to set.
      Returns:
      the LogAnalyticsWorkspaceConfig object itself.
    • primaryKey

      public String primaryKey()
      Get the primaryKey property: Primary key of the workspace.
      Returns:
      the primaryKey value.
    • withPrimaryKey

      public LogAnalyticsWorkspaceConfig withPrimaryKey(String primaryKey)
      Set the primaryKey property: Primary key of the workspace.
      Parameters:
      primaryKey - the primaryKey value to set.
      Returns:
      the LogAnalyticsWorkspaceConfig object itself.
    • validate

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