Class ForwardingRule

java.lang.Object
org.jclouds.googlecomputeengine.domain.ForwardingRule

public abstract class ForwardingRule extends Object
  • Method Details

    • id

      public abstract String id()
    • selfLink

      public abstract URI selfLink()
    • name

      public abstract String name()
    • description

      @Nullable public abstract String description()
    • creationTimestamp

      public abstract Date creationTimestamp()
    • region

      @Nullable public abstract URI region()
      null when representing a GlobalForwardingRules
    • ipAddress

      @Nullable public abstract String ipAddress()
      The external IP address that this forwarding rule is serving on behalf of. If this is a reserved address, the address must live in the same region as the forwarding rule. By default, this field is empty and an ephemeral IP is assigned to the ForwardingRule.
    • ipProtocol

      public abstract ForwardingRule.IPProtocol ipProtocol()
    • portRange

      @Nullable public abstract String portRange()
      If IPProtocol is TCP or UDP, packets addressed to ports in the specified range will be forwarded to backend. By default, this is empty and all ports are allowed.
    • target

      public abstract URI target()
      The URL of the target resource to receive the matched traffic. The target resource must live in the same region as this forwarding rule.
    • create

      public static ForwardingRule create(String id, URI selfLink, String name, String description, Date creationTimestamp, URI region, String ipAddress, ForwardingRule.IPProtocol ipProtocol, String portRange, URI target)