com.baidubce.services.bvw.model.notification
Class NotificationCreateRequest
java.lang.Object
com.baidubce.model.AbstractBceRequest
com.baidubce.services.bvw.model.notification.NotificationBaseRequest
com.baidubce.services.bvw.model.notification.NotificationCreateRequest
public class NotificationCreateRequest
- extends NotificationBaseRequest
Create notification request.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotificationCreateRequest
public NotificationCreateRequest()
of
public static NotificationCreateRequest of(String name,
String endpoint)
- Construct a creating notification request with specified parameters.
- Parameters:
name - The notification nameendpoint - The notification endpoint
- Returns:
- A creating notification request
of
public static NotificationCreateRequest of(String name,
String endpoint,
String token,
AuthType authType)
withRequestCredentials
public NotificationCreateRequest withRequestCredentials(BceCredentials credentials)
- Overrides:
withRequestCredentials in class NotificationBaseRequest
getEndpoint
public String getEndpoint()
setEndpoint
public void setEndpoint(String endpoint)
getToken
public String getToken()
setToken
public void setToken(String token)
getAuthType
public AuthType getAuthType()
setAuthType
public void setAuthType(AuthType authType)
Copyright © 2020. All rights reserved.