public static final class ModifyLoginBaseConfigRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyLoginBaseConfigRequest |
build() |
ModifyLoginBaseConfigRequest.Builder |
config(String config)
The details of the configuration that is used to detect unusual logons to your servers.
|
ModifyLoginBaseConfigRequest.Builder |
target(String target)
The details of the server to which the configuration is applied.
|
ModifyLoginBaseConfigRequest.Builder |
type(String type)
The logon type of the configuration to modify.
|
public ModifyLoginBaseConfigRequest.Builder config(String config)
The details of the configuration that is used to detect unusual logons to your servers. The value of this parameter is in the JSON format and contains the following fields:
You must specify this field if the Type parameter is set to login_common_location.
You must specify this field if the Type parameter is set to login_common_ip.
You must specify this field if the Type parameter is set to login_common_time.
You must specify this field if the Type parameter is set to login_common_time.
You must specify this field if the Type parameter is set to login_common_account.
This parameter is required.
example:{"totalCount":174,"uuidCount":4,"location":"Montenegro","id":0}
public ModifyLoginBaseConfigRequest.Builder target(String target)
The details of the server to which the configuration is applied. The value of this parameter is in the JSON format and contains the following fields:
Target: the UUID of the server.
targetType: the type of the server to which the configuration is applied. Valid values:
flag: the operation that you want to perform on the server. Valid values:
This parameter is required.
example:[{"target":"inet-7c676676-06fa-442e-90fb-b802e5d6****","targetType":"uuid","flag":"add"}]
public ModifyLoginBaseConfigRequest.Builder type(String type)
The logon type of the configuration to modify. Valid values:
This parameter is required.
example:login_common_location
public ModifyLoginBaseConfigRequest build()
Copyright © 2026. All rights reserved.