Class PnsCredentialsProperties
- java.lang.Object
-
- com.azure.resourcemanager.notificationhubs.fluent.models.PnsCredentialsProperties
-
public final class PnsCredentialsProperties extends Object
Description of a NotificationHub PNS Credentials.
-
-
Constructor Summary
Constructors Constructor Description PnsCredentialsProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdmCredential
admCredential()
Get the admCredential property: The AdmCredential of the created NotificationHub.ApnsCredential
apnsCredential()
Get the apnsCredential property: The ApnsCredential of the created NotificationHub.BaiduCredential
baiduCredential()
Get the baiduCredential property: The BaiduCredential of the created NotificationHub.GcmCredential
gcmCredential()
Get the gcmCredential property: The GcmCredential of the created NotificationHub.MpnsCredential
mpnsCredential()
Get the mpnsCredential property: The MpnsCredential of the created NotificationHub.void
validate()
Validates the instance.PnsCredentialsProperties
withAdmCredential(AdmCredential admCredential)
Set the admCredential property: The AdmCredential of the created NotificationHub.PnsCredentialsProperties
withApnsCredential(ApnsCredential apnsCredential)
Set the apnsCredential property: The ApnsCredential of the created NotificationHub.PnsCredentialsProperties
withBaiduCredential(BaiduCredential baiduCredential)
Set the baiduCredential property: The BaiduCredential of the created NotificationHub.PnsCredentialsProperties
withGcmCredential(GcmCredential gcmCredential)
Set the gcmCredential property: The GcmCredential of the created NotificationHub.PnsCredentialsProperties
withMpnsCredential(MpnsCredential mpnsCredential)
Set the mpnsCredential property: The MpnsCredential of the created NotificationHub.PnsCredentialsProperties
withWnsCredential(WnsCredential wnsCredential)
Set the wnsCredential property: The WnsCredential of the created NotificationHub.WnsCredential
wnsCredential()
Get the wnsCredential property: The WnsCredential of the created NotificationHub.
-
-
-
Method Detail
-
apnsCredential
public ApnsCredential apnsCredential()
Get the apnsCredential property: The ApnsCredential of the created NotificationHub.- Returns:
- the apnsCredential value.
-
withApnsCredential
public PnsCredentialsProperties withApnsCredential(ApnsCredential apnsCredential)
Set the apnsCredential property: The ApnsCredential of the created NotificationHub.- Parameters:
apnsCredential
- the apnsCredential value to set.- Returns:
- the PnsCredentialsProperties object itself.
-
wnsCredential
public WnsCredential wnsCredential()
Get the wnsCredential property: The WnsCredential of the created NotificationHub.- Returns:
- the wnsCredential value.
-
withWnsCredential
public PnsCredentialsProperties withWnsCredential(WnsCredential wnsCredential)
Set the wnsCredential property: The WnsCredential of the created NotificationHub.- Parameters:
wnsCredential
- the wnsCredential value to set.- Returns:
- the PnsCredentialsProperties object itself.
-
gcmCredential
public GcmCredential gcmCredential()
Get the gcmCredential property: The GcmCredential of the created NotificationHub.- Returns:
- the gcmCredential value.
-
withGcmCredential
public PnsCredentialsProperties withGcmCredential(GcmCredential gcmCredential)
Set the gcmCredential property: The GcmCredential of the created NotificationHub.- Parameters:
gcmCredential
- the gcmCredential value to set.- Returns:
- the PnsCredentialsProperties object itself.
-
mpnsCredential
public MpnsCredential mpnsCredential()
Get the mpnsCredential property: The MpnsCredential of the created NotificationHub.- Returns:
- the mpnsCredential value.
-
withMpnsCredential
public PnsCredentialsProperties withMpnsCredential(MpnsCredential mpnsCredential)
Set the mpnsCredential property: The MpnsCredential of the created NotificationHub.- Parameters:
mpnsCredential
- the mpnsCredential value to set.- Returns:
- the PnsCredentialsProperties object itself.
-
admCredential
public AdmCredential admCredential()
Get the admCredential property: The AdmCredential of the created NotificationHub.- Returns:
- the admCredential value.
-
withAdmCredential
public PnsCredentialsProperties withAdmCredential(AdmCredential admCredential)
Set the admCredential property: The AdmCredential of the created NotificationHub.- Parameters:
admCredential
- the admCredential value to set.- Returns:
- the PnsCredentialsProperties object itself.
-
baiduCredential
public BaiduCredential baiduCredential()
Get the baiduCredential property: The BaiduCredential of the created NotificationHub.- Returns:
- the baiduCredential value.
-
withBaiduCredential
public PnsCredentialsProperties withBaiduCredential(BaiduCredential baiduCredential)
Set the baiduCredential property: The BaiduCredential of the created NotificationHub.- Parameters:
baiduCredential
- the baiduCredential value to set.- Returns:
- the PnsCredentialsProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-