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

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

public class UnShareImageRequest
extends AbstractBceRequest

The request for unshare image.


Constructor Summary
UnShareImageRequest()
           
 
Method Summary
 String getAccount()
           
 String getAccountId()
           
 String getImageId()
           
 String getUcAccount()
           
 void setAccount(String account)
           
 void setAccountId(String accountId)
           
 void setImageId(String imageId)
           
 void setUcAccount(String ucAccount)
           
 UnShareImageRequest withAccount(String account)
          Configure account for the request.
 UnShareImageRequest withAccountId(String accountId)
          Configure accountId for the request.
 UnShareImageRequest withImageId(String imageId)
          Configure imageId for the request.
 UnShareImageRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 UnShareImageRequest withUcAccount(String ucAccount)
          Configure ucAccount 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

UnShareImageRequest

public UnShareImageRequest()
Method Detail

getImageId

public String getImageId()

setImageId

public void setImageId(String imageId)

getAccount

public String getAccount()

setAccount

public void setAccount(String account)

getAccountId

public String getAccountId()

setAccountId

public void setAccountId(String accountId)

getUcAccount

public String getUcAccount()

setUcAccount

public void setUcAccount(String ucAccount)

withImageId

public UnShareImageRequest withImageId(String imageId)
Configure imageId for the request.

Parameters:
imageId - The id of image.
Returns:
ShareImageRequest with imageId.

withAccount

public UnShareImageRequest withAccount(String account)
Configure account for the request.

Parameters:
account - The id of image.
Returns:
ShareImageRequest with account.

withAccountId

public UnShareImageRequest withAccountId(String accountId)
Configure accountId for the request.

Parameters:
accountId - The id of image.
Returns:
ShareImageRequest with accountId.

withUcAccount

public UnShareImageRequest withUcAccount(String ucAccount)
Configure ucAccount for the request.

Parameters:
ucAccount - The account of uc.
Returns:
ShareImageRequest with ucAccount.

withRequestCredentials

public UnShareImageRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.

Specified by:
withRequestCredentials in class AbstractBceRequest
Parameters:
credentials - a valid instance of BceCredentials.
Returns:
ShareImageRequest with credentials.


Copyright © 2020. All rights reserved.