Class WnsCredentialProperties


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

      • WnsCredentialProperties

        public WnsCredentialProperties()
    • Method Detail

      • packageSid

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

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

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

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

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

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

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