public class RebuildInstanceRequest extends AbstractBceRequest
| Constructor and Description |
|---|
RebuildInstanceRequest() |
getRequestCredentials, setRequestCredentialspublic String getUserData()
public void setUserData(String userData)
public Boolean getCleanLastUserData()
public void setCleanLastUserData(Boolean cleanLastUserData)
public String getInstanceId()
public void setInstanceId(String instanceId)
public RebuildInstanceRequest withInstanceId(String instanceId)
instanceId - The id of the instance which will be rebuild.public String getImageId()
public void setImageId(String imageId)
public String getAdminPass()
public void setAdminPass(String adminPass)
public RebuildInstanceRequest withAdminPass(String adminPass)
adminPass - The admin password to login the instance.It must be encrypt in AES-128 algorithm
with the substring of the former 16 characters of user SecretKey.See more detail on
BCE API docpublic RebuildInstanceRequest withImageId(String imageId)
imageId - The id of the image which will be used to rebuild the instance.public String getKeypairId()
public void setKeypairId(String keypairId)
public boolean isKeepImageLogin()
public void setKeepImageLogin(boolean keepImageLogin)
public RebuildInstanceRequest withKeypairId(String keypairId)
keypairId - The id of the keypair which will be used to rebuild the instance.public RebuildInstanceRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestcredentials - a valid instance of BceCredentials.public RebuildInstanceRequest withKeepImageLogin(boolean keepImageLogin)
Copyright © 2025. All rights reserved.