类 AntiLeech
- java.lang.Object
-
- com.baidubce.services.lss.model.AntiLeech
-
- 所有已实现的接口:
Serializable
public class AntiLeech extends Object implements Serializable
Reprsents the anti-leech settings. Currently only refer & single ip restriction are supported.- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 AntiLeech()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 IPgetIp()Returns the IPRefergetRefer()Returns the refervoidsetIp(IP ip)Sets the IP.voidsetRefer(Refer refer)Sets the referStringtoString()AntiLeechwithIp(IP ip)Sets the IP and returns this objectAntiLeechwithRefer(Refer refer)Sets the refer and returns this object.
-
-
-
方法详细资料
-
getRefer
public Refer getRefer()
Returns the refer- 返回:
- the refer
-
setRefer
public void setRefer(Refer refer)
Sets the refer- 参数:
refer- the refer
-
withRefer
public AntiLeech withRefer(Refer refer)
Sets the refer and returns this object.- 参数:
refer- the refer- 返回:
- this object
-
getIp
public IP getIp()
Returns the IP- 返回:
- the IP
-
setIp
public void setIp(IP ip)
Sets the IP.- 参数:
ip- the IP
-
withIp
public AntiLeech withIp(IP ip)
Sets the IP and returns this object- 参数:
ip- the IP- 返回:
- this object
-
-