PageProps
Properties for defining a Page.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-page
Initializer
import com.aliyun.ros.cdk.esa.PageProps;
PageProps.builder()
.contentType(java.lang.String)
.contentType(IResolvable)
.pageName(java.lang.String)
.pageName(IResolvable)
// .content(java.lang.String)
// .content(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
contentType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property contentType: The Content-Type field in the HTTP header. |
pageName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property pageName: The name of the custom response page. |
content | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property content: The Base64-encoded page content. |
description | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property description: The description of the page. |
contentTypeRequired
public java.lang.Object getContentType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property contentType: The Content-Type field in the HTTP header.
Valid values: text/html application/json
pageNameRequired
public java.lang.Object getPageName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property pageName: The name of the custom response page.
contentOptional
public java.lang.Object getContent();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property content: The Base64-encoded page content.
Example: "PGh0bWw+aGVsbG8gcGFnZTwvaHRtbD4=", which indicates "hello page".
descriptionOptional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the page.