GcmCredential Class
- java.
lang. Object - com.
azure. resourcemanager. notificationhubs. models. GcmCredential
- com.
public final class GcmCredential
Description of a NotificationHub GcmCredential.
Constructor Summary
Constructor | Description |
---|---|
GcmCredential() |
Creates an instance of Gcm |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
gcmEndpoint()
Get the gcm |
String |
googleApiKey()
Get the google |
void |
validate()
Validates the instance. |
Gcm |
withGcmEndpoint(String gcmEndpoint)
Set the gcm |
Gcm |
withGoogleApiKey(String googleApiKey)
Set the google |
Methods inherited from java.lang.Object
Constructor Details
GcmCredential
public GcmCredential()
Creates an instance of GcmCredential class.
Method Details
gcmEndpoint
public String gcmEndpoint()
Get the gcmEndpoint property: Gets or sets the GCM endpoint.
Returns:
googleApiKey
public String googleApiKey()
Get the googleApiKey property: Gets or sets the Google API key.
Returns:
validate
public void validate()
Validates the instance.
withGcmEndpoint
public GcmCredential withGcmEndpoint(String gcmEndpoint)
Set the gcmEndpoint property: Gets or sets the GCM endpoint.
Parameters:
Returns:
withGoogleApiKey
public GcmCredential withGoogleApiKey(String googleApiKey)
Set the googleApiKey property: Gets or sets the Google API 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