AdmCredential Class
- java.
lang. Object - com.
azure. resourcemanager. notificationhubs. models. AdmCredential
- com.
public final class AdmCredential
Description of a NotificationHub AdmCredential.
Constructor Summary
Constructor | Description |
---|---|
AdmCredential() |
Creates an instance of Adm |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
authTokenUrl()
Get the auth |
String |
clientId()
Get the client |
String |
clientSecret()
Get the client |
void |
validate()
Validates the instance. |
Adm |
withAuthTokenUrl(String authTokenUrl)
Set the auth |
Adm |
withClientId(String clientId)
Set the client |
Adm |
withClientSecret(String clientSecret)
Set the client |
Methods inherited from java.lang.Object
Constructor Details
AdmCredential
public AdmCredential()
Creates an instance of AdmCredential class.
Method Details
authTokenUrl
public String authTokenUrl()
Get the authTokenUrl property: Gets or sets the URL of the authorization token.
Returns:
clientId
public String clientId()
Get the clientId property: Gets or sets the client identifier.
Returns:
clientSecret
public String clientSecret()
Get the clientSecret property: Gets or sets the credential secret access key.
Returns:
validate
public void validate()
Validates the instance.
withAuthTokenUrl
public AdmCredential withAuthTokenUrl(String authTokenUrl)
Set the authTokenUrl property: Gets or sets the URL of the authorization token.
Parameters:
Returns:
withClientId
public AdmCredential withClientId(String clientId)
Set the clientId property: Gets or sets the client identifier.
Parameters:
Returns:
withClientSecret
public AdmCredential withClientSecret(String clientSecret)
Set the clientSecret property: Gets or sets the credential secret access key.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for