Class AuthenticationSettingsContract
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.AuthenticationSettingsContract
-
public final class AuthenticationSettingsContract extends Object
API Authentication Settings.
-
-
Constructor Summary
Constructors Constructor Description AuthenticationSettingsContract()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OAuth2AuthenticationSettingsContract
oAuth2()
Get the oAuth2 property: OAuth2 Authentication settings.OpenIdAuthenticationSettingsContract
openid()
Get the openid property: OpenID Connect Authentication Settings.void
validate()
Validates the instance.AuthenticationSettingsContract
withOAuth2(OAuth2AuthenticationSettingsContract oAuth2)
Set the oAuth2 property: OAuth2 Authentication settings.AuthenticationSettingsContract
withOpenid(OpenIdAuthenticationSettingsContract openid)
Set the openid property: OpenID Connect Authentication Settings.
-
-
-
Method Detail
-
oAuth2
public OAuth2AuthenticationSettingsContract oAuth2()
Get the oAuth2 property: OAuth2 Authentication settings.- Returns:
- the oAuth2 value.
-
withOAuth2
public AuthenticationSettingsContract withOAuth2(OAuth2AuthenticationSettingsContract oAuth2)
Set the oAuth2 property: OAuth2 Authentication settings.- Parameters:
oAuth2
- the oAuth2 value to set.- Returns:
- the AuthenticationSettingsContract object itself.
-
openid
public OpenIdAuthenticationSettingsContract openid()
Get the openid property: OpenID Connect Authentication Settings.- Returns:
- the openid value.
-
withOpenid
public AuthenticationSettingsContract withOpenid(OpenIdAuthenticationSettingsContract openid)
Set the openid property: OpenID Connect Authentication Settings.- Parameters:
openid
- the openid value to set.- Returns:
- the AuthenticationSettingsContract object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-