Class AppRegistration
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.AppRegistration
-
public final class AppRegistration extends Object
The configuration settings of the app registration for providers that have app ids and app secrets.
-
-
Constructor Summary
Constructors Constructor Description AppRegistration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
appId()
Get the appId property: The App ID of the app used for login.String
appSecretSettingName()
Get the appSecretSettingName property: The app setting name that contains the app secret.void
validate()
Validates the instance.AppRegistration
withAppId(String appId)
Set the appId property: The App ID of the app used for login.AppRegistration
withAppSecretSettingName(String appSecretSettingName)
Set the appSecretSettingName property: The app setting name that contains the app secret.
-
-
-
Method Detail
-
appId
public String appId()
Get the appId property: The App ID of the app used for login.- Returns:
- the appId value.
-
withAppId
public AppRegistration withAppId(String appId)
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
public String appSecretSettingName()
Get the appSecretSettingName property: The app setting name that contains the app secret.- Returns:
- the appSecretSettingName value.
-
withAppSecretSettingName
public AppRegistration withAppSecretSettingName(String appSecretSettingName)
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.
-
-