|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.services.lss.model.AntiLeech
public class AntiLeech
Reprsents the anti-leech settings. Currently only refer & single ip restriction are supported.
| Constructor Summary | |
|---|---|
AntiLeech()
|
|
| Method Summary | |
|---|---|
IP |
getIp()
Returns the IP |
Refer |
getRefer()
Returns the refer |
void |
setIp(IP ip)
Sets the IP. |
void |
setRefer(Refer refer)
Sets the refer |
String |
toString()
|
AntiLeech |
withIp(IP ip)
Sets the IP and returns this object |
AntiLeech |
withRefer(Refer refer)
Sets the refer and returns this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AntiLeech()
| Method Detail |
|---|
public Refer getRefer()
public void setRefer(Refer refer)
refer - the referpublic AntiLeech withRefer(Refer refer)
refer - the refer
public IP getIp()
public void setIp(IP ip)
ip - the IPpublic AntiLeech withIp(IP ip)
ip - the IP
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||