AdmCredential Class

  • java.lang.Object
    • com.azure.resourcemanager.notificationhubs.models.AdmCredential

public final class AdmCredential

Description of a NotificationHub AdmCredential.

Constructor Summary

Constructor Description
AdmCredential()

Creates an instance of AdmCredential class.

Method Summary

Modifier and Type Method and Description
String authTokenUrl()

Get the authTokenUrl property: Gets or sets the URL of the authorization token.

String clientId()

Get the clientId property: Gets or sets the client identifier.

String clientSecret()

Get the clientSecret property: Gets or sets the credential secret access key.

void validate()

Validates the instance.

AdmCredential withAuthTokenUrl(String authTokenUrl)

Set the authTokenUrl property: Gets or sets the URL of the authorization token.

AdmCredential withClientId(String clientId)

Set the clientId property: Gets or sets the client identifier.

AdmCredential withClientSecret(String clientSecret)

Set the clientSecret property: Gets or sets the credential secret access key.

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:

the authTokenUrl value.

clientId

public String clientId()

Get the clientId property: Gets or sets the client identifier.

Returns:

the clientId value.

clientSecret

public String clientSecret()

Get the clientSecret property: Gets or sets the credential secret access key.

Returns:

the clientSecret value.

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:

authTokenUrl - the authTokenUrl value to set.

Returns:

the AdmCredential object itself.

withClientId

public AdmCredential withClientId(String clientId)

Set the clientId property: Gets or sets the client identifier.

Parameters:

clientId - the clientId value to set.

Returns:

the AdmCredential object itself.

withClientSecret

public AdmCredential withClientSecret(String clientSecret)

Set the clientSecret property: Gets or sets the credential secret access key.

Parameters:

clientSecret - the clientSecret value to set.

Returns:

the AdmCredential object itself.

Applies to