Class ManagedIdentitySettings
- java.lang.Object
-
- com.azure.resourcemanager.signalr.models.ManagedIdentitySettings
-
public final class ManagedIdentitySettings extends Object
Managed identity settings for upstream.
-
-
Constructor Summary
Constructors Constructor Description ManagedIdentitySettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
resource()
Get the resource property: The Resource indicating the App ID URI of the target resource.void
validate()
Validates the instance.ManagedIdentitySettings
withResource(String resource)
Set the resource property: The Resource indicating the App ID URI of the target resource.
-
-
-
Method Detail
-
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.
-
-