public static final class CreateSyntheticTaskRequest.RequestContentBody.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
CreateSyntheticTaskRequest.RequestContentBody |
build() |
CreateSyntheticTaskRequest.RequestContentBody.Builder |
formData(List<CreateSyntheticTaskRequest.FormData> formData)
The data that is passed when the **Mode** parameter is set to **form-data**.
|
CreateSyntheticTaskRequest.RequestContentBody.Builder |
language(String language)
The language that is selected when the Mode parameter is set to raw.
|
CreateSyntheticTaskRequest.RequestContentBody.Builder |
mode(String mode)
The data type of the content.
|
CreateSyntheticTaskRequest.RequestContentBody.Builder |
raw(String raw)
The data that is passed when the **Mode** parameter is set to **raw**.
|
CreateSyntheticTaskRequest.RequestContentBody.Builder |
urlEncoding(List<CreateSyntheticTaskRequest.UrlEncoding> urlEncoding)
The data that is passed when the **Mode** parameter is set to **x-www-form-urlencoded**.
|
public CreateSyntheticTaskRequest.RequestContentBody.Builder formData(List<CreateSyntheticTaskRequest.FormData> formData)
public CreateSyntheticTaskRequest.RequestContentBody.Builder language(String language)
* json * xml * javascript * html * text
public CreateSyntheticTaskRequest.RequestContentBody.Builder mode(String mode)
* form-data * x-www-form-urlencoded * raw
public CreateSyntheticTaskRequest.RequestContentBody.Builder raw(String raw)
public CreateSyntheticTaskRequest.RequestContentBody.Builder urlEncoding(List<CreateSyntheticTaskRequest.UrlEncoding> urlEncoding)
public CreateSyntheticTaskRequest.RequestContentBody build()
Copyright © 2024. All rights reserved.