ApnsCredential Class
- java.
lang. Object - com.
azure. resourcemanager. notificationhubs. models. ApnsCredential
- com.
public final class ApnsCredential
Description of a NotificationHub ApnsCredential.
Constructor Summary
Constructor | Description |
---|---|
ApnsCredential() |
Creates an instance of Apns |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
apnsCertificate()
Get the apns |
String |
appId()
Get the app |
String |
appName()
Get the app |
String |
certificateKey()
Get the certificate |
String |
endpoint()
Get the endpoint property: Gets or sets the endpoint of this credential. |
String |
keyId()
Get the key |
String |
thumbprint()
Get the thumbprint property: Gets or sets the APNS certificate Thumbprint. |
String |
token()
Get the token property: Gets or sets provider Authentication Token, obtained through your developer account. |
void |
validate()
Validates the instance. |
Apns |
withApnsCertificate(String apnsCertificate)
Set the apns |
Apns |
withAppId(String appId)
Set the app |
Apns |
withAppName(String appName)
Set the app |
Apns |
withCertificateKey(String certificateKey)
Set the certificate |
Apns |
withEndpoint(String endpoint)
Set the endpoint property: Gets or sets the endpoint of this credential. |
Apns |
withKeyId(String keyId)
Set the key |
Apns |
withThumbprint(String thumbprint)
Set the thumbprint property: Gets or sets the APNS certificate Thumbprint. |
Apns |
withToken(String token)
Set the token property: Gets or sets provider Authentication Token, obtained through your developer account. |
Methods inherited from java.lang.Object
Constructor Details
ApnsCredential
public ApnsCredential()
Creates an instance of ApnsCredential class.
Method Details
apnsCertificate
public String apnsCertificate()
Get the apnsCertificate property: Gets or sets the APNS certificate.
Returns:
appId
public String appId()
Get the appId property: Gets or sets the issuer (iss) registered claim key, whose value is your 10-character Team ID, obtained from your developer account.
Returns:
appName
public String appName()
Get the appName property: Gets or sets the name of the application.
Returns:
certificateKey
public String certificateKey()
Get the certificateKey property: Gets or sets the certificate key.
Returns:
endpoint
public String endpoint()
Get the endpoint property: Gets or sets the endpoint of this credential.
Returns:
keyId
public String keyId()
Get the keyId property: Gets or sets a 10-character key identifier (kid) key, obtained from your developer account.
Returns:
thumbprint
public String thumbprint()
Get the thumbprint property: Gets or sets the APNS certificate Thumbprint.
Returns:
token
public String token()
Get the token property: Gets or sets provider Authentication Token, obtained through your developer account.
Returns:
validate
public void validate()
Validates the instance.
withApnsCertificate
public ApnsCredential withApnsCertificate(String apnsCertificate)
Set the apnsCertificate property: Gets or sets the APNS certificate.
Parameters:
Returns:
withAppId
public ApnsCredential withAppId(String appId)
Set the appId property: Gets or sets the issuer (iss) registered claim key, whose value is your 10-character Team ID, obtained from your developer account.
Parameters:
Returns:
withAppName
public ApnsCredential withAppName(String appName)
Set the appName property: Gets or sets the name of the application.
Parameters:
Returns:
withCertificateKey
public ApnsCredential withCertificateKey(String certificateKey)
Set the certificateKey property: Gets or sets the certificate key.
Parameters:
Returns:
withEndpoint
public ApnsCredential withEndpoint(String endpoint)
Set the endpoint property: Gets or sets the endpoint of this credential.
Parameters:
Returns:
withKeyId
public ApnsCredential withKeyId(String keyId)
Set the keyId property: Gets or sets a 10-character key identifier (kid) key, obtained from your developer account.
Parameters:
Returns:
withThumbprint
public ApnsCredential withThumbprint(String thumbprint)
Set the thumbprint property: Gets or sets the APNS certificate Thumbprint.
Parameters:
Returns:
withToken
public ApnsCredential withToken(String token)
Set the token property: Gets or sets provider Authentication Token, obtained through your developer account.
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