public static final class EnableResourceDirectoryRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
EnableResourceDirectoryRequest |
build() |
EnableResourceDirectoryRequest.Builder |
enableMode(String enableMode)
The mode in which you enable a resource directory.
|
EnableResourceDirectoryRequest.Builder |
MAName(String MAName)
The name of the newly created account.
|
EnableResourceDirectoryRequest.Builder |
MASecureMobilePhone(String MASecureMobilePhone)
The mobile phone number that is bound to the newly created account.
|
EnableResourceDirectoryRequest.Builder |
verificationCode(String verificationCode)
The verification code.
|
public EnableResourceDirectoryRequest.Builder enableMode(String enableMode)
* CurrentAccount: indicates that the current account is used to enable a resource directory. * NewManagementAccount: indicates that a newly created account is used to enable a resource directory. If you select this mode, you must configure the `MAName`, `MASecureMobilePhone`, and `VerificationCode` parameters.
public EnableResourceDirectoryRequest.Builder MAName(String MAName)
Specify the name in the `
public EnableResourceDirectoryRequest.Builder MASecureMobilePhone(String MASecureMobilePhone)
If you leave this parameter empty, the mobile phone number that is bound to the current account is used. The mobile phone number you specify must be the same as the mobile phone number that you specify when you call the [SendVerificationCodeForEnableRD](~~364248~~) operation to obtain a verification code.
Specify the mobile phone number in the `
public EnableResourceDirectoryRequest.Builder verificationCode(String verificationCode)
You can call the [SendVerificationCodeForEnableRD](~~364248~~) operation to obtain the verification code.
public EnableResourceDirectoryRequest build()
Copyright © 2023. All rights reserved.