com.baidubce.services.bcc.model.image
Class RemoteCopyImageRequest
java.lang.Object
com.baidubce.model.AbstractBceRequest
com.baidubce.services.bcc.model.image.RemoteCopyImageRequest
public class RemoteCopyImageRequest
- extends AbstractBceRequest
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteCopyImageRequest
public RemoteCopyImageRequest()
getImageId
public String getImageId()
setImageId
public void setImageId(String imageId)
getName
public String getName()
setName
public void setName(String name)
getDestRegion
public List<String> getDestRegion()
setDestRegion
public void setDestRegion(List<String> destRegion)
withImageId
public RemoteCopyImageRequest withImageId(String imageId)
- Configure imageId for the request.
- Parameters:
imageId - The id of image.
- Returns:
- RemoteCopyImageRequest with imageId.
withname
public RemoteCopyImageRequest withname(String name)
- Configure name for the request.
- Parameters:
name - The name of image.
- Returns:
- RemoteCopyImageRequest with name.
withDestRegion
public RemoteCopyImageRequest withDestRegion(List<String> destRegion)
- Configure imageId for the request.
- Parameters:
destRegion - The id of destRegion.
- Returns:
- RemoteCopyImageRequest with destRegion.
withRequestCredentials
public AbstractBceRequest withRequestCredentials(BceCredentials credentials)
- Configure request credential for the request.
- Specified by:
withRequestCredentials in class AbstractBceRequest
- Parameters:
credentials - a valid instance of BceCredentials.
- Returns:
- RemoteCopyImageRequest with credentials.
Copyright © 2020. All rights reserved.