com.baidubce.services.bvw.model.notification
Class NotificationUpdateRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.bvw.model.notification.NotificationBaseRequest
          extended by com.baidubce.services.bvw.model.notification.NotificationUpdateRequest

public class NotificationUpdateRequest
extends NotificationBaseRequest

Update notification request.


Constructor Summary
NotificationUpdateRequest()
           
 
Method Summary
 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)
           
 
Methods inherited from class com.baidubce.services.bvw.model.notification.NotificationBaseRequest
getName, of, setName
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationUpdateRequest

public NotificationUpdateRequest()
Method Detail

of

public static NotificationUpdateRequest of(String name,
                                           String endpoint)
Construct a update request with specified parameters.

Parameters:
name - The notification name
endpoint - The notification endpoint
Returns:
A updating notification request

of

public static NotificationUpdateRequest of(String name,
                                           String endpoint,
                                           String token,
                                           AuthType authType)

withRequestCredentials

public NotificationUpdateRequest 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.