LIFECYCLE_STATUS_ENABLED
LIFECYCLE_STATUS_ENABLED
Class LifecycleRule
getActions() : array<mixed,\OSS\Model\LifecycleAction>
setActions(array<mixed,\OSS\Model\LifecycleAction> $actions)
array<mixed,\OSS\Model\LifecycleAction> | $actions |
__construct(string $id, string $prefix, string $status, array<mixed,\OSS\Model\LifecycleAction> $actions)
LifecycleRule constructor.
string | $id | 规则ID |
string | $prefix | 文件前缀 |
string | $status | 规则状态,可选[self::LIFECYCLE_STATUS_ENABLED, self::LIFECYCLE_STATUS_DISABLED] |
array<mixed,\OSS\Model\LifecycleAction> | $actions |