RosCacheRule
This class is a base encapsulation around the ROS resource type ALIYUN::ESA::CacheRule.
Initializers
import com.aliyun.ros.cdk.esa.RosCacheRule;
RosCacheRule.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
.siteId(java.lang.Number)
.siteId(IResolvable)
// .additionalCacheablePorts(java.lang.Number)
// .additionalCacheablePorts(IResolvable)
// .browserCacheMode(java.lang.String)
// .browserCacheMode(IResolvable)
// .browserCacheTtl(java.lang.Number)
// .browserCacheTtl(IResolvable)
// .bypassCache(java.lang.String)
// .bypassCache(IResolvable)
// .cacheDeceptionArmor(java.lang.String)
// .cacheDeceptionArmor(IResolvable)
// .cacheReserveEligibility(java.lang.String)
// .cacheReserveEligibility(IResolvable)
// .checkPresenceCookie(java.lang.String)
// .checkPresenceCookie(IResolvable)
// .checkPresenceHeader(java.lang.String)
// .checkPresenceHeader(IResolvable)
// .edgeCacheMode(java.lang.String)
// .edgeCacheMode(IResolvable)
// .edgeCacheTtl(java.lang.Number)
// .edgeCacheTtl(IResolvable)
// .edgeStatusCodeCacheTtl(java.lang.String)
// .edgeStatusCodeCacheTtl(IResolvable)
// .includeCookie(java.lang.String)
// .includeCookie(IResolvable)
// .includeHeader(java.lang.String)
// .includeHeader(IResolvable)
// .queryString(java.lang.String)
// .queryString(IResolvable)
// .queryStringMode(java.lang.String)
// .queryStringMode(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)
// .serveStale(java.lang.String)
// .serveStale(IResolvable)
// .siteVersion(java.lang.Number)
// .siteVersion(IResolvable)
// .sortQueryStringForCache(java.lang.String)
// .sortQueryStringForCache(IResolvable)
// .userDeviceType(java.lang.String)
// .userDeviceType(IResolvable)
// .userGeo(java.lang.String)
// .userGeo(IResolvable)
// .userLanguage(java.lang.String)
// .userLanguage(IResolvable)
.build();
| Name | Type | Description |
|---|---|---|
scope | com.aliyun.ros.cdk.core.Construct | - scope in which this resource is defined. |
id | java.lang.String | - scoped id of the resource. |
enableResourcePropertyConstraint | java.lang.Boolean | No description. |
siteId | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | No description. |
additionalCacheablePorts | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | No description. |
browserCacheMode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
browserCacheTtl | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | No description. |
bypassCache | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
cacheDeceptionArmor | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
cacheReserveEligibility | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
checkPresenceCookie | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
checkPresenceHeader | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
edgeCacheMode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
edgeCacheTtl | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | No description. |
edgeStatusCodeCacheTtl | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
includeCookie | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
includeHeader | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
queryString | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
queryStringMode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
rule | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
ruleEnable | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
ruleName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
sequence | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | No description. |
serveStale | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
siteVersion | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | No description. |
sortQueryStringForCache | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
userDeviceType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
userGeo | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
userLanguage | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
scopeRequired
- Type: com.aliyun.ros.cdk.core.Construct
scope in which this resource is defined.
idRequired
- Type: java.lang.String
scoped id of the resource.
enableResourcePropertyConstraintRequired
- Type: java.lang.Boolean
siteIdRequired
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
additionalCacheablePortsOptional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
browserCacheModeOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
browserCacheTtlOptional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
bypassCacheOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
cacheDeceptionArmorOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
cacheReserveEligibilityOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
checkPresenceCookieOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
checkPresenceHeaderOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
edgeCacheModeOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
edgeCacheTtlOptional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
edgeStatusCodeCacheTtlOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
includeCookieOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
includeHeaderOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
queryStringOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
queryStringModeOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
ruleOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
ruleEnableOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
ruleNameOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
sequenceOptional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
serveStaleOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
siteVersionOptional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
sortQueryStringForCacheOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
userDeviceTypeOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
userGeoOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
userLanguageOptional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Methods
| Name | Description |
|---|---|
toString | Returns a string representation of this construct. |
synthesize | Allows this construct to emit artifacts into the cloud assembly during synthesis. |
overrideLogicalId | Overrides the auto-generated logical ID with a specific ID. |
addCondition | No description. |
addCount | No description. |
addDeletionOverride | Syntactic sugar for addOverride(path, undefined). |
addDependsOn | Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. |
addDesc | No description. |
addMetaData | No description. |
addOverride | Adds an override to the synthesized ROS resource. |
addPropertyDeletionOverride | Adds an override that deletes the value of a property from the resource definition. |
addPropertyOverride | Adds an override to a resource property. |
addRosDependency | No description. |
applyRemovalPolicy | Sets the deletion policy of the resource based on the removal policy specified. |
fetchCondition | No description. |
fetchDesc | No description. |
fetchRosDependency | No description. |
getAtt | Returns a token for an runtime attribute of this resource. |
toString
public java.lang.String toString()
Returns a string representation of this construct.
synthesize
public void synthesize(ISynthesisSession session)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.
- Type: com.aliyun.ros.cdk.core.ISynthesisSession
The synthesis session.
overrideLogicalId
public void overrideLogicalId(java.lang.String newLogicalId)
Overrides the auto-generated logical ID with a specific ID.
- Type: java.lang.String
The new logical ID to use for this stack element.
addCondition
public void addCondition(RosCondition con)
- Type: com.aliyun.ros.cdk.core.RosCondition
addCount
public void addCount(java.lang.Number OR IResolvable count)
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
addDeletionOverride
public void addDeletionOverride(java.lang.String path)
Syntactic sugar for addOverride(path, undefined).
- Type: java.lang.String
The path of the value to delete.
addDependsOn
public void addDependsOn(RosResource target)
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.
- Type: com.aliyun.ros.cdk.core.RosResource
addDesc
public void addDesc(java.lang.String desc)
- Type: java.lang.String
addMetaData
public void addMetaData(java.lang.String key, java.lang.Object value)
- Type: java.lang.String
- Type: java.lang.Object
addOverride
public void addOverride(java.lang.String path, java.lang.Object value)
Adds an override to the synthesized ROS resource.
To add a property override, either use addPropertyOverride or prefix path with "Properties." (i.e. Properties.TopicName).
If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.
For example,
addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
would add the overrides
"Properties": {
"GlobalSecondaryIndexes": [
{
"Projection": {
"NonKeyAttributes": [ "myattribute" ]
...
}
...
},
{
"ProjectionType": "INCLUDE"
...
},
]
...
}
- Type: java.lang.String
The path of the property, you can use dot notation to override values in complex types.
Any intermdediate keys will be created as needed.
- Type: java.lang.Object
The value.
Could be primitive or complex.
addPropertyDeletionOverride
public void addPropertyDeletionOverride(java.lang.String propertyPath)
Adds an override that deletes the value of a property from the resource definition.
- Type: java.lang.String
The path to the property.
addPropertyOverride
public void addPropertyOverride(java.lang.String propertyPath, java.lang.Object value)
Adds an override to a resource property.
Syntactic sugar for addOverride("Properties.<...>", value).
- Type: java.lang.String
The path of the property.
- Type: java.lang.Object
The value.
addRosDependency
public void addRosDependency(java.lang.String target)
- Type: java.lang.String
applyRemovalPolicy
public void applyRemovalPolicy()
public void applyRemovalPolicy(RemovalPolicy policy)
public void applyRemovalPolicy(RemovalPolicy policy, RemovalPolicyOptions options)
Sets the deletion policy of the resource based on the removal policy specified.
- Type: com.aliyun.ros.cdk.core.RemovalPolicy
- Type: com.aliyun.ros.cdk.core.RemovalPolicyOptions
fetchCondition
public RosCondition fetchCondition()
fetchDesc
public java.lang.String fetchDesc()
fetchRosDependency
public java.util.List<java.lang.String> fetchRosDependency()
getAtt
public Reference getAtt(java.lang.String attributeName)
Returns a token for an runtime attribute of this resource.
Ideally, use generated attribute accessors (e.g. resource.arn), but this can be used for future compatibility in case there is no generated attribute.
- Type: java.lang.String
The name of the attribute.
Static Functions
| Name | Description |
|---|---|
isConstruct | Return whether the given object is a Construct. |
isRosElement | Returns true if a construct is a stack element (i.e. part of the synthesized template). |
isRosResource | Check whether the given construct is a RosResource. |
isConstruct
import com.aliyun.ros.cdk.esa.RosCacheRule;
RosCacheRule.isConstruct(java.lang.Object x)
Return whether the given object is a Construct.
- Type: java.lang.Object
isRosElement
import com.aliyun.ros.cdk.esa.RosCacheRule;
RosCacheRule.isRosElement(java.lang.Object x)
Returns true if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of instanceof to allow stack elements from different versions of this library to be included in the same stack.
- Type: java.lang.Object
isRosResource
import com.aliyun.ros.cdk.esa.RosCacheRule;
RosCacheRule.isRosResource(IConstruct construct)
Check whether the given construct is a RosResource.
- Type: com.aliyun.ros.cdk.core.IConstruct
Properties
| Name | Type | Description |
|---|---|---|
node | com.aliyun.ros.cdk.core.ConstructNode | The construct tree node associated with this construct. |
creationStack | java.util.List | No description. |
logicalId | java.lang.String | The logical ID for this stack element. |
stack | com.aliyun.ros.cdk.core.Stack | The stack in which this element is defined. |
ref | java.lang.String | Return a string that will be resolved to a RosTemplate { Ref } for this element. |
rosOptions | com.aliyun.ros.cdk.core.IRosResourceOptions | Options for this resource, such as condition, update policy etc. |
rosResourceType | java.lang.String | ROS resource type. |
attrAdditionalCacheablePorts | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrBrowserCacheMode | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrBrowserCacheTtl | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrBypassCache | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrCacheDeceptionArmor | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrCacheReserveEligibility | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrCacheRuleId | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrCheckPresenceCookie | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrCheckPresenceHeader | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrConfigType | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrEdgeCacheMode | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrEdgeCacheTtl | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrEdgeStatusCodeCacheTtl | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrIncludeCookie | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrIncludeHeader | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrQueryString | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrQueryStringMode | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrRule | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrRuleEnable | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrRuleName | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrSequence | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrServeStale | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrSiteVersion | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrSortQueryStringForCache | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrUserDeviceType | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrUserGeo | com.aliyun.ros.cdk.core.IResolvable | No description. |
attrUserLanguage | com.aliyun.ros.cdk.core.IResolvable | No description. |
enableResourcePropertyConstraint | java.lang.Boolean | No description. |
siteId | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | No description. |
additionalCacheablePorts | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | No description. |
browserCacheMode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
browserCacheTtl | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | No description. |
bypassCache | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
cacheDeceptionArmor | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
cacheReserveEligibility | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
checkPresenceCookie | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
checkPresenceHeader | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
edgeCacheMode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
edgeCacheTtl | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | No description. |
edgeStatusCodeCacheTtl | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
includeCookie | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
includeHeader | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
queryString | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
queryStringMode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
rule | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
ruleEnable | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
ruleName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
sequence | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | No description. |
serveStale | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
siteVersion | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | No description. |
sortQueryStringForCache | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
userDeviceType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
userGeo | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
userLanguage | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | No description. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node associated with this construct.
creationStackRequired
public java.util.List<java.lang.String> getCreationStack();
- Type: java.util.List
logicalIdRequired
public java.lang.String getLogicalId();
- Type: java.lang.String
The logical ID for this stack element.
The logical ID of the element is calculated from the path of the resource node in the construct tree.
To override this value, use overrideLogicalId(newLogicalId).
stackRequired
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this element is defined.
RosElements must be defined within a stack scope (directly or indirectly).
refRequired
public java.lang.String getRef();
- Type: java.lang.String
Return a string that will be resolved to a RosTemplate { Ref } for this element.
If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through Lazy.any({ produce: resource.ref }).
rosOptionsRequired
public IRosResourceOptions getRosOptions();
- Type: com.aliyun.ros.cdk.core.IRosResourceOptions
Options for this resource, such as condition, update policy etc.
rosResourceTypeRequired
public java.lang.String getRosResourceType();
- Type: java.lang.String
ROS resource type.
attrAdditionalCacheablePortsRequired
public IResolvable getAttrAdditionalCacheablePorts();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrBrowserCacheModeRequired
public IResolvable getAttrBrowserCacheMode();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrBrowserCacheTtlRequired
public IResolvable getAttrBrowserCacheTtl();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrBypassCacheRequired
public IResolvable getAttrBypassCache();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrCacheDeceptionArmorRequired
public IResolvable getAttrCacheDeceptionArmor();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrCacheReserveEligibilityRequired
public IResolvable getAttrCacheReserveEligibility();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrCacheRuleIdRequired
public IResolvable getAttrCacheRuleId();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrCheckPresenceCookieRequired
public IResolvable getAttrCheckPresenceCookie();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrCheckPresenceHeaderRequired
public IResolvable getAttrCheckPresenceHeader();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrConfigTypeRequired
public IResolvable getAttrConfigType();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrEdgeCacheModeRequired
public IResolvable getAttrEdgeCacheMode();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrEdgeCacheTtlRequired
public IResolvable getAttrEdgeCacheTtl();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrEdgeStatusCodeCacheTtlRequired
public IResolvable getAttrEdgeStatusCodeCacheTtl();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrIncludeCookieRequired
public IResolvable getAttrIncludeCookie();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrIncludeHeaderRequired
public IResolvable getAttrIncludeHeader();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrQueryStringRequired
public IResolvable getAttrQueryString();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrQueryStringModeRequired
public IResolvable getAttrQueryStringMode();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrRuleRequired
public IResolvable getAttrRule();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrRuleEnableRequired
public IResolvable getAttrRuleEnable();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrRuleNameRequired
public IResolvable getAttrRuleName();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrSequenceRequired
public IResolvable getAttrSequence();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrServeStaleRequired
public IResolvable getAttrServeStale();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrSiteVersionRequired
public IResolvable getAttrSiteVersion();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrSortQueryStringForCacheRequired
public IResolvable getAttrSortQueryStringForCache();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrUserDeviceTypeRequired
public IResolvable getAttrUserDeviceType();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrUserGeoRequired
public IResolvable getAttrUserGeo();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrUserLanguageRequired
public IResolvable getAttrUserLanguage();
- Type: com.aliyun.ros.cdk.core.IResolvable
enableResourcePropertyConstraintRequired
public java.lang.Boolean getEnableResourcePropertyConstraint();
- Type: java.lang.Boolean
siteIdRequired
public java.lang.Object getSiteId();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
additionalCacheablePortsOptional
public java.lang.Object getAdditionalCacheablePorts();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
browserCacheModeOptional
public java.lang.Object getBrowserCacheMode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
browserCacheTtlOptional
public java.lang.Object getBrowserCacheTtl();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
bypassCacheOptional
public java.lang.Object getBypassCache();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
cacheDeceptionArmorOptional
public java.lang.Object getCacheDeceptionArmor();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
cacheReserveEligibilityOptional
public java.lang.Object getCacheReserveEligibility();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
checkPresenceCookieOptional
public java.lang.Object getCheckPresenceCookie();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
checkPresenceHeaderOptional
public java.lang.Object getCheckPresenceHeader();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
edgeCacheModeOptional
public java.lang.Object getEdgeCacheMode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
edgeCacheTtlOptional
public java.lang.Object getEdgeCacheTtl();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
edgeStatusCodeCacheTtlOptional
public java.lang.Object getEdgeStatusCodeCacheTtl();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
includeCookieOptional
public java.lang.Object getIncludeCookie();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
includeHeaderOptional
public java.lang.Object getIncludeHeader();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
queryStringOptional
public java.lang.Object getQueryString();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
queryStringModeOptional
public java.lang.Object getQueryStringMode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
ruleOptional
public java.lang.Object getRule();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
ruleEnableOptional
public java.lang.Object getRuleEnable();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
ruleNameOptional
public java.lang.Object getRuleName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
sequenceOptional
public java.lang.Object getSequence();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
serveStaleOptional
public java.lang.Object getServeStale();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
siteVersionOptional
public java.lang.Object getSiteVersion();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
sortQueryStringForCacheOptional
public java.lang.Object getSortQueryStringForCache();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
userDeviceTypeOptional
public java.lang.Object getUserDeviceType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
userGeoOptional
public java.lang.Object getUserGeo();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
userLanguageOptional
public java.lang.Object getUserLanguage();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Constants
| Name | Type | Description |
|---|---|---|
ROS_RESOURCE_TYPE_NAME | java.lang.String | The resource type name for this resource class. |
ROS_RESOURCE_TYPE_NAMERequired
public java.lang.String getRosResourceTypeName();
- Type: java.lang.String
The resource type name for this resource class.