类 ModifyCdsAttrRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.bcc.model.volume.ModifyCdsAttrRequest
-
public class ModifyCdsAttrRequest extends AbstractBceRequest
the request for changing cds's attribute
-
-
构造器概要
构造器 构造器 说明 ModifyCdsAttrRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetCdsId()StringgetCdsName()StringgetDesc()voidsetCdsId(String cdsId)voidsetCdsName(String cdsName)voidsetDesc(String desc)StringtoString()ModifyCdsAttrRequestwithCdsId(String cdsId)configure cds's id for the requestModifyCdsAttrRequestwithCdsName(String cdsName)configure cds's name for the requestModifyCdsAttrRequestwithDesc(String desc)configure cds's description for the requestAbstractBceRequestwithRequestCredentials(BceCredentials credentials)Configure request credential for the request.-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
withCdsId
public ModifyCdsAttrRequest withCdsId(String cdsId)
configure cds's id for the request- 参数:
cdsId- String cds's id- 返回:
- ModifyCdsAttrRequest
-
withCdsName
public ModifyCdsAttrRequest withCdsName(String cdsName)
configure cds's name for the request- 参数:
cdsName- String- 返回:
- ModifyCdsAttrRequest
-
withDesc
public ModifyCdsAttrRequest withDesc(String desc)
configure cds's description for the request- 参数:
desc- String- 返回:
- ModifyCdsAttrRequest
-
getCdsName
public String getCdsName()
-
setCdsName
public void setCdsName(String cdsName)
-
getDesc
public String getDesc()
-
setDesc
public void setDesc(String desc)
-
getCdsId
public String getCdsId()
-
setCdsId
public void setCdsId(String cdsId)
-
withRequestCredentials
public AbstractBceRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- a valid instance of BceCredentials.- 返回:
- ModifyCdsAttrRequest with credentials.
-
-