PushSettingsInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. PushSettingsInner
- com.
- com.
- com.
public final class PushSettingsInner
extends ProxyOnlyResource
Push settings for the App.
Constructor Summary
Constructor | Description |
---|---|
PushSettingsInner() |
Creates an instance of Push |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
dynamicTagsJson()
Get the dynamic |
static
Push |
fromJson(JsonReader jsonReader)
Reads an instance of Push |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Boolean |
isPushEnabled()
Get the is |
String |
name()
Get the name property: The name of the resource. |
String |
tagWhitelistJson()
Get the tag |
String |
tagsRequiringAuth()
Get the tags |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Push |
withDynamicTagsJson(String dynamicTagsJson)
Set the dynamic |
Push |
withIsPushEnabled(Boolean isPushEnabled)
Set the is |
Push |
withKind(String kind)
Set the kind property: Kind of resource. |
Push |
withTagWhitelistJson(String tagWhitelistJson)
Set the tag |
Push |
withTagsRequiringAuth(String tagsRequiringAuth)
Set the tags |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
PushSettingsInner
public PushSettingsInner()
Creates an instance of PushSettingsInner class.
Method Details
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:
fromJson
public static PushSettingsInner fromJson(JsonReader jsonReader)
Reads an instance of PushSettingsInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
PushSettingsInner.id()Returns:
isPushEnabled
public Boolean isPushEnabled()
Get the isPushEnabled property: Gets or sets a flag indicating whether the Push endpoint is enabled.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
PushSettingsInner.name()Returns:
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:
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:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PushSettingsInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
PushSettingsInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
PushSettingsInner.validate()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:
Returns:
withIsPushEnabled
public PushSettingsInner withIsPushEnabled(Boolean isPushEnabled)
Set the isPushEnabled property: Gets or sets a flag indicating whether the Push endpoint is enabled.
Parameters:
Returns:
withKind
public PushSettingsInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
PushSettingsInner.withKind(String kind)Parameters:
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:
Returns:
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:
Returns:
Applies to
Azure SDK for Java