com.baidubce.services.bcc.model.image
Class RemoteCopyImageRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.bcc.model.image.RemoteCopyImageRequest

public class RemoteCopyImageRequest
extends AbstractBceRequest


Constructor Summary
RemoteCopyImageRequest()
           
 
Method Summary
 List<String> getDestRegion()
           
 String getImageId()
           
 String getName()
           
 void setDestRegion(List<String> destRegion)
           
 void setImageId(String imageId)
           
 void setName(String name)
           
 RemoteCopyImageRequest withDestRegion(List<String> destRegion)
          Configure imageId for the request.
 RemoteCopyImageRequest withImageId(String imageId)
          Configure imageId for the request.
 RemoteCopyImageRequest withname(String name)
          Configure name for the request.
 AbstractBceRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 
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

RemoteCopyImageRequest

public RemoteCopyImageRequest()
Method Detail

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.