public class LoginSettings extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
LoginSettings()  | 
LoginSettings(LoginSettings 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 | 
getKeepImageLogin()
Get 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围:TRUE:表示保持镜像的登录设置FALSE:表示不保持镜像的登录设置默认取值:FALSE。 
 | 
String[] | 
getKeyIds()
Get 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口DescribeKeyPairs获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。当前仅支持购买的时候指定一个密钥。 
 | 
String | 
getPassword()
Get 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下: 
Linux实例密码必须8到16位,至少包括两项[a-z,A-Z]、[0-9] 和 [( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , .  | 
void | 
setKeepImageLogin(String KeepImageLogin)
Set 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围:TRUE:表示保持镜像的登录设置FALSE:表示不保持镜像的登录设置默认取值:FALSE。 
 | 
void | 
setKeyIds(String[] KeyIds)
Set 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口DescribeKeyPairs获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。当前仅支持购买的时候指定一个密钥。 
 | 
void | 
setPassword(String Password)
Set 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下: 
Linux实例密码必须8到16位,至少包括两项[a-z,A-Z]、[0-9] 和 [( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , .  | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic LoginSettings()
public LoginSettings(LoginSettings source)
public String getPassword()
public void setPassword(String Password)
Password - 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:public String[] getKeyIds()
public void setKeyIds(String[] KeyIds)
KeyIds - 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口DescribeKeyPairs获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。当前仅支持购买的时候指定一个密钥。public String getKeepImageLogin()
public void setKeepImageLogin(String KeepImageLogin)
KeepImageLogin - 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围:Copyright © 2025. All rights reserved.