ImageTransformProps
Properties for defining a ImageTransform.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-imagetransform
Initializer
import com.aliyun.ros.cdk.esa.ImageTransformProps;
ImageTransformProps.builder()
.siteId(java.lang.Number)
.siteId(IResolvable)
// .enable(java.lang.String)
// .enable(IResolvable)
// .paymentType(java.lang.String)
// .paymentType(IResolvable)
// .rule(java.lang.String)
// .rule(IResolvable)
// .ruleEnable(java.lang.String)
// .ruleEnable(IResolvable)
// .ruleName(java.lang.String)
// .ruleName(IResolvable)
// .sequence(java.lang.Number)
// .sequence(IResolvable)
// .siteVersion(java.lang.Number)
// .siteVersion(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
siteId | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property siteId: The site ID, which can be obtained by calling the ListSites API. |
enable | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property enable: Indicates whether the image transformations feature is enabled. |
paymentType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property paymentType: Payment Type. |
rule | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property rule: Rule content, using conditional expressions to match user requests. |
ruleEnable | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property ruleEnable: Rule switch. |
ruleName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property ruleName: Rule name. |
sequence | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property sequence: Order of rule execution. |
siteVersion | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property siteVersion: The version number of the site configuration. |
siteIdRequired
public java.lang.Object getSiteId();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property siteId: The site ID, which can be obtained by calling the ListSites API.
enableOptional
public java.lang.Object getEnable();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property enable: Indicates whether the image transformations feature is enabled.
Valid values: on: Enabled. off: Disabled.
paymentTypeOptional
public java.lang.Object getPaymentType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property paymentType: Payment Type.
ruleOptional
public java.lang.Object getRule();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property rule: Rule content, using conditional expressions to match user requests.
When adding global configuration, this parameter does not need to be set. There are two usage scenarios: Match all incoming requests: value set to true Match specified request: Set the value to a custom expression, for example: (http.host eq "video.example.com").
ruleEnableOptional
public java.lang.Object getRuleEnable();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ruleEnable: Rule switch.
When adding global configuration, this parameter does not need to be set. Value range: on: Enabled. off: Disabled.
ruleNameOptional
public java.lang.Object getRuleName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ruleName: Rule name.
When adding global configuration, this parameter does not need to be set.
sequenceOptional
public java.lang.Object getSequence();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property sequence: Order of rule execution.
The smaller the value, the higher the priority for execution.
siteVersionOptional
public java.lang.Object getSiteVersion();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property siteVersion: The version number of the site configuration.
For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.