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