Class MpnsCredential


  • public final class MpnsCredential
    extends Object
    Description of a NotificationHub MpnsCredential.
    • Constructor Detail

      • MpnsCredential

        public MpnsCredential()
    • 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.