public static class UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleActionsFixedResponseConfig
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
content
The content of the custom response.
|
String |
contentType
The format of the response.
|
String |
httpCode
The HTTP status code in the response.
|
| 构造器和说明 |
|---|
UpdateRulesAttributeRequestRulesRuleActionsFixedResponseConfig() |
@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 response.
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 UpdateRulesAttributeRequestRulesRuleActionsFixedResponseConfig()
public static UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleActionsFixedResponseConfig build(Map<String,?> map) throws Exception
Exceptionpublic UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleActionsFixedResponseConfig setContent(String content)
public String getContent()
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleActionsFixedResponseConfig setContentType(String contentType)
public String getContentType()
public UpdateRulesAttributeRequest.UpdateRulesAttributeRequestRulesRuleActionsFixedResponseConfig setHttpCode(String httpCode)
public String getHttpCode()
Copyright © 2024. All rights reserved.