Class WnsCredential


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

      • WnsCredential

        public WnsCredential()
    • Method Detail

      • packageSid

        public String packageSid()
        Get the packageSid property: The package ID for this credential.
        Returns:
        the packageSid value.
      • withPackageSid

        public WnsCredential withPackageSid​(String packageSid)
        Set the packageSid property: The package ID for this credential.
        Parameters:
        packageSid - the packageSid value to set.
        Returns:
        the WnsCredential object itself.
      • secretKey

        public String secretKey()
        Get the secretKey property: The secret key.
        Returns:
        the secretKey value.
      • withSecretKey

        public WnsCredential withSecretKey​(String secretKey)
        Set the secretKey property: The secret key.
        Parameters:
        secretKey - the secretKey value to set.
        Returns:
        the WnsCredential object itself.
      • windowsLiveEndpoint

        public String windowsLiveEndpoint()
        Get the windowsLiveEndpoint property: The Windows Live endpoint.
        Returns:
        the windowsLiveEndpoint value.
      • withWindowsLiveEndpoint

        public WnsCredential withWindowsLiveEndpoint​(String windowsLiveEndpoint)
        Set the windowsLiveEndpoint property: The Windows Live endpoint.
        Parameters:
        windowsLiveEndpoint - the windowsLiveEndpoint value to set.
        Returns:
        the WnsCredential object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.