BrowserCredential Class
- java.
lang. Object - com.
azure. resourcemanager. notificationhubs. models. BrowserCredential
- com.
public final class BrowserCredential
Description of a NotificationHub BrowserCredential.
Constructor Summary
Constructor | Description |
---|---|
BrowserCredential() |
Creates an instance of Browser |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
subject()
Get the subject property: Gets or sets web push subject. |
void |
validate()
Validates the instance. |
String |
vapidPrivateKey()
Get the vapid |
String |
vapidPublicKey()
Get the vapid |
Browser |
withSubject(String subject)
Set the subject property: Gets or sets web push subject. |
Browser |
withVapidPrivateKey(String vapidPrivateKey)
Set the vapid |
Browser |
withVapidPublicKey(String vapidPublicKey)
Set the vapid |
Methods inherited from java.lang.Object
Constructor Details
BrowserCredential
public BrowserCredential()
Creates an instance of BrowserCredential class.
Method Details
subject
public String subject()
Get the subject property: Gets or sets web push subject.
Returns:
validate
public void validate()
Validates the instance.
vapidPrivateKey
public String vapidPrivateKey()
Get the vapidPrivateKey property: Gets or sets VAPID private key.
Returns:
vapidPublicKey
public String vapidPublicKey()
Get the vapidPublicKey property: Gets or sets VAPID public key.
Returns:
withSubject
public BrowserCredential withSubject(String subject)
Set the subject property: Gets or sets web push subject.
Parameters:
Returns:
withVapidPrivateKey
public BrowserCredential withVapidPrivateKey(String vapidPrivateKey)
Set the vapidPrivateKey property: Gets or sets VAPID private key.
Parameters:
Returns:
withVapidPublicKey
public BrowserCredential withVapidPublicKey(String vapidPublicKey)
Set the vapidPublicKey property: Gets or sets VAPID public key.
Parameters:
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