ApnsCredential Class

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

public final class ApnsCredential

Description of a NotificationHub ApnsCredential.

Constructor Summary

Constructor Description
ApnsCredential()

Creates an instance of ApnsCredential class.

Method Summary

Modifier and Type Method and Description
String apnsCertificate()

Get the apnsCertificate property: Gets or sets the APNS certificate.

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.

String appName()

Get the appName property: Gets or sets the name of the application.

String certificateKey()

Get the certificateKey property: Gets or sets the certificate key.

String endpoint()

Get the endpoint property: Gets or sets the endpoint of this credential.

String keyId()

Get the keyId property: Gets or sets a 10-character key identifier (kid) key, obtained from your developer account.

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.

ApnsCredential withApnsCertificate(String apnsCertificate)

Set the apnsCertificate property: Gets or sets the APNS certificate.

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.

ApnsCredential withAppName(String appName)

Set the appName property: Gets or sets the name of the application.

ApnsCredential withCertificateKey(String certificateKey)

Set the certificateKey property: Gets or sets the certificate key.

ApnsCredential withEndpoint(String endpoint)

Set the endpoint property: Gets or sets the endpoint of this credential.

ApnsCredential withKeyId(String keyId)

Set the keyId property: Gets or sets a 10-character key identifier (kid) key, obtained from your developer account.

ApnsCredential withThumbprint(String thumbprint)

Set the thumbprint property: Gets or sets the APNS certificate Thumbprint.

ApnsCredential 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:

the apnsCertificate value.

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:

the appId value.

appName

public String appName()

Get the appName property: Gets or sets the name of the application.

Returns:

the appName value.

certificateKey

public String certificateKey()

Get the certificateKey property: Gets or sets the certificate key.

Returns:

the certificateKey value.

endpoint

public String endpoint()

Get the endpoint property: Gets or sets the endpoint of this credential.

Returns:

the endpoint value.

keyId

public String keyId()

Get the keyId property: Gets or sets a 10-character key identifier (kid) key, obtained from your developer account.

Returns:

the keyId value.

thumbprint

public String thumbprint()

Get the thumbprint property: Gets or sets the APNS certificate Thumbprint.

Returns:

the thumbprint value.

token

public String token()

Get the token property: Gets or sets provider Authentication Token, obtained through your developer account.

Returns:

the token value.

validate

public void validate()

Validates the instance.

withApnsCertificate

public ApnsCredential withApnsCertificate(String apnsCertificate)

Set the apnsCertificate property: Gets or sets the APNS certificate.

Parameters:

apnsCertificate - the apnsCertificate value to set.

Returns:

the ApnsCredential object itself.

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:

appId - the appId value to set.

Returns:

the ApnsCredential object itself.

withAppName

public ApnsCredential withAppName(String appName)

Set the appName property: Gets or sets the name of the application.

Parameters:

appName - the appName value to set.

Returns:

the ApnsCredential object itself.

withCertificateKey

public ApnsCredential withCertificateKey(String certificateKey)

Set the certificateKey property: Gets or sets the certificate key.

Parameters:

certificateKey - the certificateKey value to set.

Returns:

the ApnsCredential object itself.

withEndpoint

public ApnsCredential withEndpoint(String endpoint)

Set the endpoint property: Gets or sets the endpoint of this credential.

Parameters:

endpoint - the endpoint value to set.

Returns:

the ApnsCredential object itself.

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:

keyId - the keyId value to set.

Returns:

the ApnsCredential object itself.

withThumbprint

public ApnsCredential withThumbprint(String thumbprint)

Set the thumbprint property: Gets or sets the APNS certificate Thumbprint.

Parameters:

thumbprint - the thumbprint value to set.

Returns:

the ApnsCredential object itself.

withToken

public ApnsCredential withToken(String token)

Set the token property: Gets or sets provider Authentication Token, obtained through your developer account.

Parameters:

token - the token value to set.

Returns:

the ApnsCredential object itself.

Applies to