java.lang.Object
com.azure.resourcemanager.azurearcdata.models.LogAnalyticsWorkspaceConfig
public final class LogAnalyticsWorkspaceConfig
extends Object
Log analytics workspace id and primary key.
-
Constructor Summary
Constructors
Creates an instance of LogAnalyticsWorkspaceConfig class.
-
Method Summary
Get the primaryKey property: Primary key of the workspace.
void
Set the primaryKey property: Primary key of the workspace.
Set the workspaceId property: Azure Log Analytics workspace ID.
Get the workspaceId property: Azure Log Analytics workspace ID.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
Set the workspaceId property: Azure Log Analytics workspace ID.
- Parameters:
workspaceId
- the workspaceId value to set.
- Returns:
- the LogAnalyticsWorkspaceConfig object itself.
-
primaryKey
Get the primaryKey property: Primary key of the workspace.
- Returns:
- the primaryKey value.
-
withPrimaryKey
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.