类 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.
-
-
构造器概要
构造器 构造器 说明 NotificationCreateRequest()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 AuthTypegetAuthType()StringgetEndpoint()StringgetToken()static NotificationCreateRequestof(String name, String endpoint)Construct a creating notification request with specified parameters.static NotificationCreateRequestof(String name, String endpoint, String token, AuthType authType)voidsetAuthType(AuthType authType)voidsetEndpoint(String endpoint)voidsetToken(String token)NotificationCreateRequestwithRequestCredentials(BceCredentials credentials)-
从类继承的方法 com.baidubce.services.bvw.model.notification.NotificationBaseRequest
getName, of, setName
-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
of
public static NotificationCreateRequest of(String name, String endpoint)
Construct a creating notification request with specified parameters.- 参数:
name- The notification nameendpoint- The notification endpoint- 返回:
- A creating notification request
-
of
public static NotificationCreateRequest of(String name, String endpoint, String token, AuthType authType)
-
withRequestCredentials
public NotificationCreateRequest withRequestCredentials(BceCredentials credentials)
-
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)
-
-