NotificationHubResourceInner Class

public final class NotificationHubResourceInner
extends Resource

Notification Hub Resource.

Constructor Summary

Constructor Description
NotificationHubResourceInner()

Creates an instance of NotificationHubResourceInner class.

Method Summary

Modifier and Type Method and Description
AdmCredential admCredential()

Get the admCredential property: Description of a NotificationHub AdmCredential.

ApnsCredential apnsCredential()

Get the apnsCredential property: Description of a NotificationHub ApnsCredential.

List<SharedAccessAuthorizationRuleProperties> authorizationRules()

Get the authorizationRules property: Gets or sets the AuthorizationRules of the created NotificationHub.

BaiduCredential baiduCredential()

Get the baiduCredential property: Description of a NotificationHub BaiduCredential.

BrowserCredential browserCredential()

Get the browserCredential property: Description of a NotificationHub BrowserCredential.

Long dailyMaxActiveDevices()

Get the dailyMaxActiveDevices property: The dailyMaxActiveDevices property.

FcmV1Credential fcmV1Credential()

Get the fcmV1Credential property: Description of a NotificationHub FcmV1Credential.

GcmCredential gcmCredential()

Get the gcmCredential property: Description of a NotificationHub GcmCredential.

MpnsCredential mpnsCredential()

Get the mpnsCredential property: Description of a NotificationHub MpnsCredential.

String namePropertiesName()

Get the name property: Gets or sets the NotificationHub name.

String registrationTtl()

Get the registrationTtl property: Gets or sets the RegistrationTtl of the created NotificationHub.

Sku sku()

Get the sku property: The Sku description for a namespace.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

void validate()

Validates the instance.

NotificationHubResourceInner withAdmCredential(AdmCredential admCredential)

Set the admCredential property: Description of a NotificationHub AdmCredential.

NotificationHubResourceInner withApnsCredential(ApnsCredential apnsCredential)

Set the apnsCredential property: Description of a NotificationHub ApnsCredential.

NotificationHubResourceInner withBaiduCredential(BaiduCredential baiduCredential)

Set the baiduCredential property: Description of a NotificationHub BaiduCredential.

NotificationHubResourceInner withBrowserCredential(BrowserCredential browserCredential)

Set the browserCredential property: Description of a NotificationHub BrowserCredential.

NotificationHubResourceInner withFcmV1Credential(FcmV1Credential fcmV1Credential)

Set the fcmV1Credential property: Description of a NotificationHub FcmV1Credential.

NotificationHubResourceInner withGcmCredential(GcmCredential gcmCredential)

Set the gcmCredential property: Description of a NotificationHub GcmCredential.

NotificationHubResourceInner withLocation(String location)
NotificationHubResourceInner withMpnsCredential(MpnsCredential mpnsCredential)

Set the mpnsCredential property: Description of a NotificationHub MpnsCredential.

NotificationHubResourceInner withNamePropertiesName(String name)

Set the name property: Gets or sets the NotificationHub name.

NotificationHubResourceInner withRegistrationTtl(String registrationTtl)

Set the registrationTtl property: Gets or sets the RegistrationTtl of the created NotificationHub.

NotificationHubResourceInner withSku(Sku sku)

Set the sku property: The Sku description for a namespace.

NotificationHubResourceInner withTags(Map<String,String> tags)
NotificationHubResourceInner withWnsCredential(WnsCredential wnsCredential)

Set the wnsCredential property: Description of a NotificationHub WnsCredential.

NotificationHubResourceInner withXiaomiCredential(XiaomiCredential xiaomiCredential)

Set the xiaomiCredential property: Description of a NotificationHub XiaomiCredential.

WnsCredential wnsCredential()

Get the wnsCredential property: Description of a NotificationHub WnsCredential.

XiaomiCredential xiaomiCredential()

Get the xiaomiCredential property: Description of a NotificationHub XiaomiCredential.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

NotificationHubResourceInner

public NotificationHubResourceInner()

Creates an instance of NotificationHubResourceInner class.

Method Details

admCredential

public AdmCredential admCredential()

Get the admCredential property: Description of a NotificationHub AdmCredential.

Returns:

the admCredential value.

apnsCredential

public ApnsCredential apnsCredential()

Get the apnsCredential property: Description of a NotificationHub ApnsCredential.

Returns:

the apnsCredential value.

authorizationRules

public List authorizationRules()

Get the authorizationRules property: Gets or sets the AuthorizationRules of the created NotificationHub.

Returns:

the authorizationRules value.

baiduCredential

public BaiduCredential baiduCredential()

Get the baiduCredential property: Description of a NotificationHub BaiduCredential.

Returns:

the baiduCredential value.

browserCredential

public BrowserCredential browserCredential()

Get the browserCredential property: Description of a NotificationHub BrowserCredential.

Returns:

the browserCredential value.

dailyMaxActiveDevices

public Long dailyMaxActiveDevices()

Get the dailyMaxActiveDevices property: The dailyMaxActiveDevices property.

Returns:

the dailyMaxActiveDevices value.

fcmV1Credential

public FcmV1Credential fcmV1Credential()

