com.baidubce.services.cdn.model
Class OriginPeer

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

public class OriginPeer
extends JsonObject

Author:
yixing

Constructor Summary
OriginPeer()
           
 
Method Summary
 String getHost()
           
 String getPeer()
           
 boolean isBackup()
           
 boolean isFollow302()
           
 void setBackup(boolean backup)
           
 void setFollow302(boolean follow302)
           
 void setHost(String host)
           
 void setPeer(String peer)
           
 OriginPeer withBackup(boolean backup)
           
 OriginPeer withFollow302(boolean follow302)
           
 OriginPeer withHost(String host)
           
 OriginPeer withPeer(String peer)
           
 
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

OriginPeer

public OriginPeer()
Method Detail

withPeer

public OriginPeer withPeer(String peer)

withHost

public OriginPeer withHost(String host)

withBackup

public OriginPeer withBackup(boolean backup)

withFollow302

public OriginPeer withFollow302(boolean follow302)

getPeer

public String getPeer()

setPeer

public void setPeer(String peer)

getHost

public String getHost()

setHost

public void setHost(String host)

isBackup

public boolean isBackup()

setBackup

public void setBackup(boolean backup)

isFollow302

public boolean isFollow302()

setFollow302

public void setFollow302(boolean follow302)


Copyright © 2018. All rights reserved.