Class MpnsCredential
- java.lang.Object
-
- com.azure.resourcemanager.notificationhubs.models.MpnsCredential
-
public final class MpnsCredential extends Object
Description of a NotificationHub MpnsCredential.
-
-
Constructor Summary
Constructors Constructor Description MpnsCredential()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
certificateKey()
Get the certificateKey property: The certificate key for this credential.String
mpnsCertificate()
Get the mpnsCertificate property: The MPNS certificate.String
thumbprint()
Get the thumbprint property: The MPNS certificate Thumbprint.void
validate()
Validates the instance.MpnsCredential
withCertificateKey(String certificateKey)
Set the certificateKey property: The certificate key for this credential.MpnsCredential
withMpnsCertificate(String mpnsCertificate)
Set the mpnsCertificate property: The MPNS certificate.MpnsCredential
withThumbprint(String thumbprint)
Set the thumbprint property: The MPNS certificate Thumbprint.
-
-
-
Method Detail
-
mpnsCertificate
public String mpnsCertificate()
Get the mpnsCertificate property: The MPNS certificate.- Returns:
- the mpnsCertificate value.
-
withMpnsCertificate
public MpnsCredential withMpnsCertificate(String mpnsCertificate)
Set the mpnsCertificate property: The MPNS certificate.- Parameters:
mpnsCertificate
- the mpnsCertificate value to set.- Returns:
- the MpnsCredential object itself.
-
certificateKey
public String certificateKey()
Get the certificateKey property: The certificate key for this credential.- Returns:
- the certificateKey value.
-
withCertificateKey
public MpnsCredential withCertificateKey(String certificateKey)
Set the certificateKey property: The certificate key for this credential.- Parameters:
certificateKey
- the certificateKey value to set.- Returns:
- the MpnsCredential object itself.
-
thumbprint
public String thumbprint()
Get the thumbprint property: The MPNS certificate Thumbprint.- Returns:
- the thumbprint value.
-
withThumbprint
public MpnsCredential withThumbprint(String thumbprint)
Set the thumbprint property: The MPNS certificate Thumbprint.- Parameters:
thumbprint
- the thumbprint value to set.- Returns:
- the MpnsCredential object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-