|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.model.AbstractBceRequest
com.baidubce.services.bcc.model.instance.RebuildBatchInstanceRequest
public class RebuildBatchInstanceRequest
The request for rebuilding the instance, you adminPass is needed.
| Constructor Summary | |
|---|---|
RebuildBatchInstanceRequest()
|
|
| Method Summary | |
|---|---|
String |
getAdminPass()
|
String |
getImageId()
|
List<String> |
getInstanceIds()
|
String |
getKeypairId()
|
void |
setAdminPass(String adminPass)
|
void |
setImageId(String imageId)
|
void |
setInstanceId(List<String> instanceIds)
|
void |
setKeypairId(String keypairId)
|
RebuildBatchInstanceRequest |
withAdminPass(String adminPass)
Configure adminPass for the request. |
RebuildBatchInstanceRequest |
withImageId(String imageId)
Configure imageId for the request. |
RebuildBatchInstanceRequest |
withInstanceIds(List<String> instanceIds)
Configure instanceIds for the request. |
RebuildBatchInstanceRequest |
withKeypairId(String keypairId)
Configure keypairId for the request. |
RebuildBatchInstanceRequest |
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 |
|---|
public RebuildBatchInstanceRequest()
| Method Detail |
|---|
public List<String> getInstanceIds()
public void setInstanceId(List<String> instanceIds)
public RebuildBatchInstanceRequest withInstanceIds(List<String> instanceIds)
instanceIds - 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 RebuildBatchInstanceRequest 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 doc
public RebuildBatchInstanceRequest 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 RebuildBatchInstanceRequest withKeypairId(String keypairId)
keypairId - The id of the keypair which will be used to rebuild the instance.
public RebuildBatchInstanceRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestcredentials - a valid instance of BceCredentials.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||