UpstreamAuthSettings Class
- java.
lang. Object - com.
azure. resourcemanager. webpubsub. models. UpstreamAuthSettings
- com.
public final class UpstreamAuthSettings
Upstream auth settings. If not set, no auth is used for upstream messages.
Constructor Summary
| Constructor | Description |
|---|---|
| UpstreamAuthSettings() |
Creates an instance of Upstream |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Managed |
managedIdentity()
Get the managed |
|
Upstream |
type()
Get the type property: Upstream auth type enum. |
| void |
validate()
Validates the instance. |
|
Upstream |
withManagedIdentity(ManagedIdentitySettings managedIdentity)
Set the managed |
|
Upstream |
withType(UpstreamAuthType type)
Set the type property: Upstream auth type enum. |
Methods inherited from java.lang.Object
Constructor Details
UpstreamAuthSettings
public UpstreamAuthSettings()
Creates an instance of UpstreamAuthSettings class.
Method Details
managedIdentity
public ManagedIdentitySettings managedIdentity()
Get the managedIdentity property: Managed identity settings for upstream.
Returns:
type
public UpstreamAuthType type()
Get the type property: Upstream auth type enum.
Returns:
validate
public void validate()
Validates the instance.
withManagedIdentity
public UpstreamAuthSettings withManagedIdentity(ManagedIdentitySettings managedIdentity)
Set the managedIdentity property: Managed identity settings for upstream.
Parameters:
Returns:
withType
public UpstreamAuthSettings withType(UpstreamAuthType type)
Set the type property: Upstream auth type enum.
Parameters:
Returns: