java.lang.Object
com.azure.resourcemanager.loganalytics.fluent.models.SharedKeysInner
public final class SharedKeysInner
extends Object
The shared keys for a workspace.
-
Constructor Summary
Constructors
-
Method Summary
Get the primarySharedKey property: The primary shared key of a workspace.
Get the secondarySharedKey property: The secondary shared key of a workspace.
void
Set the primarySharedKey property: The primary shared key of a workspace.
Set the secondarySharedKey property: The secondary shared key of a workspace.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SharedKeysInner
public SharedKeysInner()
-
Method Details
-
primarySharedKey
public String primarySharedKey()
Get the primarySharedKey property: The primary shared key of a workspace.
- Returns:
- the primarySharedKey value.
-
withPrimarySharedKey
Set the primarySharedKey property: The primary shared key of a workspace.
- Parameters:
primarySharedKey
- the primarySharedKey value to set.
- Returns:
- the SharedKeysInner object itself.
-
secondarySharedKey
public String secondarySharedKey()
Get the secondarySharedKey property: The secondary shared key of a workspace.
- Returns:
- the secondarySharedKey value.
-
withSecondarySharedKey
Set the secondarySharedKey property: The secondary shared key of a workspace.
- Parameters:
secondarySharedKey
- the secondarySharedKey value to set.
- Returns:
- the SharedKeysInner object itself.
-
validate
public void validate()
Validates the instance.
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.