Class WnsCredentialProperties
- java.lang.Object
-
- com.azure.resourcemanager.notificationhubs.fluent.models.WnsCredentialProperties
-
public final class WnsCredentialProperties extends Object
Description of a NotificationHub WnsCredential.
-
-
Constructor Summary
Constructors Constructor Description WnsCredentialProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
packageSid()
Get the packageSid property: The package ID for this credential.String
secretKey()
Get the secretKey property: The secret key.void
validate()
Validates the instance.String
windowsLiveEndpoint()
Get the windowsLiveEndpoint property: The Windows Live endpoint.WnsCredentialProperties
withPackageSid(String packageSid)
Set the packageSid property: The package ID for this credential.WnsCredentialProperties
withSecretKey(String secretKey)
Set the secretKey property: The secret key.WnsCredentialProperties
withWindowsLiveEndpoint(String windowsLiveEndpoint)
Set the windowsLiveEndpoint property: The Windows Live endpoint.
-
-
-
Method Detail
-
packageSid
public String packageSid()
Get the packageSid property: The package ID for this credential.- Returns:
- the packageSid value.
-
withPackageSid
public WnsCredentialProperties withPackageSid(String packageSid)
Set the packageSid property: The package ID for this credential.- Parameters:
packageSid
- the packageSid value to set.- Returns:
- the WnsCredentialProperties object itself.
-
secretKey
public String secretKey()
Get the secretKey property: The secret key.- Returns:
- the secretKey value.
-
withSecretKey
public WnsCredentialProperties withSecretKey(String secretKey)
Set the secretKey property: The secret key.- Parameters:
secretKey
- the secretKey value to set.- Returns:
- the WnsCredentialProperties object itself.
-
windowsLiveEndpoint
public String windowsLiveEndpoint()
Get the windowsLiveEndpoint property: The Windows Live endpoint.- Returns:
- the windowsLiveEndpoint value.
-
withWindowsLiveEndpoint
public WnsCredentialProperties withWindowsLiveEndpoint(String windowsLiveEndpoint)
Set the windowsLiveEndpoint property: The Windows Live endpoint.- Parameters:
windowsLiveEndpoint
- the windowsLiveEndpoint value to set.- Returns:
- the WnsCredentialProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-