com.baidubce.services.cdn.model.domain
Class ClientIp
java.lang.Object
com.baidubce.services.cdn.model.JsonObject
com.baidubce.services.cdn.model.domain.ClientIp
public class ClientIp
- extends JsonObject
create by changxing01 on 19/8/27
ClientIp
public ClientIp()
isEnabled
public boolean isEnabled()
- Returns:
- enabled
setEnabled
public void setEnabled(boolean enabled)
- Parameters:
enabled - Whether to turn on IP single node access limit
withEnabled
public ClientIp withEnabled(boolean enabled)
- Parameters:
enabled - Whether to turn on IP single node access limit
- Returns:
- this object
getName
public String getName()
- Returns:
- name
setName
public void setName(String name)
- Parameters:
name - ip type, 'True-Client-Ip' or 'X-Real-IP'
withName
public ClientIp withName(String name)
- Parameters:
name - ip type, 'True-Client-Ip' or 'X-Real-IP'
- Returns:
- this object
Copyright © 2020. All rights reserved.