public static class PostObjectRequest.Policy
extends java.lang.Object
详情请参考:POST Object中的 构造“策略”(Policy)
构造器和说明 |
---|
Policy() |
限定符和类型 | 方法和说明 |
---|---|
void |
addConditions(java.lang.String key,
java.lang.String value,
boolean isPrefixMatch) |
void |
addContentConditions(int start,
int end) |
java.lang.String |
content() |
void |
setExpiration(long endTimeMills) |
void |
setExpiration(java.lang.String formatEndTime) |
public void setExpiration(long endTimeMills)
public void setExpiration(java.lang.String formatEndTime)
public void addConditions(java.lang.String key, java.lang.String value, boolean isPrefixMatch) throws CosXmlClientException
public void addContentConditions(int start, int end)
public java.lang.String content()