XiaomiCredential Class

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

public final class XiaomiCredential

Description of a NotificationHub XiaomiCredential.

Constructor Summary

Constructor Description
XiaomiCredential()

Creates an instance of XiaomiCredential class.

Method Summary

Modifier and Type Method and Description
String appSecret()

Get the appSecret property: Gets or sets app secret.

String endpoint()

Get the endpoint property: Gets or sets xiaomi service endpoint.

void validate()

Validates the instance.

XiaomiCredential withAppSecret(String appSecret)

Set the appSecret property: Gets or sets app secret.

XiaomiCredential withEndpoint(String endpoint)

Set the endpoint property: Gets or sets xiaomi service endpoint.

Methods inherited from java.lang.Object

Constructor Details

XiaomiCredential

public XiaomiCredential()

Creates an instance of XiaomiCredential class.

Method Details

appSecret

public String appSecret()

Get the appSecret property: Gets or sets app secret.

Returns:

the appSecret value.

endpoint

public String endpoint()

Get the endpoint property: Gets or sets xiaomi service endpoint.

Returns:

the endpoint value.

validate

public void validate()

Validates the instance.

withAppSecret

public XiaomiCredential withAppSecret(String appSecret)

Set the appSecret property: Gets or sets app secret.

Parameters:

appSecret - the appSecret value to set.

Returns:

the XiaomiCredential object itself.

withEndpoint

public XiaomiCredential withEndpoint(String endpoint)

Set the endpoint property: Gets or sets xiaomi service endpoint.

Parameters:

endpoint - the endpoint value to set.

Returns:

the XiaomiCredential object itself.

Applies to