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