public class ShareImageRequest extends AbstractBceRequest
| Constructor and Description |
|---|
ShareImageRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccount() |
String |
getAccountId() |
String |
getImageId() |
String |
getUcAccount() |
void |
setAccount(String account) |
void |
setAccountId(String accountId) |
void |
setImageId(String imageId) |
void |
setUcAccount(String ucAccount) |
ShareImageRequest |
withAccount(String account)
Configure account for the request.
|
ShareImageRequest |
withAccountId(String accountId)
Configure accountId for the request.
|
ShareImageRequest |
withImageId(String imageId)
Configure imageId for the request.
|
ShareImageRequest |
withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.
|
ShareImageRequest |
withUcAccount(String ucAccount)
Configure ucAccount for the request.
|
getRequestCredentials, setRequestCredentialspublic String getImageId()
public void setImageId(String imageId)
public String getAccount()
public void setAccount(String account)
public String getAccountId()
public void setAccountId(String accountId)
public String getUcAccount()
public void setUcAccount(String ucAccount)
public ShareImageRequest withImageId(String imageId)
imageId - The id of image.public ShareImageRequest withAccount(String account)
account - The id of image.public ShareImageRequest withAccountId(String accountId)
accountId - The id of image.public ShareImageRequest withUcAccount(String ucAccount)
ucAccount - The account of uc.public ShareImageRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestcredentials - a valid instance of BceCredentials.Copyright © 2022. All rights reserved.