Class ManagedIdentitySettings

java.lang.Object
com.azure.resourcemanager.webpubsub.models.ManagedIdentitySettings

public final class ManagedIdentitySettings extends Object
Managed identity settings for upstream.
  • Constructor Details

    • ManagedIdentitySettings

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

    • resource

      public String resource()
      Get the resource property: The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
      Returns:
      the resource value.
    • withResource

      public ManagedIdentitySettings withResource(String resource)
      Set the resource property: The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
      Parameters:
      resource - the resource value to set.
      Returns:
      the ManagedIdentitySettings object itself.
    • validate

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