com.baidubce.services.cdn.model.domain
Class Compress
java.lang.Object
com.baidubce.services.cdn.model.JsonObject
com.baidubce.services.cdn.model.domain.Compress
public class Compress
- extends JsonObject
create by changxing01 on 19/8/28
Compress
public Compress()
isAllow
public boolean isAllow()
- Returns:
- allow
setAllow
public void setAllow(boolean allow)
- Parameters:
allow - Whether to enable page compression
withAllow
public Compress withAllow(boolean allow)
- Parameters:
allow - Whether to enable page compression
- Returns:
- this object
getType
public String getType()
- Returns:
- type
setType
public void setType(String type)
- Parameters:
type - compress type
withType
public Compress withType(String type)
- Parameters:
type - compress type
- Returns:
- this object
Copyright © 2020. All rights reserved.