Class PushSettingsInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.PushSettingsInner

public final class PushSettingsInner extends ProxyOnlyResource
Push settings for the App.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the dynamicTagsJson property: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.
    Get the isPushEnabled property: Gets or sets a flag indicating whether the Push endpoint is enabled.
    Get the tagsRequiringAuth property: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.
    Get the tagWhitelistJson property: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.
    void
    Validates the instance.
    withDynamicTagsJson(String dynamicTagsJson)
    Set the dynamicTagsJson property: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.
    withIsPushEnabled(Boolean isPushEnabled)
    Set the isPushEnabled property: Gets or sets a flag indicating whether the Push endpoint is enabled.
    Set the kind property: Kind of resource.
    withTagsRequiringAuth(String tagsRequiringAuth)
    Set the tagsRequiringAuth property: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.
    withTagWhitelistJson(String tagWhitelistJson)
    Set the tagWhitelistJson property: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.

    Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource

    kind

    Methods inherited from class com.azure.core.management.ProxyResource

    id, name, type

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PushSettingsInner

      public PushSettingsInner()
  • Method Details

    • withKind

      public PushSettingsInner withKind(String kind)
      Set the kind property: Kind of resource.
      Overrides:
      withKind in class ProxyOnlyResource
      Parameters:
      kind - the kind value to set.
      Returns:
      the ProxyOnlyResource object itself.
    • isPushEnabled

      public Boolean isPushEnabled()
      Get the isPushEnabled property: Gets or sets a flag indicating whether the Push endpoint is enabled.
      Returns:
      the isPushEnabled value.
    • withIsPushEnabled

      public PushSettingsInner withIsPushEnabled(Boolean isPushEnabled)
      Set the isPushEnabled property: Gets or sets a flag indicating whether the Push endpoint is enabled.
      Parameters:
      isPushEnabled - the isPushEnabled value to set.
      Returns:
      the PushSettingsInner object itself.
    • tagWhitelistJson

      public String tagWhitelistJson()
      Get the tagWhitelistJson property: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.
      Returns:
      the tagWhitelistJson value.
    • withTagWhitelistJson

      public PushSettingsInner withTagWhitelistJson(String tagWhitelistJson)
      Set the tagWhitelistJson property: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.
      Parameters:
      tagWhitelistJson - the tagWhitelistJson value to set.
      Returns:
      the PushSettingsInner object itself.
    • tagsRequiringAuth

      public String tagsRequiringAuth()
      Get the tagsRequiringAuth property: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.
      Returns:
      the tagsRequiringAuth value.
    • withTagsRequiringAuth

      public PushSettingsInner withTagsRequiringAuth(String tagsRequiringAuth)
      Set the tagsRequiringAuth property: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.
      Parameters:
      tagsRequiringAuth - the tagsRequiringAuth value to set.
      Returns:
      the PushSettingsInner object itself.
    • dynamicTagsJson

      public String dynamicTagsJson()
      Get the dynamicTagsJson property: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.
      Returns:
      the dynamicTagsJson value.
    • withDynamicTagsJson

      public PushSettingsInner withDynamicTagsJson(String dynamicTagsJson)
      Set the dynamicTagsJson property: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.
      Parameters:
      dynamicTagsJson - the dynamicTagsJson value to set.
      Returns:
      the PushSettingsInner object itself.
    • validate

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