|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.services.bos.model.Condition
public class Condition
The Conditon For Bucket Acl and Bucket Lifecycle. conditonTime for Bucket Lifecycle, the time restrictions, Implemented by the defined dateGreaterThan. referer for Bucket Acl, Identifies the referer that is granted access permission. ipAddress for Bucket Acl, Identifies the ip that is granted access permission.
Constructor Summary | |
---|---|
Condition()
|
Method Summary | |
---|---|
List<String> |
getIpAddress()
Gets ipAddress of Bucket Acl, just for Bucket Acl json |
Referer |
getReferer()
Gets referer of Bucket Acl. |
Time |
getTime()
Gets time of Bucket Lifecycle. |
void |
setIpAddress(List<String> ipAddress)
Sets ipAddress of Bucket Acl, just for Bucket Acl json |
void |
setReferer(Referer referer)
Sets referer of Bucket Acl. |
void |
setTime(Time time)
Sets time of Bucket Lifecycle. |
String |
toString()
|
Condition |
withIpAddress(List<String> ipAddress)
Sets ipAddress of Bucket Acl, just for Bucket Acl json |
Condition |
withReferer(Referer referer)
Sets referer of Bucket Acl. |
Condition |
withTime(Time time)
Sets time of Bucket Lifecycle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Condition()
Method Detail |
---|
public Time getTime()
public void setTime(Time time)
time
- The time of Bucket Lifecycle.public Condition withTime(Time time)
time
- The time of Bucket Lifecycle.
public List<String> getIpAddress()
public void setIpAddress(List<String> ipAddress)
ipAddress
- The ipAddress of Bucket Acl.public Condition withIpAddress(List<String> ipAddress)
ipAddress
- The ipAddress of Bucket Acl.
public Referer getReferer()
public void setReferer(Referer referer)
referer
- The referer of Bucket Acl.public Condition withReferer(Referer referer)
referer
- The referer of Bucket Acl.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |