public class LoginSettings extends AbstractModel
Constructor and Description |
---|
LoginSettings() |
Modifier and Type | Method and Description |
---|---|
String |
getKeepImageLogin()
Get Whether to keep the original settings of an image.
|
String[] |
getKeyIds()
Get List of key IDs.
|
String |
getPassword()
Get Login password of the instance.
|
void |
setKeepImageLogin(String KeepImageLogin)
Set Whether to keep the original settings of 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 password requirements vary among different operating systems: public String[] getKeyIds()
public void setKeyIds(String[] KeyIds)
KeyIds
- List of key IDs. After an instance is associated with a key, you can access the instance with the private key in the key pair. You can call [`DescribeKeyPairs`](https://intl.cloud.tencent.com/document/api/213/15699?from_cn_redirect=1) to obtain `KeyId`. A key and password cannot be specified at the same time. Windows instances do not support keys. Currently, you can only specify one key when purchasing an instance.
Note: this field may return null, indicating that no valid value is obtained.public String getKeepImageLogin()
public void setKeepImageLogin(String KeepImageLogin)
KeepImageLogin
- Whether to keep the original settings of an image. You cannot specify this parameter and `Password` or `KeyIds.N` at the same time. You can specify this parameter as `TRUE` only when you create an instance using a custom image, a shared image, or an imported image. Valid values: Copyright © 2020. All rights reserved.