类 RemoteCopyImageRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.bcc.model.image.RemoteCopyImageRequest
-
public class RemoteCopyImageRequest extends AbstractBceRequest
-
-
构造器概要
构造器 构造器 说明 RemoteCopyImageRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<String>getDestRegion()StringgetImageId()StringgetName()voidsetDestRegion(List<String> destRegion)voidsetImageId(String imageId)voidsetName(String name)RemoteCopyImageRequestwithDestRegion(List<String> destRegion)Configure imageId for the request.RemoteCopyImageRequestwithImageId(String imageId)Configure imageId for the request.RemoteCopyImageRequestwithname(String name)Configure name for the request.AbstractBceRequestwithRequestCredentials(BceCredentials credentials)Configure request credential for the request.-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
getImageId
public String getImageId()
-
setImageId
public void setImageId(String imageId)
-
getName
public String getName()
-
setName
public void setName(String name)
-
withImageId
public RemoteCopyImageRequest withImageId(String imageId)
Configure imageId for the request.- 参数:
imageId- The id of image.- 返回:
- RemoteCopyImageRequest with imageId.
-
withname
public RemoteCopyImageRequest withname(String name)
Configure name for the request.- 参数:
name- The name of image.- 返回:
- RemoteCopyImageRequest with name.
-
withDestRegion
public RemoteCopyImageRequest withDestRegion(List<String> destRegion)
Configure imageId for the request.- 参数:
destRegion- The id of destRegion.- 返回:
- RemoteCopyImageRequest with destRegion.
-
withRequestCredentials
public AbstractBceRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- a valid instance of BceCredentials.- 返回:
- RemoteCopyImageRequest with credentials.
-
-