GcmCredential Class

  • java.lang.Object
    • com.azure.resourcemanager.notificationhubs.models.GcmCredential

public final class GcmCredential

Description of a NotificationHub GcmCredential.

Constructor Summary

Constructor Description
GcmCredential()

Creates an instance of GcmCredential class.

Method Summary

Modifier and Type Method and Description
String gcmEndpoint()

Get the gcmEndpoint property: Gets or sets the GCM endpoint.

String googleApiKey()

Get the googleApiKey property: Gets or sets the Google API key.

void validate()

Validates the instance.

GcmCredential withGcmEndpoint(String gcmEndpoint)

Set the gcmEndpoint property: Gets or sets the GCM endpoint.

GcmCredential withGoogleApiKey(String googleApiKey)

Set the googleApiKey property: Gets or sets the Google API key.

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:

the gcmEndpoint value.

googleApiKey

public String googleApiKey()

Get the googleApiKey property: Gets or sets the Google API key.

Returns:

the googleApiKey value.

validate

public void validate()

Validates the instance.

withGcmEndpoint

public GcmCredential withGcmEndpoint(String gcmEndpoint)

Set the gcmEndpoint property: Gets or sets the GCM endpoint.

Parameters:

gcmEndpoint - the gcmEndpoint value to set.

Returns:

the GcmCredential object itself.

withGoogleApiKey

public GcmCredential withGoogleApiKey(String googleApiKey)

Set the googleApiKey property: Gets or sets the Google API key.

Parameters:

googleApiKey - the googleApiKey value to set.

Returns:

the GcmCredential object itself.

Applies to