WnsCredential Class
- java.
lang. Object - com.
azure. resourcemanager. notificationhubs. models. WnsCredential
- com.
public final class WnsCredential
Description of a NotificationHub WnsCredential.
Constructor Summary
Constructor | Description |
---|---|
WnsCredential() |
Creates an instance of Wns |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
certificateKey()
Get the certificate |
String |
packageSid()
Get the package |
String |
secretKey()
Get the secret |
void |
validate()
Validates the instance. |
String |
windowsLiveEndpoint()
Get the windows |
Wns |
withCertificateKey(String certificateKey)
Set the certificate |
Wns |
withPackageSid(String packageSid)
Set the package |
Wns |
withSecretKey(String secretKey)
Set the secret |
Wns |
withWindowsLiveEndpoint(String windowsLiveEndpoint)
Set the windows |
Wns |
withWnsCertificate(String wnsCertificate)
Set the wns |
String |
wnsCertificate()
Get the wns |
Methods inherited from java.lang.Object
Constructor Details
WnsCredential
public WnsCredential()
Creates an instance of WnsCredential class.
Method Details
certificateKey
public String certificateKey()
Get the certificateKey property: Ges or sets the WNS Certificate Key.
Returns:
packageSid
public String packageSid()
Get the packageSid property: Gets or sets the package ID for this credential.
Returns:
secretKey
public String secretKey()
Get the secretKey property: Gets or sets the secret key.
Returns:
validate
public void validate()
Validates the instance.
windowsLiveEndpoint
public String windowsLiveEndpoint()
Get the windowsLiveEndpoint property: Gets or sets the Windows Live endpoint.
Returns:
withCertificateKey
public WnsCredential withCertificateKey(String certificateKey)
Set the certificateKey property: Ges or sets the WNS Certificate Key.
Parameters:
Returns:
withPackageSid
public WnsCredential withPackageSid(String packageSid)
Set the packageSid property: Gets or sets the package ID for this credential.
Parameters:
Returns:
withSecretKey
public WnsCredential withSecretKey(String secretKey)
Set the secretKey property: Gets or sets the secret key.
Parameters:
Returns:
withWindowsLiveEndpoint
public WnsCredential withWindowsLiveEndpoint(String windowsLiveEndpoint)
Set the windowsLiveEndpoint property: Gets or sets the Windows Live endpoint.
Parameters:
Returns:
withWnsCertificate
public WnsCredential withWnsCertificate(String wnsCertificate)
Set the wnsCertificate property: Gets or sets the WNS Certificate.
Parameters:
Returns:
wnsCertificate
public String wnsCertificate()
Get the wnsCertificate property: Gets or sets the WNS Certificate.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for