public static class CreateRulesRequest.CreateRulesRequestRulesRuleActionsFixedResponseConfig
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
content
The content of the custom response.
|
String |
contentType
The format of the content.
|
String |
httpCode
The HTTP status code in the response.
|
| 构造器和说明 |
|---|
CreateRulesRequestRulesRuleActionsFixedResponseConfig() |
@NameInMap(value="Content") public String content
The content of the custom response. The content can be up to 1 KB in size and can contain only ASCII characters.
@NameInMap(value="ContentType") public String contentType
The format of the content. Valid values:
* **text/plain**
* **text/css**
* **text/html**
* **application/javascript**
* **application/json**
@NameInMap(value="HttpCode") public String httpCode
The HTTP status code in the response. Valid values: **HTTP_2xx**, **HTTP_4xx**, and **HTTP_5xx**. **x** must be a digit.
public CreateRulesRequestRulesRuleActionsFixedResponseConfig()
public static CreateRulesRequest.CreateRulesRequestRulesRuleActionsFixedResponseConfig build(Map<String,?> map) throws Exception
Exceptionpublic CreateRulesRequest.CreateRulesRequestRulesRuleActionsFixedResponseConfig setContent(String content)
public String getContent()
public CreateRulesRequest.CreateRulesRequestRulesRuleActionsFixedResponseConfig setContentType(String contentType)
public String getContentType()
public CreateRulesRequest.CreateRulesRequestRulesRuleActionsFixedResponseConfig setHttpCode(String httpCode)
public String getHttpCode()
Copyright © 2024. All rights reserved.