Class ClientRegistration
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.ClientRegistration
-
public final class ClientRegistration extends Object
The configuration settings of the app registration for providers that have client ids and client secrets.
-
-
Constructor Summary
Constructors Constructor Description ClientRegistration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
clientId()
Get the clientId property: The Client ID of the app used for login.String
clientSecretSettingName()
Get the clientSecretSettingName property: The app setting name that contains the client secret.void
validate()
Validates the instance.ClientRegistration
withClientId(String clientId)
Set the clientId property: The Client ID of the app used for login.ClientRegistration
withClientSecretSettingName(String clientSecretSettingName)
Set the clientSecretSettingName property: The app setting name that contains the client secret.
-
-
-
Method Detail
-
clientId
public String clientId()
Get the clientId property: The Client ID of the app used for login.- Returns:
- the clientId value.
-
withClientId
public ClientRegistration withClientId(String clientId)
Set the clientId property: The Client ID of the app used for login.- Parameters:
clientId
- the clientId value to set.- Returns:
- the ClientRegistration object itself.
-
clientSecretSettingName
public String clientSecretSettingName()
Get the clientSecretSettingName property: The app setting name that contains the client secret.- Returns:
- the clientSecretSettingName value.
-
withClientSecretSettingName
public ClientRegistration withClientSecretSettingName(String clientSecretSettingName)
Set the clientSecretSettingName property: The app setting name that contains the client secret.- Parameters:
clientSecretSettingName
- the clientSecretSettingName value to set.- Returns:
- the ClientRegistration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-