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)
* **totalCount**: the total number of servers. * **uuidCount**: the number of servers to which the configuration is applied. * **id**: the ID of the configuration. * **location**: the common logon location. > You must specify this field if the Type parameter is set to login_common_location. * **ip**: the common logon IP address. > You must specify this field if the Type parameter is set to login_common_ip. * **endTime**: the end time of the common logon time range. > You must specify this field if the Type parameter is set to login_common_time. * **startTime**: the start time of the common logon time range. > You must specify this field if the Type parameter is set to login_common_time. * **account**: the common logon account. > You must specify this field if the Type parameter is set to login_common_account.
public ModifyLoginBaseConfigRequest.Builder target(String target)
* **Target**: the UUID of the server. * **targetType**: the type of the server to which the configuration is applied. Valid values: * **uuid**: a server * **groupId**: a server group * **flag**: the operation that you want to perform on the server. Valid values: * **del**: removes the server from the configuration. * **add**: adds the server to the configuration.
public ModifyLoginBaseConfigRequest.Builder type(String type)
* **login\_common_location**: common logon location * **login\_common_ip**: common logon IP address * **login\_common_time**: common logon time range * **login\_common_account**: common logon account
public ModifyLoginBaseConfigRequest build()
Copyright © 2023. All rights reserved.