Class UpstreamAuthSettings
java.lang.Object
com.azure.resourcemanager.webpubsub.models.UpstreamAuthSettings
Upstream auth settings. If not set, no auth is used for upstream messages.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the managedIdentity property: Managed identity settings for upstream.type()
Get the type property: Upstream auth type enum.void
validate()
Validates the instance.withManagedIdentity
(ManagedIdentitySettings managedIdentity) Set the managedIdentity property: Managed identity settings for upstream.withType
(UpstreamAuthType type) Set the type property: Upstream auth type enum.
-
Constructor Details
-
UpstreamAuthSettings
public UpstreamAuthSettings()Creates an instance of UpstreamAuthSettings class.
-
-
Method Details
-
type
Get the type property: Upstream auth type enum.- Returns:
- the type value.
-
withType
Set the type property: Upstream auth type enum.- Parameters:
type
- the type value to set.- Returns:
- the UpstreamAuthSettings object itself.
-
managedIdentity
Get the managedIdentity property: Managed identity settings for upstream.- Returns:
- the managedIdentity value.
-
withManagedIdentity
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.
-