Package com.myjeeva.digitalocean.pojo
Class ForwardingRules
java.lang.Object
com.myjeeva.digitalocean.pojo.RateLimitBase
com.myjeeva.digitalocean.pojo.Base
com.myjeeva.digitalocean.pojo.ForwardingRules
- All Implemented Interfaces:
Serializable
Represents DigitalOcean Load Balancer forwarding rule object
- Since:
- v2.11
- Author:
- Thomas Lehoux (https://github.com/tlehoux)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetCertificateId(String certificateId) voidsetEntryPort(Integer entryPort) voidsetEntryProtocol(Protocol entryProtocol) voidsetTargetPort(Integer targetPort) voidsetTargetProtocol(Protocol targetProtocol) voidsetTlsPassthrough(boolean tlsPassthrough) toString()Methods inherited from class com.myjeeva.digitalocean.pojo.Base
getLinks, getMeta, setLinks, setMetaMethods inherited from class com.myjeeva.digitalocean.pojo.RateLimitBase
getRateLimit, setRateLimit
-
Constructor Details
-
ForwardingRules
public ForwardingRules()
-
-
Method Details
-
toString
-
getEntryProtocol
- Returns:
- the entry protocol
-
setEntryProtocol
-
getEntryPort
- Returns:
- the entry port
-
setEntryPort
- Parameters:
entryPort- the entry port to set
-
getTargetProtocol
- Returns:
- the target protocol
-
setTargetProtocol
- Parameters:
targetProtocol- the target protocol to set
-
getTargetPort
- Returns:
- the target port
-
setTargetPort
- Parameters:
targetPort- the target port to set
-
getCertificateId
- Returns:
- the certificateId
-
setCertificateId
- Parameters:
certificateId- the certificateId to set
-
isTlsPassthrough
public boolean isTlsPassthrough()- Returns:
- true if SSL encrypted traffic will be passed through to the backend Droplets
-
setTlsPassthrough
public void setTlsPassthrough(boolean tlsPassthrough) - Parameters:
tlsPassthrough- the tlsPassthrough to set
-