Class ForwardingRules

All Implemented Interfaces:
Serializable

public class ForwardingRules extends Base
Represents DigitalOcean Load Balancer forwarding rule object
Since:
v2.11
Author:
Thomas Lehoux (https://github.com/tlehoux)
See Also:
  • Constructor Details

    • ForwardingRules

      public ForwardingRules()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Base
    • getEntryProtocol

      public Protocol getEntryProtocol()
      Returns:
      the entry protocol
    • setEntryProtocol

      public void setEntryProtocol(Protocol entryProtocol)
    • getEntryPort

      public Integer getEntryPort()
      Returns:
      the entry port
    • setEntryPort

      public void setEntryPort(Integer entryPort)
      Parameters:
      entryPort - the entry port to set
    • getTargetProtocol

      public Protocol getTargetProtocol()
      Returns:
      the target protocol
    • setTargetProtocol

      public void setTargetProtocol(Protocol targetProtocol)
      Parameters:
      targetProtocol - the target protocol to set
    • getTargetPort

      public Integer getTargetPort()
      Returns:
      the target port
    • setTargetPort

      public void setTargetPort(Integer targetPort)
      Parameters:
      targetPort - the target port to set
    • getCertificateId

      public String getCertificateId()
      Returns:
      the certificateId
    • setCertificateId

      public void setCertificateId(String certificateId)
      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