Get the fcmV1Credential property: Description of a NotificationHub FcmV1Credential.

Returns:

the fcmV1Credential value.

gcmCredential

public GcmCredential gcmCredential()

Get the gcmCredential property: Description of a NotificationHub GcmCredential.

Returns:

the gcmCredential value.

mpnsCredential

public MpnsCredential mpnsCredential()

Get the mpnsCredential property: Description of a NotificationHub MpnsCredential.

Returns:

the mpnsCredential value.

namePropertiesName

public String namePropertiesName()

Get the name property: Gets or sets the NotificationHub name.

Returns:

the name value.

registrationTtl

public String registrationTtl()

Get the registrationTtl property: Gets or sets the RegistrationTtl of the created NotificationHub.

Returns:

the registrationTtl value.

sku

public Sku sku()

Get the sku property: The Sku description for a namespace.

Returns:

the sku value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

validate

public void validate()

Validates the instance.

withAdmCredential

public NotificationHubResourceInner withAdmCredential(AdmCredential admCredential)

Set the admCredential property: Description of a NotificationHub AdmCredential.

Parameters:

admCredential - the admCredential value to set.

Returns:

the NotificationHubResourceInner object itself.

withApnsCredential

public NotificationHubResourceInner withApnsCredential(ApnsCredential apnsCredential)

Set the apnsCredential property: Description of a NotificationHub ApnsCredential.

Parameters:

apnsCredential - the apnsCredential value to set.

Returns:

the NotificationHubResourceInner object itself.

withBaiduCredential

public NotificationHubResourceInner withBaiduCredential(BaiduCredential baiduCredential)

Set the baiduCredential property: Description of a NotificationHub BaiduCredential.

Parameters:

baiduCredential - the baiduCredential value to set.

Returns:

the NotificationHubResourceInner object itself.

withBrowserCredential

public NotificationHubResourceInner withBrowserCredential(BrowserCredential browserCredential)

Set the browserCredential property: Description of a NotificationHub BrowserCredential.

Parameters:

browserCredential - the browserCredential value to set.

Returns:

the NotificationHubResourceInner object itself.

withFcmV1Credential

public NotificationHubResourceInner withFcmV1Credential(FcmV1Credential fcmV1Credential)

Set the fcmV1Credential property: Description of a NotificationHub FcmV1Credential.

Parameters:

fcmV1Credential - the fcmV1Credential value to set.

Returns:

the NotificationHubResourceInner object itself.

withGcmCredential

public NotificationHubResourceInner withGcmCredential(GcmCredential gcmCredential)

Set the gcmCredential property: Description of a NotificationHub GcmCredential.

Parameters:

gcmCredential - the gcmCredential value to set.

Returns:

the NotificationHubResourceInner object itself.

withLocation

public NotificationHubResourceInner withLocation(String location)

Overrides:

NotificationHubResourceInner.withLocation(String location)

Parameters:

location

withMpnsCredential

public NotificationHubResourceInner withMpnsCredential(MpnsCredential mpnsCredential)

Set the mpnsCredential property: Description of a NotificationHub MpnsCredential.

Parameters:

mpnsCredential - the mpnsCredential value to set.

Returns:

the NotificationHubResourceInner object itself.

withNamePropertiesName

public NotificationHubResourceInner withNamePropertiesName(String name)

Set the name property: Gets or sets the NotificationHub name.

Parameters:

name - the name value to set.

Returns:

the NotificationHubResourceInner object itself.

withRegistrationTtl

public NotificationHubResourceInner withRegistrationTtl(String registrationTtl)

Set the registrationTtl property: Gets or sets the RegistrationTtl of the created NotificationHub.

Parameters:

registrationTtl - the registrationTtl value to set.

Returns:

the NotificationHubResourceInner object itself.

withSku

public NotificationHubResourceInner withSku(Sku sku)

Set the sku property: The Sku description for a namespace.

Parameters:

sku - the sku value to set.

Returns:

the NotificationHubResourceInner object itself.

withTags

public NotificationHubResourceInner withTags(Map tags)

Overrides:

NotificationHubResourceInner.withTags(Map<String,String> tags)

Parameters:

tags

withWnsCredential

public NotificationHubResourceInner withWnsCredential(WnsCredential wnsCredential)

Set the wnsCredential property: Description of a NotificationHub WnsCredential.

Parameters:

wnsCredential - the wnsCredential value to set.

Returns:

the NotificationHubResourceInner object itself.

withXiaomiCredential

public NotificationHubResourceInner withXiaomiCredential(XiaomiCredential xiaomiCredential)

Set the xiaomiCredential property: Description of a NotificationHub XiaomiCredential.

Parameters:

xiaomiCredential - the xiaomiCredential value to set.

Returns:

the NotificationHubResourceInner object itself.

wnsCredential

public WnsCredential wnsCredential()

Get the wnsCredential property: Description of a NotificationHub WnsCredential.

Returns:

the wnsCredential value.

xiaomiCredential

public XiaomiCredential xiaomiCredential()

Get the xiaomiCredential property: Description of a NotificationHub XiaomiCredential.

Returns:

the xiaomiCredential value.

Applies to