XiaomiCredential Class
- java.
lang. Object - com.
azure. resourcemanager. notificationhubs. models. XiaomiCredential
- com.
public final class XiaomiCredential
Description of a NotificationHub XiaomiCredential.
Constructor Summary
Constructor | Description |
---|---|
XiaomiCredential() |
Creates an instance of Xiaomi |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
appSecret()
Get the app |
String |
endpoint()
Get the endpoint property: Gets or sets xiaomi service endpoint. |
void |
validate()
Validates the instance. |
Xiaomi |
withAppSecret(String appSecret)
Set the app |
Xiaomi |
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:
endpoint
public String endpoint()
Get the endpoint property: Gets or sets xiaomi service endpoint.
Returns:
validate
public void validate()
Validates the instance.
withAppSecret
public XiaomiCredential withAppSecret(String appSecret)
Set the appSecret property: Gets or sets app secret.
Parameters:
Returns:
withEndpoint
public XiaomiCredential withEndpoint(String endpoint)
Set the endpoint property: Gets or sets xiaomi service endpoint.
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