public class ResetInstancesPasswordRequest extends AbstractModel
Constructor and Description |
---|
ResetInstancesPasswordRequest() |
ResetInstancesPasswordRequest(ResetInstancesPasswordRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getInstanceIds()
Get Instance ID list.
|
String |
getPassword()
Get Login password of the instance(s).
|
String |
getUserName()
Get OS username of the instance for which you want to reset the password, which can contain up to 64 characters.
|
void |
setInstanceIds(String[] InstanceIds)
Set Instance ID list.
|
void |
setPassword(String Password)
Set Login password of the instance(s).
|
void |
setUserName(String UserName)
Set OS username of the instance for which you want to reset the password, which can contain up to 64 characters.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ResetInstancesPasswordRequest()
public ResetInstancesPasswordRequest(ResetInstancesPasswordRequest source)
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Instance ID list. Each request can contain up to 100 instances at a time.public String getPassword()
public void setPassword(String Password)
Password
- Login password of the instance(s). The password requirements vary among different operating systems:
The password of a `LINUX_UNIX` instance must contain 8–30 characters (above 12 characters preferably) in at least three of the following types and cannot begin with "/": public String getUserName()
public void setUserName(String UserName)
UserName
- OS username of the instance for which you want to reset the password, which can contain up to 64 characters.Copyright © 2023. All rights reserved.