java.lang.Object
com.azure.resourcemanager.loganalytics.fluent.models.SharedKeysInner

public final class SharedKeysInner extends Object
The shared keys for a workspace.
  • 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

      public SharedKeysInner withPrimarySharedKey(String primarySharedKey)
      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

      public SharedKeysInner withSecondarySharedKey(String secondarySharedKey)
      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.