FcmV1Credential Class

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

public final class FcmV1Credential

Description of a NotificationHub FcmV1Credential.

Constructor Summary

Constructor Description
FcmV1Credential()

Creates an instance of FcmV1Credential class.

Method Summary

Modifier and Type Method and Description
String clientEmail()

Get the clientEmail property: Gets or sets client email.

String privateKey()

Get the privateKey property: Gets or sets private key.

String projectId()

Get the projectId property: Gets or sets project id.

void validate()

Validates the instance.

FcmV1Credential withClientEmail(String clientEmail)

Set the clientEmail property: Gets or sets client email.

FcmV1Credential withPrivateKey(String privateKey)

Set the privateKey property: Gets or sets private key.

FcmV1Credential withProjectId(String projectId)

Set the projectId property: Gets or sets project id.

Methods inherited from java.lang.Object

Constructor Details

FcmV1Credential

public FcmV1Credential()

Creates an instance of FcmV1Credential class.

Method Details

clientEmail

public String clientEmail()

Get the clientEmail property: Gets or sets client email.

Returns:

the clientEmail value.

privateKey

public String privateKey()

Get the privateKey property: Gets or sets private key.

Returns:

the privateKey value.

projectId

public String projectId()

Get the projectId property: Gets or sets project id.

Returns:

the projectId value.

validate

public void validate()

Validates the instance.

withClientEmail

public FcmV1Credential withClientEmail(String clientEmail)

Set the clientEmail property: Gets or sets client email.

Parameters:

clientEmail - the clientEmail value to set.

Returns:

the FcmV1Credential object itself.

withPrivateKey

public FcmV1Credential withPrivateKey(String privateKey)

Set the privateKey property: Gets or sets private key.

Parameters:

privateKey - the privateKey value to set.

Returns:

the FcmV1Credential object itself.

withProjectId

public FcmV1Credential withProjectId(String projectId)

Set the projectId property: Gets or sets project id.

Parameters:

projectId - the projectId value to set.

Returns:

the FcmV1Credential object itself.

Applies to