com.baidubce.services.cdn.model.dsa
Class DSARule

java.lang.Object
  extended by com.baidubce.services.cdn.model.JsonObject
      extended by com.baidubce.services.cdn.model.dsa.DSARule

public class DSARule
extends JsonObject

create by changxing01 on 19/8/28


Constructor Summary
DSARule()
           
 
Method Summary
 String getType()
           
 String getValue()
           
 void setType(String type)
           
 void setValue(String value)
           
 DSARule withType(String type)
           
 DSARule withValue(String value)
           
 
Methods inherited from class com.baidubce.services.cdn.model.JsonObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DSARule

public DSARule()
Method Detail

getType

public String getType()
Returns:
type

setType

public void setType(String type)
Parameters:
type - rule type

withType

public DSARule withType(String type)
Parameters:
type - rule type
Returns:
this object

getValue

public String getValue()
Returns:
value

setValue

public void setValue(String value)
Parameters:
value - config rule

withValue

public DSARule withValue(String value)
Parameters:
value - config rule
Returns:
this object


Copyright © 2020. All rights reserved.