public class Scope extends Object
| Constructor and Description |
|---|
Scope(String action,
String bucket,
String region,
String sourcePrefix) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAction() |
String |
getCondition() |
String |
getEffect() |
String |
getResource()
it format as follows:"qcs::cos:ap-beijing:uid/1250000000:examplebucket-1250000000/*"
|
void |
isAllow(boolean isAllow)
isAllow is true that means allow, otherwise, deny
|
void |
setAction(String action) |
void |
setBucket(String bucket) |
void |
setCondition(String condition) |
void |
setRegion(String region) |
void |
setResourcePrefix(String sourcePrefix) |
public void setBucket(String bucket)
public void setRegion(String region)
public void setAction(String action)
public void setResourcePrefix(String sourcePrefix)
public void isAllow(boolean isAllow)
isAllow - public void setCondition(String condition)
public String getAction()
public String getEffect()
public String getResource()
public String getCondition()
Copyright © 2021. All rights reserved.