Class ConnectedWorkspace

java.lang.Object
com.azure.resourcemanager.security.models.ConnectedWorkspace

public final class ConnectedWorkspace extends Object
Represents an OMS workspace to which the solution is connected.
  • Constructor Details

    • ConnectedWorkspace

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

    • id

      public String id()
      Get the id property: Azure resource ID of the connected OMS workspace.
      Returns:
      the id value.
    • withId

      public ConnectedWorkspace withId(String id)
      Set the id property: Azure resource ID of the connected OMS workspace.
      Parameters:
      id - the id value to set.
      Returns:
      the ConnectedWorkspace object itself.
    • validate

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