public static final class GrantSwitchAgreementRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
GrantSwitchAgreementRequest |
build() |
GrantSwitchAgreementRequest.Builder |
isAgree(Boolean isAgree)
Indicates whether to agree to migrate the client connections from overseas servers to the Singapore center.
|
GrantSwitchAgreementRequest.Builder |
isConfirmed(Boolean isConfirmed)
Has the user confirmed the migration of Hong Kong region data to Singapore data center
true: The user has confirmed that Hong Kong region data has been migrated to the Singapore data center.
|
GrantSwitchAgreementRequest.Builder |
isImmediate(Boolean isImmediate)
Whether to schedule the migration of data from the Hong Kong region to the Singapore data center within 24 hours.
|
GrantSwitchAgreementRequest.Builder |
lang(String lang)
The language type for requests and responses.
|
GrantSwitchAgreementRequest.Builder |
type(String type)
Switching type.
|
public GrantSwitchAgreementRequest.Builder isAgree(Boolean isAgree)
Indicates whether to agree to migrate the client connections from overseas servers to the Singapore center.
example:true
public GrantSwitchAgreementRequest.Builder isConfirmed(Boolean isConfirmed)
Has the user confirmed the migration of Hong Kong region data to Singapore data center
true: The user has confirmed that Hong Kong region data has been migrated to the Singapore data center. No notification popup needs to be displayed subsequently.
false:The user has not confirmed that Hong Kong region data has been migrated to the Singapore data center. Notification popup still needs to be displayed subsequently.
true
public GrantSwitchAgreementRequest.Builder isImmediate(Boolean isImmediate)
Whether to schedule the migration of data from the Hong Kong region to the Singapore data center within 24 hours. Values:
true
public GrantSwitchAgreementRequest.Builder lang(String lang)
The language type for requests and responses. The default value is zh. Possible values:
zh
public GrantSwitchAgreementRequest.Builder type(String type)
Switching type. Possible values:
sg_switch
public GrantSwitchAgreementRequest build()
Copyright © 2026. All rights reserved.