Class UpstreamAuthSettings
- java.lang.Object
-
- com.azure.resourcemanager.signalr.models.UpstreamAuthSettings
-
public final class UpstreamAuthSettings extends Object
Upstream auth settings. If not set, no auth is used for upstream messages.
-
-
Constructor Summary
Constructors Constructor Description UpstreamAuthSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedIdentitySettings
managedIdentity()
Get the managedIdentity property: Managed identity settings for upstream.UpstreamAuthType
type()
Get the type property: Upstream auth type enum.void
validate()
Validates the instance.UpstreamAuthSettings
withManagedIdentity(ManagedIdentitySettings managedIdentity)
Set the managedIdentity property: Managed identity settings for upstream.UpstreamAuthSettings
withType(UpstreamAuthType type)
Set the type property: Upstream auth type enum.
-
-
-
Method Detail
-
type
public UpstreamAuthType type()
Get the type property: Upstream auth type enum.- Returns:
- the type value.
-
withType
public UpstreamAuthSettings withType(UpstreamAuthType type)
Set the type property: Upstream auth type enum.- Parameters:
type
- the type value to set.- Returns:
- the UpstreamAuthSettings object itself.
-
managedIdentity
public ManagedIdentitySettings managedIdentity()
Get the managedIdentity property: Managed identity settings for upstream.- Returns:
- the managedIdentity value.
-
withManagedIdentity
public UpstreamAuthSettings withManagedIdentity(ManagedIdentitySettings managedIdentity)
Set the managedIdentity property: Managed identity settings for upstream.- Parameters:
managedIdentity
- the managedIdentity value to set.- Returns:
- the UpstreamAuthSettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-