public class LoginSettings extends AbstractModel
Constructor and Description |
---|
LoginSettings() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getKeepImageLogin()
Get Keep the original settings for an image.
|
String[] |
getKeyIds()
Get List of key IDs.
|
String |
getPassword()
Get Login password of the instance.
|
void |
setKeepImageLogin(Boolean KeepImageLogin)
Set Keep the original settings for an image.
|
void |
setKeyIds(String[] KeyIds)
Set List of key IDs.
|
void |
setPassword(String Password)
Set Login password of the instance.
|
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 String getPassword()
public void setPassword(String Password)
Password
- Login password of the instance. The rule of password complexity varies by operating system: public String[] getKeyIds()
public void setKeyIds(String[] KeyIds)
KeyIds
- List of key IDs. An instance associated with the key can be accessed using the corresponding private key. KeyId can be obtained via the API DescribeKeyPairs. A key and a password cannot be specified at the same time, and specifying the key is not supported in Windows. You can specify only one key when purchasing an instance.public Boolean getKeepImageLogin()
public void setKeepImageLogin(Boolean KeepImageLogin)
KeepImageLogin
- Keep the original settings for an image. You cannot specify this parameter if Password or KeyIds.N is specified. You can specify this parameter to TRUE only when you create an instance using a custom image, shared image, or image imported from external resources. Value range: Copyright © 2020. All rights reserved.