Class AppRegistration
java.lang.Object
com.azure.resourcemanager.appservice.models.AppRegistration
The configuration settings of the app registration for providers that have app ids and app secrets.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionappId()
Get the appId property: The App ID of the app used for login.Get the appSecretSettingName property: The app setting name that contains the app secret.void
validate()
Validates the instance.Set the appId property: The App ID of the app used for login.withAppSecretSettingName
(String appSecretSettingName) Set the appSecretSettingName property: The app setting name that contains the app secret.
-
Constructor Details
-
AppRegistration
public AppRegistration()
-
-
Method Details
-
appId
Get the appId property: The App ID of the app used for login.- Returns:
- the appId value.
-
withAppId
Set the appId property: The App ID of the app used for login.- Parameters:
appId
- the appId value to set.- Returns:
- the AppRegistration object itself.
-
appSecretSettingName
Get the appSecretSettingName property: The app setting name that contains the app secret.- Returns:
- the appSecretSettingName value.
-
withAppSecretSettingName
Set the appSecretSettingName property: The app setting name that contains the app secret.- Parameters:
appSecretSettingName
- the appSecretSettingName value to set.- Returns:
- the AppRegistration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-