Class NotificationHubResourceInner


  • public final class NotificationHubResourceInner
    extends com.azure.core.management.Resource
    Description of a NotificationHub Resource.
    • Constructor Detail

      • NotificationHubResourceInner

        public NotificationHubResourceInner()
    • Method Detail

      • sku

        public Sku sku()
        Get the sku property: The sku of the created namespace.
        Returns:
        the sku value.
      • withSku

        public NotificationHubResourceInner withSku​(Sku sku)
        Set the sku property: The sku of the created namespace.
        Parameters:
        sku - the sku value to set.
        Returns:
        the NotificationHubResourceInner object itself.
      • namePropertiesName

        public String namePropertiesName()
        Get the name property: The NotificationHub name.
        Returns:
        the name value.
      • withNamePropertiesName

        public NotificationHubResourceInner withNamePropertiesName​(String name)
        Set the name property: The NotificationHub name.
        Parameters:
        name - the name value to set.
        Returns:
        the NotificationHubResourceInner object itself.
      • registrationTtl

        public String registrationTtl()
        Get the registrationTtl property: The RegistrationTtl of the created NotificationHub.
        Returns:
        the registrationTtl value.
      • withRegistrationTtl

        public NotificationHubResourceInner withRegistrationTtl​(String registrationTtl)
        Set the registrationTtl property: The RegistrationTtl of the created NotificationHub.
        Parameters:
        registrationTtl - the registrationTtl value to set.
        Returns:
        the NotificationHubResourceInner object itself.
      • authorizationRules

        public List<SharedAccessAuthorizationRuleProperties> authorizationRules()
        Get the authorizationRules property: The AuthorizationRules of the created NotificationHub.
        Returns:
        the authorizationRules value.
      • withAuthorizationRules

        public NotificationHubResourceInner withAuthorizationRules​(List<SharedAccessAuthorizationRuleProperties> authorizationRules)
        Set the authorizationRules property: The AuthorizationRules of the created NotificationHub.
        Parameters:
        authorizationRules - the authorizationRules value to set.
        Returns:
        the NotificationHubResourceInner object itself.
      • apnsCredential

        public ApnsCredential apnsCredential()
        Get the apnsCredential property: The ApnsCredential of the created NotificationHub.
        Returns:
        the apnsCredential value.
      • withApnsCredential

        public NotificationHubResourceInner withApnsCredential​(ApnsCredential apnsCredential)
        Set the apnsCredential property: The ApnsCredential of the created NotificationHub.
        Parameters:
        apnsCredential - the apnsCredential value to set.
        Returns:
        the NotificationHubResourceInner object itself.
      • wnsCredential

        public WnsCredential wnsCredential()
        Get the wnsCredential property: The WnsCredential of the created NotificationHub.
        Returns:
        the wnsCredential value.
      • withWnsCredential

        public NotificationHubResourceInner withWnsCredential​(WnsCredential wnsCredential)
        Set the wnsCredential property: The WnsCredential of the created NotificationHub.
        Parameters:
        wnsCredential - the wnsCredential value to set.
        Returns:
        the NotificationHubResourceInner object itself.
      • gcmCredential

        public GcmCredential gcmCredential()
        Get the gcmCredential property: The GcmCredential of the created NotificationHub.
        Returns:
        the gcmCredential value.
      • withGcmCredential

        public NotificationHubResourceInner withGcmCredential​(GcmCredential gcmCredential)
        Set the gcmCredential property: The GcmCredential of the created NotificationHub.
        Parameters:
        gcmCredential - the gcmCredential value to set.
        Returns:
        the NotificationHubResourceInner object itself.
      • mpnsCredential

        public MpnsCredential mpnsCredential()
        Get the mpnsCredential property: The MpnsCredential of the created NotificationHub.
        Returns:
        the mpnsCredential value.
      • withMpnsCredential

        public NotificationHubResourceInner withMpnsCredential​(MpnsCredential mpnsCredential)
        Set the mpnsCredential property: The MpnsCredential of the created NotificationHub.
        Parameters:
        mpnsCredential - the mpnsCredential value to set.
        Returns:
        the NotificationHubResourceInner object itself.
      • admCredential

        public AdmCredential admCredential()
        Get the admCredential property: The AdmCredential of the created NotificationHub.
        Returns:
        the admCredential value.
      • withAdmCredential

        public NotificationHubResourceInner withAdmCredential​(AdmCredential admCredential)
        Set the admCredential property: The AdmCredential of the created NotificationHub.
        Parameters:
        admCredential - the admCredential value to set.
        Returns:
        the NotificationHubResourceInner object itself.
      • baiduCredential

        public BaiduCredential baiduCredential()
        Get the baiduCredential property: The BaiduCredential of the created NotificationHub.
        Returns:
        the baiduCredential value.
      • withBaiduCredential

        public NotificationHubResourceInner withBaiduCredential​(BaiduCredential baiduCredential)
        Set the baiduCredential property: The BaiduCredential of the created NotificationHub.
        Parameters:
        baiduCredential - the baiduCredential value to set.
        Returns:
        the NotificationHubResourceInner object itself.
      • validate

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