ManagedIdentitySettings Class

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

public final class ManagedIdentitySettings

Managed identity settings for upstream.

Constructor Summary

Constructor Description
ManagedIdentitySettings()

Creates an instance of ManagedIdentitySettings class.

Method Summary

Modifier and Type Method and 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.

Methods inherited from java.lang.Object

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.

validate

public void validate()

Validates the instance.

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.

Applies to