类 RegisterDocumentRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.doc.model.RegisterDocumentRequest
-
public class RegisterDocumentRequest extends AbstractBceRequest
RegisterDocumentRequest class used to register document request send to API server.
-
-
构造器概要
构造器 构造器 说明 RegisterDocumentRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetAccess()get document accessStringgetFormat()get document formatStringgetNotification()get document notificationStringgetTargetType()get document target typeStringgetTitle()get document titlevoidsetAccess(String access)get document accessvoidsetFormat(String format)get document formatvoidsetNotification(String notification)get document notificationvoidsetTargetType(String targetType)get document target typevoidsetTitle(String title)get document titleRegisterDocumentRequestwithRequestCredentials(BceCredentials credentials)set request credentials-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
withRequestCredentials
public RegisterDocumentRequest withRequestCredentials(BceCredentials credentials)
set request credentials- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- request credential.
-
getFormat
public String getFormat()
get document format- 返回:
- the document format
-
setFormat
public void setFormat(String format)
get document format- 参数:
format- the document format
-
getNotification
public String getNotification()
get document notification- 返回:
- the document notification
-
setNotification
public void setNotification(String notification)
get document notification- 参数:
notification- the document notification
-
getTitle
public String getTitle()
get document title- 返回:
- the document title
-
setTitle
public void setTitle(String title)
get document title- 参数:
title- the document title
-
getAccess
public String getAccess()
get document access- 返回:
- the document access
-
setAccess
public void setAccess(String access)
get document access- 参数:
access- the document access
-
getTargetType
public String getTargetType()
get document target type- 返回:
- the document target type
-
setTargetType
public void setTargetType(String targetType)
get document target type- 参数:
targetType- the document target type
-
-