MpnsCredential Class

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

public final class MpnsCredential

Description of a NotificationHub MpnsCredential.

Constructor Summary

Constructor Description
MpnsCredential()

Creates an instance of MpnsCredential class.

Method Summary

Modifier and Type Method and Description
String certificateKey()

Get the certificateKey property: Gets or sets the certificate key for this credential.

String mpnsCertificate()

Get the mpnsCertificate property: Gets or sets the MPNS certificate.

String thumbprint()

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

void validate()

Validates the instance.

MpnsCredential withCertificateKey(String certificateKey)

Set the certificateKey property: Gets or sets the certificate key for this credential.

MpnsCredential withMpnsCertificate(String mpnsCertificate)

Set the mpnsCertificate property: Gets or sets the MPNS certificate.

MpnsCredential withThumbprint(String thumbprint)

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

Methods inherited from java.lang.Object

Constructor Details

MpnsCredential

public MpnsCredential()

Creates an instance of MpnsCredential class.

Method Details

certificateKey

public String certificateKey()

Get the certificateKey property: Gets or sets the certificate key for this credential.

Returns:

the certificateKey value.

mpnsCertificate

public String mpnsCertificate()

Get the mpnsCertificate property: Gets or sets the MPNS certificate.

Returns:

the mpnsCertificate value.

thumbprint

public String thumbprint()

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

Returns:

the thumbprint value.

validate

public void validate()

Validates the instance.

withCertificateKey

public MpnsCredential withCertificateKey(String certificateKey)

Set the certificateKey property: Gets or sets the certificate key for this credential.

Parameters:

certificateKey - the certificateKey value to set.

Returns:

the MpnsCredential object itself.

withMpnsCertificate

public MpnsCredential withMpnsCertificate(String mpnsCertificate)

Set the mpnsCertificate property: Gets or sets the MPNS certificate.

Parameters:

mpnsCertificate - the mpnsCertificate value to set.

Returns:

the MpnsCredential object itself.

withThumbprint

public MpnsCredential withThumbprint(String thumbprint)

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

Parameters:

thumbprint - the thumbprint value to set.

Returns:

the MpnsCredential object itself.

Applies to