public class NotificationUpdateRequest extends NotificationBaseRequest
| Constructor and Description |
|---|
NotificationUpdateRequest() |
| Modifier and Type | Method and Description |
|---|---|
AuthType |
getAuthType() |
String |
getEndpoint() |
String |
getToken() |
static NotificationUpdateRequest |
of(String name,
String endpoint)
Construct a update request with specified parameters.
|
static NotificationUpdateRequest |
of(String name,
String endpoint,
String token,
AuthType authType) |
void |
setAuthType(AuthType authType) |
void |
setEndpoint(String endpoint) |
void |
setToken(String token) |
NotificationUpdateRequest |
withRequestCredentials(BceCredentials credentials) |
getName, of, setNamegetRequestCredentials, setRequestCredentialspublic static NotificationUpdateRequest of(String name, String endpoint)
name - The notification nameendpoint - The notification endpointpublic static NotificationUpdateRequest of(String name, String endpoint, String token, AuthType authType)
public NotificationUpdateRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class NotificationBaseRequestpublic String getEndpoint()
public void setEndpoint(String endpoint)
public String getToken()
public void setToken(String token)
public AuthType getAuthType()
public void setAuthType(AuthType authType)
Copyright © 2020. All rights reserved.