Class AdmCredentialProperties
- java.lang.Object
-
- com.azure.resourcemanager.notificationhubs.fluent.models.AdmCredentialProperties
-
public final class AdmCredentialProperties extends Object
Description of a NotificationHub AdmCredential.
-
-
Constructor Summary
Constructors Constructor Description AdmCredentialProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
authTokenUrl()
Get the authTokenUrl property: The URL of the authorization token.String
clientId()
Get the clientId property: The client identifier.String
clientSecret()
Get the clientSecret property: The credential secret access key.void
validate()
Validates the instance.AdmCredentialProperties
withAuthTokenUrl(String authTokenUrl)
Set the authTokenUrl property: The URL of the authorization token.AdmCredentialProperties
withClientId(String clientId)
Set the clientId property: The client identifier.AdmCredentialProperties
withClientSecret(String clientSecret)
Set the clientSecret property: The credential secret access key.
-
-
-
Method Detail
-
clientId
public String clientId()
Get the clientId property: The client identifier.- Returns:
- the clientId value.
-
withClientId
public AdmCredentialProperties withClientId(String clientId)
Set the clientId property: The client identifier.- Parameters:
clientId
- the clientId value to set.- Returns:
- the AdmCredentialProperties object itself.
-
clientSecret
public String clientSecret()
Get the clientSecret property: The credential secret access key.- Returns:
- the clientSecret value.
-
withClientSecret
public AdmCredentialProperties withClientSecret(String clientSecret)
Set the clientSecret property: The credential secret access key.- Parameters:
clientSecret
- the clientSecret value to set.- Returns:
- the AdmCredentialProperties object itself.
-
authTokenUrl
public String authTokenUrl()
Get the authTokenUrl property: The URL of the authorization token.- Returns:
- the authTokenUrl value.
-
withAuthTokenUrl
public AdmCredentialProperties withAuthTokenUrl(String authTokenUrl)
Set the authTokenUrl property: The URL of the authorization token.- Parameters:
authTokenUrl
- the authTokenUrl value to set.- Returns:
- the AdmCredentialProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-