Class ManagedIdentitySettings
java.lang.Object
com.azure.resourcemanager.webpubsub.models.ManagedIdentitySettings
Managed identity settings for upstream.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ManagedIdentitySettings class. -
Method Summary
Modifier and TypeMethodDescriptionresource()
Get the resource property: The Resource indicating the App ID URI of the target resource.void
validate()
Validates the instance.withResource
(String resource) Set the resource property: The Resource indicating the App ID URI of the target resource.
-
Constructor Details
-
ManagedIdentitySettings
public ManagedIdentitySettings()Creates an instance of ManagedIdentitySettings class.
-
-
Method Details
-
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
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.
-